blackwolf wrote:
> 
> I'm invoking an Ant task from inside a Gradle task. How can I check if the
> Ant task failed or not? Right now, the build process goes on even if the
> Ant task fails. In case it matters, my Ant task runs
> com.sun.tools.ws.ant.WsImport.
> 

I suspect the Ant task isn't really failing (i.e. throwing an exception) but
just logging an error message. How to get it to fail is a question specific
to that Ant task. Sounds similar to this:
http://bugs.sun.com/view_bug.do;jsessionid=3a76c2c7f33c921a03310a63c119?bug_id=6370592

--
Peter Niederwieser
Principal Engineer, Gradleware 
http://gradleware.com
Creator, Spock Framework 
http://spockframework.org
Twitter: @pniederw




--
View this message in context: 
http://gradle.1045684.n5.nabble.com/How-to-check-if-an-ant-task-failed-tp4923147p4927338.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


Reply via email to