ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "O'Hara, Patrick" <patrick.oh...@workscape.com>
Subject RE: Copying gif files
Date Mon, 02 Jul 2001 12:56:03 GMT
It is probably a mistake to filter a gif file.  global search and replace on
binary files is usually a bad idea.

Patrick O'Hara
262-408-3849
patrick.ohara@workscape.com




-----Original Message-----
From: Gerald E. Bennett [mailto:mraruba@austin.rr.com]
Sent: Saturday, June 30, 2001 12:05 PM
To: ant-user@jakarta.apache.org
Subject: Copying gif files


Hi everyone,
Somehow when I copy gif files to my
classes dir before building the jar
all these files are mangled.

Is there something special that I need to do or how can I fix this problem ?

here is the code that I use:

<copy todir="${build.dest}" filtering="on">
	<fileset dir="${build.src}" includes="**/*.properties"/>
</copy>
<copy todir="${build.dest}" filtering="on">
	<fileset dir="${build.src}" includes="**/*.properties"/>
</copy>
<copy todir="${build.dest}/icons" filtering="on">
	<fileset dir="${build.src}/icons" includes="**/*.gif"/>
</copy>


Thanks everyone

Mime
View raw message