ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicholas <nwhit...@yahoo.com>
Subject BuildListener in 1.5.4 Has Empty Project In Event On BuildStarted ?
Date Tue, 24 Feb 2004 13:01:06 GMT
I am debugging a build listener I wrote for our
central build system and it looks like Ant fires off
the buildStarted event with a project that is not
fully intialized. i.e. The project name and
description, as well as the properties are all null.

Can anyone verify that this is the case ?

Any fix or work around ?

Thanks.

//Nicholas

Example:

  public void buildStarted(BuildEvent event) {
    LOG.info("Build Started:" +
event.getProject().getName());
  }

Prints:

INFO  [2004-02-24 07:58:28,919]: Build Started:null


=====
Nicholas Whitehead
Home: (973) 377 9335
Cell: (201) 615 2716
nwhitehe@yahoo.com
Get Your News From The Crowbar: http://crowbar.dnsalias.com:443/crowbar/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message