Simon Jeffrey schrieb:
This version below works :) !!! Very good to know, and really the
easiest, most straight-forward way to handle double qoutes in your
source and target strings.

<replace file="testfile.txt" token='JAVA_OPTIONS="${JAVA_OPTIONS}"'
          value='JAVA_OPTIONS="${JAVA_OPTIONS}
-Dweblogic.ProductionModeEnabled=${WEBLOGIC_PRODUCTION_MODE}"'/>


Thanks everyone VERY MUCH!!!  Now hopefully it will work on unix as well
(I've only tested on windows so far.)

works here on linux with ant 1.7.0/jdk 6, @work those '"'
stuff runs on AIX, should work on your unix box also
"write once run (debug) anywhere" ;-)

Regards, Gilbert

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to