One of our tasks no longer works with milestone 2.  Is anyone aware of an 
intentional change that would have broken this, or is this a bug.
We have:
task deploy(description: 'Deploys the war to the webserver', type: Sync, 
dependsOn:[war])
deploy.doFirst {
   println "Deploying $war.baseName to ${getDeployLoc().canonicalPath}"
   from zipTree(war.archivePath)
   into getDeployLoc()
}

getDeployLoc is a helper method that needs to be only run if the deploy task is 
run, so we don't want to call it during the configuration phase.

This worked fine in milestone 1, but in milestone 2 I get "Skipping task 
':deploy' as it has no source files."

--
Steve Appling
Automated Logic Research Team





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

    http://xircles.codehaus.org/manage_email


Reply via email to