Use this my friend:
<echo file="${basedir}/project/Readme.txt" append="false">This is
the first line A & # x D ; (Remove Spaces)
This is the second line B & # x D ; (Remove Spaces)
</echo>
<echo file="...">This is the first line A
This is the second line B
</echo>
Regards,
Amit
--
View this message in context:
http://old.nabble.com/How-to-insert-new-line-character-in-a-string-tp682311p29125745.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]