ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From srimh2o <>
Subject Split lines in input stream
Date Mon, 04 Aug 2008 16:37:54 GMT


I have a string input that contains carriage return "\r\n" and I'd like to
use ant to split that input into two separate lines. This is what I do.

<concat append="true" destfile="testing.jad">Hello \r\n World
				<tokenfilter />

I'd like the output to look like this:

Instead i get this:
Hello \r\n World

Please help.

View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message