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.
-
Use this my friend:
This is the
first
line A
This is the second line B
This is the first line A
This is the second line B
--
View this message in context:
http://old.nabble.com/echo-%2B-embedded-newlines-tp22737962p28971248.html
Sent from the Ant - Users mailing list archive
This is why:
http://www.w3.org/TR/2004/REC-xml-20040204/#sec-line-ends
>
> What might be going on here?
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org
Hey,
I have the following snippet in my ant file:
This is the first line A
This is the second line B
When I look at the build file, after the A, I see a CR LF.
When I look at the file that ant echoed to, I only see a LF.
What might be going on here?
Felix
---