Re: Cocoon Properties, Re: Cocoon 2.2 Samples Setting MultipartFilter Max Upload Size

2006-12-14 Thread Luca Morandini
Ralph Goers wrote: Luca Morandini wrote: So, the chain you propose is (sorted by order of loading): 1) WEB-INF/classes/META-INF/cocoon/properties (block-wide stuff). 2) WEB-INF/classes/cocoon/properties (project-wide stuf). In truth, I don't find the use of classes for configuration stuff

Re: Cocoon Properties, Re: Cocoon 2.2 Samples Setting MultipartFilter Max Upload Size

2006-12-13 Thread Carsten Ziegeler
Ralph Goers schrieb: Luca Morandini wrote: So, the chain you propose is (sorted by order of loading): 1) WEB-INF/classes/META-INF/cocoon/properties (block-wide stuff). 2) WEB-INF/classes/cocoon/properties (project-wide stuf). In truth, I don't find the use of classes for configuration

Re: Cocoon Properties, Re: Cocoon 2.2 Samples Setting MultipartFilter Max Upload Size

2006-12-12 Thread Giacomo Pati
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carsten Ziegeler wrote: Vadim Gritsenko wrote: Carsten Ziegeler wrote: Have a look at the core.properties file in the cocoon-core module. Just put a properties file with the appropriate configuration into WEB-INF/cocoon/properties. This should

Re: Cocoon Properties, Re: Cocoon 2.2 Samples Setting MultipartFilter Max Upload Size

2006-12-12 Thread Carsten Ziegeler
Giacomo Pati wrote: This raises the question if we need this? I think we should readd the support for reading properties from WEB-INF/cocoon/properties. IIRC we mentioned putting those into WEB-INF/classes/META-INF/cocoon/properties Yes, you're absolutely right! This brings back my

Re: Cocoon Properties, Re: Cocoon 2.2 Samples Setting MultipartFilter Max Upload Size

2006-12-12 Thread Carsten Ziegeler
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

Re: Cocoon Properties, Re: Cocoon 2.2 Samples Setting MultipartFilter Max Upload Size

2006-12-12 Thread Luca Morandini
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

Re: Cocoon Properties, Re: Cocoon 2.2 Samples Setting MultipartFilter Max Upload Size

2006-12-12 Thread Carsten Ziegeler
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,

Re: Cocoon Properties, Re: Cocoon 2.2 Samples Setting MultipartFilter Max Upload Size

2006-12-12 Thread Luca Morandini
Giacomo Pati wrote: Carsten Ziegeler wrote: Luca Morandini wrote: 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

Re: Cocoon Properties, Re: Cocoon 2.2 Samples Setting MultipartFilter Max Upload Size

2006-12-12 Thread Luca Morandini
Carsten Ziegeler wrote: Luca Morandini schrieb: Carsten Ziegeler wrote: Luca Morandini wrote: 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

Re: Cocoon Properties, Re: Cocoon 2.2 Samples Setting MultipartFilter Max Upload Size

2006-12-12 Thread Mark Lundquist
On Dec 12, 2006, at 7:33 AM, Luca Morandini wrote: In truth, I don't find the use of classes for configuration stuff done outside JARs particularly intuitive... +1 —ml—

Re: Cocoon Properties, Re: Cocoon 2.2 Samples Setting MultipartFilter Max Upload Size

2006-12-12 Thread Vadim Gritsenko
Mark Lundquist wrote: On Dec 12, 2006, at 7:33 AM, Luca Morandini wrote: In truth, I don't find the use of classes for configuration stuff done outside JARs particularly intuitive... +1 me-too/ Vadim

Re: Cocoon Properties, Re: Cocoon 2.2 Samples Setting MultipartFilter Max Upload Size

2006-12-12 Thread Ralph Goers
Luca Morandini wrote: So, the chain you propose is (sorted by order of loading): 1) WEB-INF/classes/META-INF/cocoon/properties (block-wide stuff). 2) WEB-INF/classes/cocoon/properties (project-wide stuf). In truth, I don't find the use of classes for configuration stuff done outside JARs

Cocoon Properties, Re: Cocoon 2.2 Samples Setting MultipartFilter Max Upload Size

2006-12-11 Thread Vadim Gritsenko
Carsten Ziegeler wrote: Have a look at the core.properties file in the cocoon-core module. Just put a properties file with the appropriate configuration into WEB-INF/cocoon/properties. This should work. Carsten, Regarding loading of properties from WEB-INF - can you point out where this is

Re: Cocoon Properties, Re: Cocoon 2.2 Samples Setting MultipartFilter Max Upload Size

2006-12-11 Thread Carsten Ziegeler
Vadim Gritsenko wrote: Carsten Ziegeler wrote: Have a look at the core.properties file in the cocoon-core module. Just put a properties file with the appropriate configuration into WEB-INF/cocoon/properties. This should work. Carsten, Regarding loading of properties from WEB-INF - can