cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Robins <coc...@peterrobins.co.uk>
Subject Re: Minimal Requirements
Date Mon, 01 Apr 2002 22:25:39 GMT
Just tried this with 2.0.2: my docs etc plus core cocoon. However, it tries 
to generate the cocoon documentation and the scratchpad as well, which I 
don't want in my production environment. Is there a way to produce the webapp 
without these (other than creating my own build.xml of course)?

On Sunday 24 Mar 2002 3:07 am, Vadim Gritsenko wrote:
>
> 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

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message