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-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to