Hello,
A custom task that uses ant task works fine with 0.9-preview-3. In rc-1 it
fails:
Execution failed for task ':serviceJar'.
Cause: taskdef class org.jini.rio.tools.ant.ClassDepAndJarTask cannot be
found
lib dependency defines:
compile module('rioproject:rio:4.0') {
dependency(':rio:4.0') {
artifact { name = 'classdepandjar'; type = 'jar' }
....
Its usage is:
task serviceJar << {
ant.taskdef(
name: "classdepandjar",
classname: "org.jini.rio.tools.ant.ClassDepAndJarTask",
classpath: configurations.compile.asPath + ':' +
compileJava.destinationDir+ ':' + compileTestJava.destinationDir)
ant.classdepandjar(
...
Release info mentions nothing on this:
http://gradle.1045684.n5.nabble.com/ANN-Gradle-0-9-rc-1-released-td2263741.html
If the lib containing ClassDepAndJarTask is put under testRuntime an other
error appears, that reports missing classes which otherwise present in
compileJava.destinationDir.
Any idea how to solve this?
Thanks!
--
View this message in context:
http://gradle.1045684.n5.nabble.com/0-9-rc1-regression-in-ant-task-tp2796760p2796760.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email