midnec
2009-07-29 20:20:04 UTC
I love gradle, but I have hit a problem. I am trying to execute an ant
target in a build.xml file from gradle.
When I execute the task from ant, it works. From gradle it does not work.
The build.gradle just imports the ant script (it is a sub-project). The ant
task uses an optional ant task (sshexec). The error is that ant can't find
the jar for the optional component.
The last wrinkle is that I would like to be able to use gradlew, but this is
not a hard requirement. I have the jar I need, but I cannot figure out how
to get antbuilder to see it.
I have read through the manual (sec 30.3. Ant optional dependencies in
particular), searched the web, but I can't find a solution. The closest
thing I have found referred to an ftp task, but I can't translate that into
a solution for my problem.
Thanks
target in a build.xml file from gradle.
When I execute the task from ant, it works. From gradle it does not work.
The build.gradle just imports the ant script (it is a sub-project). The ant
task uses an optional ant task (sshexec). The error is that ant can't find
the jar for the optional component.
The last wrinkle is that I would like to be able to use gradlew, but this is
not a hard requirement. I have the jar I need, but I cannot figure out how
to get antbuilder to see it.
I have read through the manual (sec 30.3. Ant optional dependencies in
particular), searched the web, but I can't find a solution. The closest
thing I have found referred to an ftp task, but I can't translate that into
a solution for my problem.
Thanks
--
View this message in context: http://www.nabble.com/optional-task-in-ant-build.xml-tp24726793p24726793.html
Sent from the gradle-user mailing list archive at Nabble.com.
View this message in context: http://www.nabble.com/optional-task-in-ant-build.xml-tp24726793p24726793.html
Sent from the gradle-user mailing list archive at Nabble.com.