Hi!
I've been thinking a lot after our last discussions about how would it
be possible to customize the modules, without needing to change the
modules or going manually over them.
Currently, the first conf files are imported from WEB-INF/bootstrap
dir. Later on the process, the module is overridding these (if it is
the case):
[code: ModuleUtil lines: 145-148]
if (hm.isExist(fullPath)) {
hm.delete(fullPath);
log.warn("already existing node [{}] deleted", fullPath);
}
[/code]
I guess a better approach would be to have the mechanism work in the other way:
if the conf is already defined, it means that the admin customized the
system when the system first bootstrap, and so the module conf should
not override it.
The change to support this behavior is quite trivial and IMO the
system would be easier to be configured from the pov of sys admins.
What do you think about this idea?
./alex
--
.w( the_mindstorm )p.
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------