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 8988] - global property inside a target
Date Sat, 11 May 2002 14:16:12 GMT
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=8988>.
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=8988

global property inside a target





------- Additional Comments From j_a_fernandez@yahoo.com  2002-05-11 14:16 -------
I think the functionality would be nice (ie, being able to pass values back) 
but I hate the proposed means. I would suggest a different way of specifying it.

<ant ......>
  <returns property='subProjectProperty'/>
  <returns prefix='propSet.'/>
</ant>

Same for <antcall>. Here the caller expresses which properties from
the subproject it wants to be passed back into its own properties. 
The prefix attribute allows returning all properties with a particular pattern.

Maybe we should allow an optional "as" attribute:

  <returns property='subProjectProperty' as='mypropname'/>

which would allow you to rename the property on the way back (in case
you use the same <ant(call)> several times. 

Implementation wise these would only affect <ant>/<antcall> no need
to touch anything else. I could prototype the change and submit it
for consideration if there is a glimer of hope on being accepted :-)

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


Mime
View raw message