ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilbert Rebhan <...@schillbaer.de>
Subject Re: How do I escape the " in the replace command?
Date Tue, 24 Jun 2008 20:14:58 GMT
Simon Jeffrey schrieb:
> I am trying to execute the command below as part of our weblogic
> install.
> 
> Yes the string is part of a file.
> 
> I have tried using &quote;, \", and \Q \E, but none of these options has
> worked.
> 
> I was not aware of the regexp option.

untested, try with =

    <replace file="${env.DOMAINDIR}/bin/setDomainEnv.${fileext}"
   token='JAVA_OPTIONS="${JAVA_OPTIONS}"'
   value='JAVA_OPTIONS="${JAVA_OPTIONS}"
-Dweblogic.ProductionModeEnabled=${WEBLOGIC_PRODUCTION_MODE}'/>

if that doesn't work, i would go with regexp

Regards, Gilbert



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


Mime
View raw message