DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27192>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27192 fixcrlf task does not work when source=target [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Additional Comments From [EMAIL PROTECTED] 2004-02-25 09:49 ------- As Matt says, if the file does not need to changed, fixcrlf will not change it. The following works for me: <target name="inplace" xmlns:ac="antlib:net.sf.antcontrib"> <delete dir="inplace" quiet="yes"/> <concat destfile="inplace/test.txt"> Hello World line 2 </concat> <copy file="inplace/test.txt" tofile="inplace_test.copy"/> <fixcrlf eol="mac" srcdir="inplace" destdir="inplace"/> <ac:shellscript shell="bash"> diff inplace/test.txt inplace_test.copy </ac:shellscript> </target> output: inplace: [delete] Deleting directory /home/preilly/learning/ant/inplace [copy] Copying 1 file to /home/preilly/learning/ant [ac:shellscript] 1c1,4 [ac:shellscript] < [ac:shellscript] Hello World line 2 \ No newline at end of file [ac:shellscript] --- [ac:shellscript] > [ac:shellscript] > Hello World [ac:shellscript] > line 2 [ac:shellscript] > [ac:shellscript] \ No newline at end of file [ac:shellscript] Result: 1 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]