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/05/10 21:13:08 UTC
DO NOT REPLY [Bug 28884] New: -
Keep the properties set after or .
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=28884>.
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=28884
Keep the properties set after <ant> or <antcall>.
Summary: Keep the properties set after <ant> or <antcall>.
Product: Ant
Version: 1.7Alpha (nightly)
Platform: All
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: Core tasks
AssignedTo: dev@ant.apache.org
ReportedBy: adagoubard@chello.nl
At the moment if you have a target that define some properties, the only way to
call it in order to get the values is by using "depends".
If you use <ant> or <antcall> all properties set in the target are local.
That's why it would be nice to have a "keepProperties" (or whatever) attribute
to the <ant> and <antcall> task.
Example:
<antcall target="define-versions" keepProperties="true"/>
This feature has been discussed on Ant developer mailing list at
http://marc.theaimsgroup.com/?t=108369006500001&r=1&w=2
Note that Dale Anson mailed at
http://marc.theaimsgroup.com/?l=ant-dev&m=108377046631849&w=2
that already several tasks exist in AntContrib and Antelop to perform this feature.
This means that there is a real need for this functionality.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org