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 2003/11/20 16:09:37 UTC
DO NOT REPLY [Bug 24083] -
Properties issue
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=24083>.
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=24083
Properties issue
peter.reilly@corvil.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
------- Additional Comments From peter.reilly@corvil.com 2003-11-20 15:09 -------
I think that he is assumming that the second property should
be seen as value="${${ant.project.name}.cvstag}"
winding up with "${lib.cvstag}" or "release1-5".
This is not the way property subs work - use
ant-contrib propertycopy for this feature.
<project basedir="." default="all" name="lib">
<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
<property file="p.props"/>
<target name="all">
<property name="cvs.tag.name" value="${ant.project.name}.cvstag"/>
<propertycopy name="cvs.tag.value.doeswork" from="${cvs.tag.name}"/>
<property name="cvs.tag.value.works" value="${lib.cvstag}"/>
<echo message="CVS tag is ===> ${cvs.tag.value.doeswork}"/>
<echo message="CVS tag is ===> ${cvs.tag.value.works}"/>
</target>
</project>
Marking as wontfix
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org