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

           Summary: Expand property values ${foo} in <description>
           Product: Ant
           Version: 1.6.3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: [EMAIL PROTECTED]


This Ant code:

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

does not substitute "common" in the <description> text (it leaves ${pkg} there).

Of course this would be even better:

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

And using <property file="..."> would be logical too.

Why?  Please see my notes this date on related bug 1918.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to