cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Vincelli ...@alessandro.vincelli.name>
Subject Re: AW: [C2.2] set web.xml params
Date Fri, 25 Jul 2008 07:07:30 GMT
I'ts corrrect, but I think it's necessary override  this property:

# Set here to a very low 100 kb to allow samples to run.
org.apache.cocoon.uploads.maxsize=102400

Then Matthias, you can add this directory:
src/main/resources/META-INF/cocoon/properties

But it's wired, when you create a block using  cocoon-22-archetype-block 
archetype the directory
src/main/resources/META-INF/cocoon/spring/
is automatically generated, therefore you must have 
src/main/resources/META-INF/...

Ciao
Alessandro


Grzegorz Kossakowski wrote:
> Matthias Müller pisze:
>> thanks Barbara and Alessandro for replying,
>>
>> somehow i don't have the core.properties file in my block. i even 
>> don't have a cocoon folder in src/main/resources/META-INF/ did i 
>> something wrong while creating the block? 
>
> Hello Matthias,
>
> The core.properties file contains default settings and is stored in 
> cocoon-core block that you surely have in a classpath because your 
> block depends on it.
> Uploads are enabled in Cocoon itself by default so you don't need to 
> do anything.
>


Mime
View raw message