On Wed, 2004-10-20 at 10:29, Ian Neruda wrote:
> I need to change config file parameters depending on
> targeted environment(test or production). 
> Is there a plugin that could do something like this?
> 
> Files I need to change are web.xml and my custom xml
> config file.

If you want simple substitution, then the solution outlined earler using
the ant copy task with filters would be just fine. If you need something
a little more powerful then you can use the velocity Jelly tag. If you
need to perform a certain stretch of logic based on the value of a
property.

> Thanks, Ian.
> 
> 
>               
> _______________________________
> Do you Yahoo!?
> Declare Yourself - Register online to vote today!
> http://vote.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://maven.apache.org

happiness is like a butterfly: the more you chase it, the more it will
elude you, but if you turn your attention to other things, it will come
and sit softly on your shoulder ...

 -- Thoreau 


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

Reply via email to