On Mon, 2009-07-20 at 12:45 +0200, Hans Dockter wrote:
[ . . . ]
> One bracket needs to be at a different place and the as clause is not  
> needed:
> 
> files ( new File ( coberturaHome , 'jar' ) .listFiles ( [ accept :  
> { File dir , String name -> ( name =~ '\\.jar$' ).find ( ) } ] as  
> FilenameFilter ))

Thanks for trying, but didn't work :-(

I now have :

        classpath files ( new File ( coberturaHome , 'jar' ) ).listFiles ( [ 
accept : { File dir , String name -> ( name =~ '\\.jar$' ).find ( ) } ] as 
FilenameFilter )

and it gives me the same error as before.

-- 
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: [email protected]
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:[email protected]
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to