You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Willie Wheeler <ww...@andrew.cmu.edu> on 2000/07/28 23:50:41 UTC

Garbled images, second post

Hi all,

	I'm asking the question again since I've not heard an answer, since it's a
big deal, and someone on the Cocoon list is having the same experience with
Ant-garbled images.  Problem: Ant trashes the images when you build a web
app target.  Changes the file size, and when you try to view them in a
browser you get garbage.  Does anybody know what's happening?

	Thanks,
	Willie


Re: Garbled images, second post

Posted by Stefan Bodewig <bo...@bost.de>.
>>>>> "WW" == Willie Wheeler <ww...@andrew.cmu.edu> writes:

 WW> I guess that filtering=on is line by line, whereas filtering=off
 WW> is byte by byte--at least that's how the story went!

Yes, I'm afraid you are right. filtering can and probably will break
binary files.

Seems like you'd need to copydir tasks with complementary sets of
patterns then.

Stefan

Re: Garbled images, second post

Posted by Willie Wheeler <ww...@andrew.cmu.edu>.
Hi Stefan,

	Thanks, but I think that I know what the problem is.  (Someone
explained on the Cocoon list.)  Filtering must be set to "off" when
copying binaries during a build.  I guess that filtering=on is line by
line, whereas filtering=off is byte by byte--at least that's how the story
went!

	Willie


On 31 Jul 2000, Stefan Bodewig wrote:

> >>>>> "WW" == Willie Wheeler <ww...@andrew.cmu.edu> writes:
> 
>  WW> I'm asking the question again since I've not heard an answer,
>  WW> since it's a big deal, and someone on the Cocoon list is having
>  WW> the same experience with Ant-garbled images.
> 
> Sorry, I'm afraid I can't help you unless you give us some more
> details. What is Ant supposed to do with your images? Which operation
> garbles them? Copying? Storing them in a ZIP file?
> 
> Stefan
> 


Re: Garbled images, second post

Posted by Stefan Bodewig <bo...@bost.de>.
>>>>> "WW" == Willie Wheeler <ww...@andrew.cmu.edu> writes:

 WW> I'm asking the question again since I've not heard an answer,
 WW> since it's a big deal, and someone on the Cocoon list is having
 WW> the same experience with Ant-garbled images.

Sorry, I'm afraid I can't help you unless you give us some more
details. What is Ant supposed to do with your images? Which operation
garbles them? Copying? Storing them in a ZIP file?

Stefan