ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Ashby <>
Subject Case sensitivity in mapper element
Date Mon, 20 Sep 2004 14:35:14 GMT
	I'm trying to use copy to rename user/machine-specific files to the actual 
file names as follows:

    <copy todir="d:/test">
    	<fileset casesensitive="false"
    		<include name="**/*.xml.${env.COMPUTERNAME}" />
    	<mapper type="glob" from="*.${env.COMPUTERNAME}" to="*.bak" />

	The env.COMPUTERNAME property isn't case sensitive and so this doesn't 
give a match if the file extension is a different case.

	This occurs on windows and linux.


Christian Ashby
Spiralinks, Inc.

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

View raw message