ant-user mailing list archives

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

Hi,

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
			<filterchain>
				<tokenfilter />
			</filterchain>
		</concat>

I'd like the output to look like this:
Hello
World

Instead i get this:
Hello \r\n World

Please help.

Thanks
-- 
View this message in context: http://www.nabble.com/Split-lines-in-input-stream-tp18814904p18814904.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