You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Robert Koberg <ro...@koberg.com> on 2004/11/05 16:08:22 UTC

bug in filter/filterset ??

I am using the filter/filterset to copy files from one dir to another. 
It is working for text files, but binary (.gifs, .jpgs) are getting 
totally screwed up. I can work around this by using two copy tasks (one 
excluding binaries, the other excluding text files), but I was wondering 
if there was some other way -- something I am missing??

Anybody seen this before?

best,
-Rob

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: bug in filter/filterset ??

Posted by Robert Koberg <ro...@koberg.com>.
Stefan Bodewig wrote:

> On Fri, 05 Nov 2004, Robert Koberg <ro...@koberg.com> wrote:
> 
> 
>>Anybody seen this before?
> 
> 
> Yes.  It is even mentioned in <copy>'s manual page.

duh... I guess it couldn't be made clearer :) I though I had read 
through it before posting...

sorry for the bother,
-Rob


> 
> ,----
> | Note: If you employ filters in your copy operation, you should limit
> | the copy to text files. Binary files will be corrupted by the copy
> | operation. This applies whether the filters are implicitly defined by
> | the filter task or explicitly provided to the copy operation as
> | filtersets
> `----
> 
> Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: bug in filter/filterset ??

Posted by Stefan Bodewig <bo...@apache.org>.
On Fri, 05 Nov 2004, Robert Koberg <ro...@koberg.com> wrote:

> Anybody seen this before?

Yes.  It is even mentioned in <copy>'s manual page.

,----
| Note: If you employ filters in your copy operation, you should limit
| the copy to text files. Binary files will be corrupted by the copy
| operation. This applies whether the filters are implicitly defined by
| the filter task or explicitly provided to the copy operation as
| filtersets
`----

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org