ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Soesemann" <>
Subject Replace extension with mapper
Date Thu, 03 Feb 2005 10:40:44 GMT
While copy HTML files (*.htm or *.html) to another folder, I want to
rename the extension of all those files to *.xhtml.

I tried this, but it didn't work. Can you help?	

<copy todir="${regexp_dir}">
	<fileset dir="${html_dir}">
		<include name="**/*.htm"/>
		include name="**/*.html"/>
	<mapper type="glob" from="*.htm*" to="*.xhtml"/>

Best regards,


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message