Just with a Short Look at your snippet, I think you need to replace the includes line with a from statement. Running the build with -i flag gives some more india about the up-to-date check on your task.
Regards, Rene René Gröschke @breskeby On 05.04.2012, at 01:02, Neil Chaudhuri <[email protected]> wrote: > I am generating a tar ball from a war file like so: > > task buildTarball(type: Tar) { > destinationDir file(outputDirName) > compression Compression.GZIP > includes ["${buildDir}/*.war"] > } > > When I run this, I keep finding > > :project:buildTarball UP-TO-DATE > > There is no tar ball, so I don't know why this occurs. What are the criteria > for determining whether a Tar task is up-to-date? Any insight into how I > should rewrite my task is appreciated. > > Thanks. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
