I was getting corrupted binaries as well, I got around it using fixcrlf.
For some reason it was putting end of line characters in the binary.
<fixcrlf srcDir="${webapp.dir}/img" destDir="${build.war}/img" cr="asis"
tab="asis" eof="asis"/>
Josh Kleinpeter, Software Engineer, Earthlink, Inc
a: kleinpeterj # lost in endless loops
@: corp.earthlink.net # imprisoned by old programs
p: 626.296.5213 # whirling ball of doom
>-----Original Message-----
>From: Gerald E. Bennett [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, November 20, 2001 11:05 AM
>To: 'Ant Users List'
>Subject: RE: Copy Task with gif files on Windows machine
>
>
>I am still getting the same problem.
>I have changed my statement to:
>
><copy filtering="on" overwrite="false"
>todir="${build.dest}/junit/runtime/defaults/">
> <fileset dir="${build.src}/junit/runtime/defaults/"
>includes="**/*.properties"/>
></copy>
><copy filtering="on" overwrite="false"
>todir="${build.dest}/junit/utils">
> <fileset dir="${build.src}/junit/utils"
>includes="**/*.properties"/>
></copy>
><copy todir="${build.dest}/icons">
> <fileset dir="${build.src}/clients/jdriver/icons"
>includes="**/*.gif"/>
></copy>
>
>I think internally there is something incorrect happening.
>What form of copy does ant use ?
>Could this be what is causing the problem ?
>
>Thanks
>
>-----Original Message-----
>From: STEPHENSON, Jill [mailto:[EMAIL PROTECTED]]
>Sent: Monday, November 19, 2001 10:53 PM
>To: 'Ant Users List'
>Subject: RE: Copy Task with gif files on Windows machine
>
>
>I have used copy successfully for images. However, I don't specify
>filtering or overwrite. It almost sounds like the filtering is having
>an adverse effect by editing and corrupting your files, try taking it
>off
>as you are not using it anyway and that is the default.
>
>--
>Jill
>
>> -----Original Message-----
>> From: Gerald E. Bennett [SMTP:[EMAIL PROTECTED]]
>> Sent: Tuesday, November 20, 2001 2:33 PM
>> To: [EMAIL PROTECTED]
>> Subject: Copy Task with gif files on Windows machine
>>
>> Hi all
>> I have the following task which copies gif files from one location to
>> another:
>>
>> <copy filtering="false" overwrite="false"
>todir="${build.dest}/icons">
>> <fileset dir="${build.src}/clients/jdriver/icons"
>> includes="**/*.gif"/>
>> </copy>
>>
>> However when this is completed the gif files are not correct. When I
>> view them with my viewer the complete image is black.
>>
>> Anyone know what I might be doing wrong ?
>> How can I fix this such that the ant can build the release
>correctly ?
>>
>> Thanks
>>
>>
>> --
>> To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>> For additional commands, e-mail:
>> <mailto:[EMAIL PROTECTED]>
>
>---------------------------------------------------------------
>---------
>-----------
>
>The contents of this message are the views of the Author and do not
>necessarily reflect the views of SUNCORP METWAY LTD ABN 66
>010 831 722.
>
>
>The content of this e-mail, including attachments is a confidential
>communication between the Suncorp Metway Group and the intended
>addressee. Any unauthorised use of the contents is expressly
>prohibited.
>If you have received this e-mail in error please contact the sender
>immediately and then delete the message and any attachment(s).
>
>http://www.suncorpmetway.com.au
>
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>
>
>--
>To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>