Rob van Maris wrote:
According to the proposal the same config file can be in two very
distinct locations

That is not new. It already can be in two (or more) different locations. That is what the ResourceLoader does.
The only thing this hack proposes is to deploy standard configuration in the jar.
It is akin to 'default behavior', only not hard-coded in the java source but implied by including the default configuration with the code.
One advantage is that you only have to add files to the config dir that you actually changed. At least I see that as an advantage.
The other is that you do not need to duplicate the config dir for tests and such, as this is already included in the jar (see tests/config for an example).



-- Pierre van Rooden Mediapark, C 107 tel. +31 (0)35 6772815 "Some Drink at the Fountain of Knowledge. Others Just Gurgle."

_______________________________________________
Developers mailing list
[EMAIL PROTECTED]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to