See the manual for the FixCRLF task.
http://ant.apache.org/manual/CoreTasks/fixcrlf.html

Hope this helps
Keith


-----Original Message-----
From: Glen Mazza [mailto:[EMAIL PROTECTED]
Sent: 10 January 2005 17:40
To: user@ant.apache.org
Subject: Automatic way to convert from DOS to Unix line endings?


Hello,

I use Ant to copy a data file from a diskette to my
hard drive of my Windows machine.  From there, I open
the file in the JEdit editor and save it in Unix
format, to switch to the Unix line endings.  Finally,
I use the Ant FTP task to send the file to a Unix
machine.

I was wondering if there is an Ant task that will let
me automate the step of switching from DOS to Unix
format, so I don't have to go into JEdit to do it
manually.

Thanks,
Glen

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to