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
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
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
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() )