Folks:

I'm looking at how to best create different copies of an application
property file using ANT.  I have a property file that contains two
sections: one section with environment specific settings that will vary
as it is deployed across test, QA, and production servers and one
section that is constant.  Currently, it is versioned in our source code
repository so it works in the development environment; this way
developers can work with it directly in their environment without having
to change it. When I build their application using ANT I would like to
generate different versions of the file for environment that I save save
for later deployment.  I was looking at using filterreaders but they are
not really setup to substitute a block of properties located in the
middle of the file.

Any thoughts on how I can best do this task?

Eric

Reply via email to