Yes, merging or concatenating two files together is non-issue if you
explicitly tell the Ant script what files to merge. But remember the Ant
build script is expected to be used for building anything that follows the
same convention. What this means is that the Ant script can not hardcode the
sett
I respect your opinion. Just to clarify -- the base property file contains
only environment independent settings while the environment specific
property files contain only settings specific to the target environment. In
other words, the latter is not supposed to override the former, rather it
exte
Thanks Eric. What you did certainly is one of the options. I was wondering if
the same thing could also be done with Ant built-in capabilities. One thing
I'm not sure is that once the script gets a set of base setting files, i.e.
those that don't have environment tag embedded in their names, how i
Thanks Eric. If I understood you correctly, it's that program you wrote that
did the trick for you, not the NAnt script. Is it correct? Thanks.
Eric Fetzer wrote:
>
> OK, so here's what I did with NAnt and a C# .Net project for this same
> problem. My properties files were all xml, so I wrote a
Thanks for the reply. A couple of clarifications:
1. The setting property files are intended to be built by an Ant script as
part of an application. In other words, the properties contained in those
files are to be read by the application, not by the Ant build script itself.
2. The setting prope
Thanks for the reply. A couple of clarifications:
1. The setting property files are intended to be built by an Ant script as
part of an application. In other words, the properties contained in those
files are to be read by the application, not by the Ant build script itself.
2. The setting prope
In my project some settings are environment dependent and others are not. We
decided to partition these different settings into different files. The file
naming convention is such that a file that contains environment independent
settings can be named as anything with the "properties" extension wh