Would <fixcrlf> help?

Jan

> -----Urspr�ngliche Nachricht-----
> Von: David A. Bartmess [mailto:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 15. Februar 2005 15:37
> An: Ant Users List
> Betreff: Problem with line endings
> 
> I've got an ant script that appends using the <echo> task to 
> a file and then 
> ftp's the file to the server for use in validating a build 
> after the fact.
> 
> The machine doing the build and validation is a Linux 
> machine, and the server 
> we stage the build on (where it does the validation) is a 
> LInux machine also.
> 
> The problem lies in that the validation routine (a separate 
> custom task that 
> calls a cgi script on the server) dies on the ^M that is put 
> in the file by 
> the echo task. I'm using ${line.separator} to add the line 
> endings, but it 
> always seems to be a CRLF instead of the LF I expected. 
> 
> I expected to see echo use the LF only, since it's a Linux 
> machine and the 
> default line separator is a LF... 
> 
> If I run dos2unix on the file(s), everything works fine...
> 
> Any ideas?
> -- 
> David A. Bartmess
> Software Configuration Manager / Sr. Software Developer
> eDingo Enterprises
> http://edingo.net
> _________________________________________________________________
> jSyncManager Development Team (http://www.jsyncmanager.org)
> jSyncManager Email List
> (https://lists.sourceforge.net/lists/listinfo/jsyncmanager-devel)
>  
>  But one should not forget that money can buy a bed but not sleep, 
>  finery but not beauty, a house but not a home, 
>  medicine but not health, luxuries but not culture, 
>  sex but not love, and amusements but not happiness.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to