Nico Seessle wrote:
> Your buildfile does not exit with "build failed" in this case?
No it doesn't - because I explicitly have failonerror set to No.
I'm using ANT to do completely unattended builds of more than 70
distinct applications - I can't abort the build of the last 50 just
because #19 doesn't compile.
What I need is to be able to detect whether the build worked and take
appropriate action - in this case, generating different messages for the
log file.
At present I do this by detecting whether the appropriate output file
was created, but this is a hack. Being able to work directly from the
result code of the compiler would be ideal.
Cheers,
Bevan.
--
_______________________________________________________________________
Bevan Arps, OO Analyst email: [EMAIL PROTECTED]
ACT Financial Systems "Programming is an Art Form that Fights Back"
***********************************************************************
This communication is confidential to ACT Financial Systems (Asia
Pacific) and is intended for use only by the addressee. The views
and opinions expressed in this email are the senders own and do not
represent the views and opinions of ACT Financial Systems (Asia
Pacific).
***********************************************************************