ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andrewdanger <>
Subject newlines in property from -D argument
Date Wed, 24 Jun 2009 14:53:37 GMT

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?
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