ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn <javajun...@koyuru.com>
Subject Re: Carriage-returns in files ends up as "0D 0D 0A"
Date Mon, 28 Jul 2003 02:41:07 GMT
What about the FixCRLF task ?

> The why could relate to the fact that most Windows Editors terminate 
> their
> lines with 0D0A
> And most Unix editors terminate their lines with 0D
 example:

<property name="textfiles.patterns" 
value="**/*.html,**/*.xml,**/*.java,**/*.txt,**/*.xsl,**/*.bat,**/*.sh, 
Change*,CommonMistakes,Todo" />

     <echo message="modifying temporary files to contain dos/win 
lineends"/>
     <fixcrlf srcDir="${dbforms.releaseDir}" eol="crlf" 
includes="${textfiles.patterns}" />

or

<echo message="modifying temporary files to contain *nix/linux lineends"/>
     <fixcrlf srcDir="${dbforms.releaseDir}" eol="lf"  
includes="${textfiles.patterns}" />
-- 
Shawn

Happily using M2, Opera's revolutionary e-mail client: 
http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message