ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 1509] - Project object not fully functional in BuildEvents
Date Wed, 01 Aug 2001 14:27:32 GMT
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1509

*** shadow/1509	Sun May 20 17:26:08 2001
--- shadow/1509.tmp.22362	Wed Aug  1 07:27:32 2001
***************
*** 1,19 ****
! Bug#: 1509
! Product: Ant
! Version: 1.3
! Platform: PC
! OS/Version: Windows NT/2K
! Status: ASSIGNED   
! Resolution: 
! Severity: Normal
! Priority: Medium
! Component: Core
! AssignedTo: ant-dev@jakarta.apache.org                            
! ReportedBy: arosen@silverstream.com               
! URL: 
! Cc: 
! Summary: Project object not fully functional in BuildEvents
! 
  For example, in the buildStarted() method of my logger, getName(), 
  getDefaultTarget(), and getUserProperty("ant.file") on the project object all 
  return null. 
--- 1,19 ----
! +============================================================================+
! | Project object not fully functional in BuildEvents                         |
! +----------------------------------------------------------------------------+
! |        Bug #: 1509                        Product: Ant                     |
! |       Status: RESOLVED                    Version: 1.3                     |
! |   Resolution: WONTFIX                    Platform: PC                      |
! |     Severity: Normal                   OS/Version: Windows NT/2K           |
! |     Priority: Medium                    Component: Core                    |
! +----------------------------------------------------------------------------+
! |  Assigned To: ant-dev@jakarta.apache.org                                   |
! |  Reported By: arosen@silverstream.com                                      |
! |      CC list: Cc:                                                          |
! +----------------------------------------------------------------------------+
! |          URL:                                                              |
! +============================================================================+
! |                              DESCRIPTION                                   |
  For example, in the buildStarted() method of my logger, getName(), 
  getDefaultTarget(), and getUserProperty("ant.file") on the project object all 
  return null. 
***************
*** 60,62 ****
--- 60,69 ----
  In the last case, the workaround is to defer access to the Project until you 
  receive the first targetStarted event. 
  
+ 
+ ------- Additional Comments From conor@cortexebusiness.com.au  2001-08-01 07:27 -------
+ OK, I am going for option 3 - don't change anything. To add a new method to the 
+ interface would break all existing listeners which would not be cool. So the 
+ workaround is the best way to go - ignore buildStarted and use the first other 
+ event to get the project information. You may want to use targetStarted, but 
+ other events may be received before the first on eof those.
\ No newline at end of file

Mime
View raw message