-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Carsten Ziegeler wrote: > Luca Morandini wrote: >> Remember to update the comments in the source code of >> SettingsBeanFactoryPostProcessor.java then, because they still state >> that WEB-INF/cocoon/properties is supported in the fall-back chain of >> properties loading. >> > Yepp, thanks for the info - I'll take care of it in the next days. > > >> One issue, though: since the property loading mechanism uses >> "classpath:°" protocol, property files are read in alphabetical order, >> which means I might have my per-project properties ruined by the >> addition of a block, unless I call them zzzz.properties. >> >> This was neatly solved by the use of WEB-INF/cocoon/properties, since it >> was loaded after the "classpath:*" chain. >> > Yes, you're right. Hmm, perhaps we should load properties from > WEB-INF/classes last. I'll have a look at that as well. Luca is absolutely right! WEB-INF/classes should be the last resort where one ultimatively can overwrite properties (same should be true for WEB-INF/classes/META-INF/cocoon/spring/.....) Ciao - -- Otego AG Tel: +41 (0)1 240 00 55 Giacomo Pati, CTO Mobile:+41 (0)79 262 21 04 Apache Software Foundation Member Mailto:[EMAIL PROTECTED] Hohlstrasse 216 Mailto:[EMAIL PROTECTED] CH-8004 Zuerich http://www.otego.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFfsUNLNdJvZjjVZARAnF3AJ9dTgMEHqAYmj6vICLU0Q2b+ZfzVACfZvXH pgNnuygo9oDrThYvuF7GYPg= =Qdgc -----END PGP SIGNATURE-----
