In that case, how do I find out if there were any exceptions during the execution of the target?

Stefan Bodewig wrote:

On Tue, 12 Oct 2004, Kelly Davis <[EMAIL PROTECTED]> wrote:



   project.executeTarget( "build" );

For some reason the buildStarted & buildFinished methods never seem
to get called, while the other methods do. Why might this be
happening?



because executeTarget doesn't fire them. When you run Ant from the command line, Main is responsible for these events. If you embed Ant as you do, you have to take care of them yourself as well.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to