ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: Failing a "Successful" build
Date Tue, 13 Sep 2005 15:46:42 GMT
Greg Akins wrote:
> I am developing some Eclipse Plugins.
> Because of Eclipse Plugin architecture, the Ant files to build the project need
> to be run from Eclipse's antRunner
> So my Ant build file includes a <java> task to call Eclipse and launch antRunner.
> Consequenty, if the core build.xml that antRunner is executing fails, I get a
> "BUILD FAILED" message to the console.
> However, the <java> task will have executed successfully and the wrapping ant
> build will show "BUILD SUCCESS"
> Anyone have some advice for capturing that failure (I'm running from
> CruiseControl which is why I need to capture this in a "wrapping" build.

if you want the nested failure to propagate, set failonerror="true" in 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message