ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francis GALIEGUE <...@one2team.com>
Subject Re: newlines in property from -D argument
Date Fri, 26 Jun 2009 09:03:43 GMT
On Wed, Jun 24, 2009 at 16:53,
andrewdanger<andrewdangermuro+nabble@gmail.com> 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. do i need to massage
> the output before i give it to ant as a property?
> --

Why don't you just put commands in a script and pass the path to that
script as an argument?

-- 

Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
fge@one2team.com
40 avenue Raymond Poincaré
75116 Paris

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message