ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19482] New: - Allow for properties to be used in (glob) mapper
Date Wed, 30 Apr 2003 14:58:06 GMT
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: dev@ant.apache.org
        ReportedBy: hauser@acm.org


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.

Mime
View raw message