cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <giac...@apache.org>
Subject Re: Supplied defaults from plugin
Date Thu, 13 Jul 2006 13:30:49 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 13 Jul 2006, Giacomo Pati wrote:

> Date: Thu, 13 Jul 2006 15:18:25 +0200 (CEST)
> From: Giacomo Pati <giacomo@apache.org>
> Reply-To: dev@cocoon.apache.org
> To: dev@cocoon.apache.org
> Subject: Re: Supplied defaults from plugin
> 
> --[PinePGP]--------------------------------------------------[begin]--
> On Thu, 13 Jul 2006, Reinhard Poetz wrote:
>
>>  Date: Thu, 13 Jul 2006 13:40:34 +0200
>>  From: Reinhard Poetz <reinhard@apache.org>
>>  Reply-To: dev@cocoon.apache.org
>>  To: dev@cocoon.apache.org
>>  Subject: Re: Supplied defaults from plugin
>>
>>  Giacomo Pati wrote:
>> >   Hi all
>> > 
>> >   Wouldn't it be cool if the cocoon:deploy goal supplies one with default
>> >   files missing in the project src/main/webapp? I can imaging some 
>> >   defaults
>> >   for things like catalogManager.properties, base cocoon.xconf etc. would 
>> >   be
>> >   helpfull?
>>
>>  I moved all default xconf files into the cocoon-core module (you won't
>>  find
>>  them in cocoon-webapp anymore) so you already get them this way.
>
> I didn't meant those. I've already seen that. But there are still some
> more "defaults".
>
>>  about the catalogManager: yes, we could add an option
>>  "useDefaultCatalogManager" and add the properties file and the catalogs.
>
> The question might be is it a necessity to have one. If so and there
> isn't one in the deployed webapp the plugin should supply one (without
> the need to configure something).
>
> What I'm thinking of stuff for WEB-INF is:
>
> classes/CatalogManager.properties as well as entities/
> 	 dunno whether this is just usefull or needed
>
> web.xml
> 	 this is indeed needed but still the plugin can supply a default
> 	 one. If someone needs to change/add something on it, she/he can
> 	 copy it to the regular path of the webapp project
> 	 (src/main/webapp/WEB-INF)
>
> log4j.xconf
> 	 a default can be supplied here as well IMO.
>
> properties/
> 	 same here, at least core.properties in there because it is
> 	 needed (Cocoon doesn't work without it).

Would add

cocoon/sitemap-additions/cocoon-core-sitemap.xmap

as well.

>
> WDYT?
>
> --
> Giacomo Pati
> Otego AG, Switzerland - http://www.otego.com
> Orixo, the XML business alliance - http://www.orixo.com
> --[PinePGP]-----------------------------------------------------------
> gpg:  Signature made Thu Jul 13 15:18:31 2006 CEST using DSA key ID 98E35590
> gpg:  Good signature from "Giacomo Pati <giacomo@otego.com>"
> gpg:                  aka "Giacomo Pati <giacomo@apache.org>"
> gpg:                  aka "Giacomo Pati <giacomo@pati.ch>"
> --[PinePGP]----------------------------------------------------[end]--
>
>

- -- 
Giacomo Pati
Otego AG, Switzerland - http://www.otego.com
Orixo, the XML business alliance - http://www.orixo.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFEtksKLNdJvZjjVZARAvh+AJ0blsaNvqfpSaix0PIGIQ202wV35gCghPB+
6DIQgOWjFIaYPMe3rzNzkeg=
=jc8n
-----END PGP SIGNATURE-----

Mime
View raw message