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 <java>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to