ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: Filter Task Note - effect on binary files
Date Thu, 19 Sep 2002 15:21:35 GMT
Filtering is only for text files.  You will, and I believe this is 
documented a fair bit, mangle binary files if you copy them with 
filtering on.


Ryan Cuprak wrote:
> Hello,
>  Noticed something weird with the filter task - even if a file has no tokens
> it still somehow "changes" the file. For configuring Jboss I had written an
> ant script that copied over the configuration files and apply local settings
> (so I could easily move between home and work). However, JBoss refused to
> start after running the ant script. I eventually pinned it down to the
> copy/filter of files in the deploy directory. I would copy the directory
> over and apply a filter to replace mail settings etc. However, the jars in
> the directory would end up toasted and jboss would error out on startup.
> There was no difference in the size of the jars. I am guessing that perhaps
> the jars are now 'unicoded' - but that is just a guess. So, just thought
> that this tidbit might helpful to someone - had me baffled at first.
> -Ryan Cuprak
> --
> To unsubscribe, e-mail:   <>
> For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message