ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41127] - Need getter for oata.taskdefs.Ant.newProject
Date Thu, 07 Dec 2006 20:12:02 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41127>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41127





------- Additional Comments From ddevienne@gmail.com  2006-12-07 12:12 -------
I believe that I hack I've presented would suffise, but not knowing the
specifics of what you are doing, I could be wrong, especially since I was
writting an AntReturn task, that got access to properties and references from
the sub-project, to inject them back into the parent project (Ant-Contrib has
the same thing, but as a copy-paste of Ant, unlike my version).

The _newProject is populated by the call to createProperty with the subproject
before it is run, so you could have done your reference injection at this point.
But in any case, having a protected getNewProject() is cleaner, although I
wonder what kind of "hacks" you'll be using it ;-) What I was doing was not
exactly kosher either ;-))) --DD

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message