Michiel Meeuwissen wrote:
This code will first look for a file WEB-INF/config/log/log.xml and if not exists then 
for the file
WEB-INF/classes/mmbase/config/log/log.xml and if that too does not exist, then for the 
resource
mmbase/config/log/log.xml.

Doe anyone know what sun conventions are for resource packages?
Should resource files be stored in org/mmbase/config or mmbase/config?
I am ok in storing config in another place than the class files, but I would like to follow conventions were possible.


Btw, placing the xml resources in the config package may inpact a few cases where the xmls are (for now) stored in another location.
These are the storage configuration and the fieldtypes configuration.
Both are relatively new, so I don't think it is that much of a problem if we move these, provided we make sure this is clear in the release notes.


 - Reading of web.xml of MMBaseServlet will not be possible any-more. It currently 
gives an
   stack-trace in my log, (but mmbase starts oterwise correctly). It is only used for 
that silly
   function to servlet mapping. I'm sure we can come up with some solution (if needed, 
by a copy of
   web.xml under WEB-INF/classes...)

Yech. No way to load it as as resource then? Otherwise we may need to move this type of configuration?

--
Pierre van Rooden
Mediapark, C 107 tel. +31 (0)35 6772815
"Never summon anything bigger than your head."




Reply via email to