newlines in property from -D argument
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?