Return-Path: Delivered-To: apmail-cocoon-docs-archive@cocoon.apache.org Received: (qmail 28408 invoked by uid 500); 17 Aug 2003 20:00:06 -0000 Mailing-List: contact docs-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: docs@cocoon.apache.org Delivered-To: mailing list docs@cocoon.apache.org Received: (qmail 28397 invoked from network); 17 Aug 2003 20:00:06 -0000 Received: from dobit2.ugent.be (HELO dobit2.rug.ac.be) (157.193.42.8) by daedalus.apache.org with SMTP; 17 Aug 2003 20:00:06 -0000 Received: from allserv.UGent.be (allserv.ugent.be [157.193.40.42]) by dobit2.rug.ac.be (8.12.8/8.12.8) with ESMTP id h7HK04tW011881 for ; Sun, 17 Aug 2003 22:00:04 +0200 (MEST) Received: from otsrv1.iic.rug.ac.be (otsrv1.iic.ugent.be [157.193.121.51]) by allserv.UGent.be (8.12.8/8.12.8) with ESMTP id h7HK03VQ002897 for ; Sun, 17 Aug 2003 22:00:03 +0200 (MEST) Received: from otsrv1.iic.rug.ac.be (localhost [127.0.0.1]) by otsrv1.iic.rug.ac.be (8.11.6/8.11.6) with ESMTP id h7HK03x01081 for ; Sun, 17 Aug 2003 22:00:03 +0200 Date: Sun, 17 Aug 2003 22:00:03 +0200 Message-Id: <200308172000.h7HK03x01081@otsrv1.iic.rug.ac.be> From: stevenn@outerthought.org To: docs@cocoon.apache.org Subject: [WIKI-UPDATE] BuildProperties Sun Aug 17 22:00:03 2003 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Page: http://wiki.cocoondev.org/Wiki.jsp?page=BuildProperties , version: 2 on Sun Aug 17 19:48:47 2003 by GeoffHoward + + Remember, with ant properties a property is not changed once it is set. The build first loads properties from a file (FIXME: what is this one named?) in the users home directory, then from local.build.properties, then the original build.properties. If you set a value before Cocoon's default does, your value "wins". + }}} + The above properties affect what is included __in the webapp__ (or war if you build that too). + * __documentation__ the cocoon docs as seen on the website. The link for the documention will also be excluded from the main welcome page. + * __javadocs__ the javadocs of all cocoon core and blocks classes. The link for the javadocs will also be excluded from the main welcome page. + * __idldocs__ some modeling documentation on the flow object model (FOM) described in idl. The link for the FOM docs will also be excluded from the main welcome page. + * __scratchpad__ new components or core functions under experimental development. The components will not be configured in sitemap.map, cocoon.xconf, etc. + * __samples__ the functioning samples. This excludes core, blocks and scratchpad samples. (blocks and scratchpad may not have been included anyway depending on your choices in other config options). + + {{{ + }}} + The above control what is actually assembled, whether they are included in the webapp or not. + * __scratchpad__ scratchpad will not be compiled at all. + * __deprecated__ classes moved to the deprecated source directory will not be compiled at all. + * __javadocs__ the javadocs will not be created at all + * __idldocs__ the idl FOM docs will not be created at all + + {{{ + }}} + The above are convenience settings to control some init-params in web.xml + * __include.driver.*__ causes the driver name to be declared in the load-class param. They __DO NOT__ cause the actual jar containing the driver to be placed in WEB-INF/lib nor do they configure your datasource in cocoon.xconf. They were added because declaring the class in web.xml was a frequently forgotten task. + * __allow-reloads__ enables a magic "cocoon-reload" request parameter to cause the entire Cocoon controller object to be disposed and recreated. This is convenient when declaring new components in cocoon.xconf during development, but should be disabled for any live site. It is not needed to allow subsitemaps or xsps to reload when their source is modified. + * __enable-uploads__ causes file uploads received via multipart html forms (with input type="file" elements) to be automatically parsed by Cocoon and available as objects in the request. There are more settings related to this in web.xml. There are at least two samples that will not work unless this property is set to true. It is disabled by default. + + {{{