ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From praveen pachhapur <praveen.pachha...@gmail.com>
Subject Re: Change the web.xml File through ANT
Date Tue, 11 Jan 2005 23:30:48 GMT
Murali,

Use token filter from ant to replace the propery values at run time.

        <replace file="/../web.xml">
        	<replacefilter token="param-name" value="xyz"/>
        </replace>

Praveen


On Fri, 7 Jan 2005 10:34:37 -0500, Velagapudi, Murali
<murali.velagapudi@citigroup.com> wrote:
> Hi ,
> 
>   I am using same ant script to deploy application on various systems in this i need
to change
> the web.xml file of the application i.e the value for
> <param-name>property_dir</param-name>
> <param-value>will be different on various systems</param-value>
> 
> i can pass the param-value while running the ANT script is there a way so that the ant
can change
> the value before it deploys the application.
> 
> thanks,
> Murali
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
>

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


Mime
View raw message