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/07/02 15:51:41 UTC
DO NOT REPLY [Bug 17782] -
expandproperties not substituting within same file
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=17782>.
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=17782
expandproperties not substituting within same file
------- Additional Comments From peter.reilly@corvil.com 2003-07-02 13:51 -------
Why not use Property#addProperties(Properties) at
LoadProperties#execute() line 178 instead of directly placing
the properties directly in the project.
Property#addProperties() calls Property#resolveProperties()
which is nearly equivalent to <expandproperties/> but using
the new properties as well as the current properties (I think).
This would mean that
<property file="x.props"/> and <loadproperties srcfile="x.props"/>
do the same things.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org