Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 20604 invoked by uid 500); 24 Mar 2002 03:07:58 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 20593 invoked from network); 24 Mar 2002 03:07:58 -0000 From: "Vadim Gritsenko" To: Subject: RE: Minimal Requirements Date: Sat, 23 Mar 2002 22:07:09 -0500 Message-ID: <006601c1d2e0$fcd131c0$0a00a8c0@vgritsenkopc> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > From: Peter Davis [mailto:pdavis@pdavis.cx] On Behalf Of Peter Davis (by way > > I'm trying to build a site using cocoon, but for my production system I don't > want any of the examples cluttering up my disk or the site. I don't need any > SQL, XSL:FO, SVG, any of the demo sites, or even HTML output, and so I'd like > to be able to remove all of those things from cocoon.xconf and sitemap.xmap, > as well as remove the uncessecessary .jars from the lib/ directory. > > Does anyone know of a sample Cocoon config that is absolutely the bare > minimum for generating XML with JSP and transforming with XSLT > transformers? I'm trying to strip out > the extra pieces from my configs one by one, but its a long and tedious > process because there seem to be hidden dependencies all over the place. I'm > hoping someone has already done this and could help me out. Doing this all the time ;) Here is the way (assuming you have source distribution): 1. build clean 2. remove all JAR files you do not need from the lib/optional (consult installing/jars.xml document on the disk or on the xml.apache.org site) 3. remove all pipelines from the sitemap.xmap, leave one map:pipeline with at least map:generate, map:transform (optional), map:serialize. You may want to have one pipeline with the map:read also for static resources. 4. remove all unneeded components from the sitemap.xmap 5. visit cocoon.xconf, check may be you do not need something there also (say, XSP language or certain XSP logicsheets) 6. build -Dinclude.webapp.libs=yes webapp Here it is, Cocoon webapp as you want it. Regards, Vadim > Thanks! > > -- > Peter Davis --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: