Check out the fixcrlf task which can convert the files on either side of
the link
----- Original Message -----
From: "KapilSingh Pawar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
makes
> 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 all
> cases the EOL of ascii files in Windows gets converted to '^M' in
Solaris.
> Is there a way out for this problem?
>
> Rgrds
> Kapil Singh Pawar
> Planetasia.com Ltd.
> Bangalore
>