-
1
- #1
CaptainBob007
Programmer
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
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