ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <>
Subject Re: EOL problem
Date Fri, 13 Jul 2001 07:05:00 GMT
Check out the fixcrlf task which can convert the files on either side of
the link

----- Original Message -----
From: "KapilSingh Pawar" <KapilSinghP@PLANETASIA.COM>
To: <>
Sent: Friday, July 13, 2001 3:47 PM
Subject: EOL problem

> I need to transfer large no. files from Windows to Solaris after
> compression. For this I am using <zip>. When I unzip this zip file in
> Soalris, all ascii files have the EOL character changed to "^M". This
> some of my code unworkable on Solaris. To overcome this I have been using
> <exec> as:
>     <exec executable="dos2unix">
> <arg line="unzip/misc/OvLookupParameters.props unzip/misc/temp"/>
>     </exec>
> However this is very cumbersome if many files in a directory need to
> converted. dos2unix can do conversion only one file at a time and not for
> the entire folder.
> I also tried using <tar>, <jar> and <gzip> to do compression but in
> cases the EOL of ascii files in Windows gets converted to '^M' in
> Is there a way out for this problem?
> Rgrds
> Kapil Singh Pawar
> Ltd.
> Bangalore

View raw message