I want to know if it is possible to get an ant script to reference 2 different .properties files at once, and if so, how to accomplish this.
Assume that the properties contained within the two .properties files are mutually exclusive, i.e. the same property will not appear twice.
Thanks!
In addition to Ash answer.
You can use a different
prefixattribute ofpropertytask, e.gThis way you can find out if both files have same properties and differentiate between them in your build script. For example if both files have property
test, then after they are loaded with the above commands you will end up with properties namedfile1.testandfile2.test.