A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Ant, Maven and Other Build Tools
How to modify an INI configuration file via ANT build.xml ?
Joined: Aug 09, 2010
Nov 04, 2012 11:31:01
, I want to modify a setting within a
For example, from default setting:
to a setting defined within build.xml:
How can I do this
Jeff in Seattle
Joined: May 14, 2008
Nov 04, 2012 19:48:56
You need to add a <filterchain> section to the <copy> task and use the <replacetokens> option (or some other filter chain option). See:
Here is a discussion I had about this earlier this year:
JBoss In Action
It is sorta covered in the
JavaRanch Style Guide
subject: How to modify an INI configuration file via ANT build.xml ?
PVCS task in ANT - unable t run from WSAD
ANT Task to modify XML files?
Eclipse and ANT
Execute Ant script with Java file
calling perl program thru Ant task
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014