Luca Morandini schrieb: > Carsten Ziegeler wrote: >> Luca Morandini wrote: >> >>> 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. > > Last ? Hmm... I'm not sure I got you point. > Anyway, what I meant is that I'd like to have a way to load project-wide > properties that cannot be overridden by block-wide ones. > Yepp, the properties system works in the way that the last definition wins. And this means that project-wide stuff has to be loaded last.
Carsten -- Carsten Ziegeler - Chief Architect http://www.s-und-n.de http://www.osoco.org/weblogs/rael/
