I'd like to allow my Spring 3.1.2 application to load configuration properties from a default properties file embedded within my jar and additionally allow the user to specify the path to an overriding properties file as a command line parameter.
I understand I can use <context:property-placeholder>
for the simple scenario of loading the properties from my class path, but how might I handle the scenario above with properties from potentially two merged property files?
The scenario I'm trying to duplicate is basically that addressed by the CompositeConfiguration
of Apache Commons Configuration.