A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
PostGIS in Action
this week in the
JDBC and Relational Databases
Java Advanced Topics Training
Java in General
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
I agree. Here's the link:
subject: How to modify an INI configuration file via ANT build.xml ?
ANT Task to modify XML files?
calling perl program thru Ant task
PVCS task in ANT - unable t run from WSAD
Eclipse and ANT
Execute Ant script with Java file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015