On Aug 18, 2004, at 10:51 AM, Pierre van Rooden wrote:
Ernst Bunders wrote:but, sarcasm aside, could you enlighten the ignorant as to why the config has been moved to de jar? this is highly confusing...
Because in this way the files can be accessed as resources.
It was a first step to make it possible for MMBase to run in a war, which was something some people wanted.
The idea is that this is possible if all configuration can be accessed as resources. Storage was a first step in that direction.
It would probably be a good idea to also allow files to be placed in the configuration file tree (location?), but that has not been implemented yet.
imho its time for a config manager that allows you to make settings to applications or instances of applications. I admire that people want to run things as a war but the result is that makes configuration of mmbase systems harder. The only way out is to add some abstract system that handles the storage of configation and a flexible frontend to allow firstime and admins to configure and check on settings.
Im allmost sure i will start something like this soon and have talked to several other developers about this. This did convince me that it will be hard to get everybody on one line so i will make it as a optional tool al my own risk and provide it as is to the community and leave it upto them to them how far this will reach.
Daniel.
