Peter, Are you suggesting that task.execute() would work in this case if the task had the right configuration? In my experience, task.execute() rarely does what I want because it doesn't honor dependencies, but I don't see any depends in this case, so you probably are correct.
On Tue, Apr 26, 2011 at 5:57 AM, Peter Niederwieser <[email protected]>wrote: > > Like any other task type, "Tar" defines an action that gets run when > execute() is called. However, "Tar" doesn't have a "destination()" method > (at least not in 1.0-m2). Instead you should use the "destinationDir" > property: > > task myTar(type: Tar) { > .. > destinationDir = buildDir > .. > } > -- John Murph Automated Logic Research Team
