ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Schabl <>
Subject Renaming files during copy
Date Mon, 25 Aug 2008 10:28:42 GMT

The following target copies and renames files as expected,
but also creates emtpy directories named "somedir.deploy".
How can i make sure, that only files get renamed during copy?

	<target name="copy"
		description="copies and packages files">

		<copy todir="${update.files.dir}" preserveLastModified="true">
			<fileset dir="${deploy.dir}" casesensitive="false">
				<different targetdir="${update.last.dir}" ignoreFileTimes="true" />
			<globmapper from="*.*" to="*.deploy"/>

Thanks and Regards,
Paul Schabl

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

View raw message