Andreas Hartmann wrote:

Michael Wechner wrote:

Thorsten Scherler wrote:

Hi all,

I wonder where I can configure the
max.upload.size
for lenya?

I found out that I need to patch the web.xml directly but that should be
really configurable in lenya.

Now I see at least two possibilities to implement it:
1) config/web-xml/*.xweb - the usual way in 1.4.x

you mean src/confpatch ?

something like

src/confpatch/local.upload.xweb?


IMO we should move that to webapp/config/web-xml like the patches
for cocoon.xconf and sitemap.xmap.


if you move everything to the places where it will belong in the end,
then why not configure everything within the build directly ;-)



2) in local.build.properties - enable.upload and max.upload.size seem to
belong together

I have made a NOTE to build.properties about this.

I think enable.upload and max.upload.size belong together.

Also I think that the most important stuff should be within one config file
and upload seems to me one of them.


I'd rather see them configured in a unique way. Settings in web.xml
should be configured in web.xml patch files. I don't see why people
should look for web.xml settings in local.build.properties, which
IMO refers to build options and not to runtime options, at least that's
what the file name suggests ...

Patch files can be used in the core, in modules, and in publications
in the same way. E.g., you could ship the upload size config file in your
publication, without requiring to change a global properties file.


Think from a "user" POV:

1) Download Lenya
2) How do I build this thing and what do I need to configure ...

so my suggestion would be, let's do it the Apache httpd way ...


./configure(.sh) (interactively asking about important stuff, but it could be optional for devs)
./build(.sh)
./startup(.sh)

WDYT?

whereas the configure script could generate the
local.* files at the right places, so everyone will be happy ...

Michi

--
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                        [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to