Hello,

I tried to extend a task, where I collect things for the installer, by an 
archive action, but that failed with:

error "Could not find method jar() for arguments"

task myTask << {
        def files = ... collect ...

        copy {
                from files
                into  myTempDir
        }
        ...

        jar {
                basename 'testArchive'
                from myTempDir
        }
}

Is that function-style task (?) only available for 'copy' or what am I 
missing?

kind regards

Geronimo


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to