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

Allow for properties to be used in (glob) mapper

           Summary: Allow for properties to be used in (glob) mapper
           Product: Ant
           Version: 1.5.1
          Platform: Other
               URL: http://ant.apache.org/manual/CoreTypes/mapper.html
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I would like to specify the glob pattern depending on a property:
          <copy todir="${basedir}">
              <fileset dir="${basedir}"/>
                 <mapper type="glob" from="*_${default_sitelang}.jsp"
                         to="*.jsp"/>
          </copy>

==> only
                 <mapper type="glob" from="*_en.jsp"
seems to work.

It would be great to have this feature or at least issue a warning in the above
referenced manual page.

Reply via email to