ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Akins <gak...@insomnia-consulting.org>
Subject Failing a "Successful" build
Date Tue, 13 Sep 2005 13:03:24 GMT
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.

Any help is greatly appreciated.

Greg Akins
Insomnia Consulting
www.insomnia-consulting.org

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message