ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dadu The Dude <salmac...@yahoo.com>
Subject Re: How to insert new line character in a string
Date Sat, 10 Jul 2010 12:22:46 GMT

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


Mime
View raw message