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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to