ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Soesemann" <rsoesem...@sapient.com>
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"/>
	</fileset>
	<mapper type="glob" from="*.htm*" to="*.xhtml"/>
</copy>	

Best regards,

Robert

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message