You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Dadu The Dude <sa...@yahoo.com> on 2010/06/23 14:38:26 UTC

Re: echo + embedded newlines

Use this my friend:

	<echo file="${basedir}/project/Readme.txt" append="false">This is the first
line A &#xD;
This is the second line B &#xD;
</echo>


<echo file="...">This is the first line A
This is the second line B
</echo>


-- 
View this message in context: http://old.nabble.com/echo-%2B-embedded-newlines-tp22737962p28971248.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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


Re: echo + embedded newlines

Posted by Dadu The Dude <sa...@yahoo.com>.
This will resolve the problem of new line character in Ant generated echo
file, LF, CRLF, CR LF
-- 
View this message in context: http://old.nabble.com/echo-%2B-embedded-newlines-tp22737962p28971300.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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