dcsimg
Ant failonerror
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Matthew_Quinn
Posted On:   Monday, August 5, 2002 09:41 AM

All


I am using ant to do our nightly build. Portions of code require to be executed with different JDK's so I am executing some ant tasks with the EXEC task. When the compile task runs ... it fails. However, the failonerror task continues to execute the remaining lines of code in the target. The remaining lines of code set a variable to indicate that if the code has been executed, no exception has been thrown by the compile and therefore the task has completed fine. Can anyone give me some advice on how I can more appropriately monitor and set a value to detect if the exec task has worked ?


Many Thanks ! - Matthew

About | Sitemap | Contact