Re: buildStarted & buildFinished events not happening

2004-10-13 Thread Stefan Bodewig
On Wed, 13 Oct 2004, Kelly Davis <[EMAIL PROTECTED]> wrote: > In that case, how do I find out if there were any exceptions during > the execution of the target? excuteTarget will throw it. Stefan - To unsubscribe, e-mail: [EMAIL

Re: buildStarted & buildFinished events not happening

2004-10-13 Thread Kelly Davis
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 cal

Re: buildStarted & buildFinished events not happening

2004-10-13 Thread Stefan Bodewig
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 y

buildStarted & buildFinished events not happening

2004-10-12 Thread Kelly Davis
I have the following code running against Ant 1.6.2: Project project = new Project(); project.init(); project.setUserProperty( "base.dir", new File( rootDir ).getAbsolutePath() ); project.setUserProperty( "ant.file", new File( new File( rootDir ), buildFile ).getAbsolutePath() )