-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 14 Jul 2006, Reinhard Poetz wrote:

Date: Fri, 14 Jul 2006 07:38:03 +0200
From: Reinhard Poetz <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: Supplied defaults from plugin

Giacomo Pati wrote:
> 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).

 WDYT?

If you run the block deployer on a block (and not on a webapp), the resources in http://svn.apache.org/repos/asf/cocoon/trunk/tools/cocoon-block-deployer/cocoon-deployer-plugin/src/main/resources/org/apache/cocoon/maven/deployer/monolithic/WEB-INF/ are used. Some of these resources use the StringTemplage template engine to set values dynamically

I know. I'm much mor interested on the packaging=war ATM. BTW: the web.xml there in seems to me kinda outdated/incomplete compared to the one used in the cocoon-webapp module. Is this intentional?

(http://svn.apache.org/repos/asf/cocoon/trunk/tools/cocoon-block-deployer/cocoon-deployer-plugin/src/main/java/org/apache/cocoon/maven/deployer/monolithic/MonolithicCocoonDeployer.java)

This doesn't help me much (as I've already discovered these things). I'd like to get feedback whether you guys find it a good or bad idea to supply defaults from the plugin for web.xml, log4j.xconf, and properties (and maybe the entities stuff as well) if they are missing in the webapp-source of a project. Just a simple +1 or -1 to the files mentione above would help ;-)

Ciao and TIA

Giacomo

- -- 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)

iD8DBQFEt4p7LNdJvZjjVZARAtzDAJ99BxetUer7gWBeQOWYDmIQqdP01QCgshOs
CX8uT3aMuzLQ+KvfGt2/Qe0=
=MHl3
-----END PGP SIGNATURE-----

Reply via email to