Re: newlines in property from -D argument

2009-06-26 Thread Francis GALIEGUE
On Fri, Jun 26, 2009 at 15:21, andrewdanger wrote: > > yeah, this is an option, but i need it all in a script because i need to do > non-ant things and i find it easier to do non-ant things in bash rather than > with the task. anyway, i did find the solution, which is to escape > newlines in the c

Re: newlines in property from -D argument

2009-06-26 Thread andrewdanger
user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h...@ant.apache.org > > > -- View this message in context: http://www.nabble.com/newlines-in-property-from--D-argument-tp24186411p24220191.html Sent from the Ant - Users mailing list archive at Nabble.com. -

Re: newlines in property from -D argument

2009-06-26 Thread Francis GALIEGUE
On Wed, Jun 24, 2009 at 16:53, andrewdanger wrote: > > i am running ant from a bash script. i have a variable that contains command > output, including newlines. when i try to pass the variable to ant like > > ant -Dbuild.log="${BUILD_LOG}" > > newlines aren't preserved in the build.log property. d

newlines in property from -D argument

2009-06-24 Thread andrewdanger
it to ant as a property? -- View this message in context: http://www.nabble.com/newlines-in-property-from--D-argument-tp24186411p24186411.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail