You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/01/08 21:14:19 UTC

DO NOT REPLY [Bug 25998] New: - PropertyHelper - getPropertyHelper method should call setProject on a retrieved helper

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25998>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

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

PropertyHelper - getPropertyHelper method should call setProject on a retrieved helper

           Summary: PropertyHelper - getPropertyHelper method should call
                    setProject on a retrieved helper
           Product: Ant
           Version: 1.6.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: stimm@proclarity.com


I'm deriving a class from PropertyHelper to use via the ant.PropertyHelper 
reference.  I'm doing a quick code check, and while the static 
getPropertyHelper method of PropertyHelper gets called to return the reference, 
the setProject method is never called on the reference if it is found, so I'm 
not sure if I even have access to the project...

Note that setProject *does* get called if a reference isn't found and a new 
PropertyHelper instance is created.

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