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 2005/05/09 21:20:39 UTC

DO NOT REPLY [Bug 34823] - Expand property values ${foo} in

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=34823>.
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=34823





------- Additional Comments From michael.cepek@spanlink.com  2005-05-09 21:20 -------
Silly boy, just use this documented existing feature of Ant:

  <project name="common" default="usage" basedir="..">
  <description>
  Build script for the com.spandex.xyz.{$ant.project.name} package
  </description>

In your case the project name and the property you desired were the same, so
this should work.

HOWEVER, the following doesn't work:

  <project name="common" default="usage" basedir="..">
  <property file="common.properties"/>
  <description>
  Build script for the ${PROJ_ROOT}.{$ant.project.name} package
  </description>

That is what this feature request is now for.


-- 
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