On Mon, 2009-07-20 at 12:17 +0100, Russel Winder wrote:

>       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.

If I have:

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


Then I get the error:

        Cause: You can't change a configuration which is not in
        unresolved state!

So clearly the extra parentheses around the expression are critical
semantically for some reason.

-- 
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