Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Confirming a compile has completed? 1

Status
Not open for further replies.

CaptainBob007

Programmer
Dec 20, 2003
42
0
0
US
Hi -

I'm working on making a database to track nightly builds with ant, and am trying to figure out a way to log whether or not all files compiled successfully. This wouldn't be that hard if the javac task had a 'errorproperty' or 'ailureproperty' attribute, but from my readings, it does not. I know there is the 'failonerror' property for javac, but I don't want the build to completely halt if the compile doesn't work, because I would still need it to append the data (that it failed) to the log. Is there any way I can set a property to true or false depending on if my code compiles correctly or not? Thanks a bunch for the help.

~Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top