carry the info and have Main extract it from the exception to Exit. You should definitely not be calling System.Exit in the task.
Conor
Matt Benson wrote:
While that's essentially a nice idea, the only thing <fail> currently does is throw a BuildException... how do you propose to pass this status all the way out of the JVM, especially when you really can't be sure whose main method is the starting point... usu. oata.launch.Launcher--which incidentally doesn't even call System.exit() itself... IIRC calling System.exit() would be a de-evolution of Ant...
-Matt
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]