Title: RE: Copying gif files

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
[EMAIL PROTECTED]




-----Original Message-----
From: Gerald E. Bennett [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 30, 2001 12:05 PM
To: [EMAIL PROTECTED]
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

Reply via email to