Infexions (WA) Pty LtdHopefully I won't be proven wrong but I had a hard time finding out how to run Cocoon from the command line.
Anyway I compiled the following procedure from bits and pieces I found in the archive: Platform: Cocoon 2.0.1, Win2K and Java 1.3.1 1. run: build dist 2. copy run.bat and appendcp.bat to dist\bin\cocoon-2.0.1 (newly created) 3. modify run.bat: find the line: if not "%COCOON_LIB%" == "" goto gotCocoonLib and just above it add: set COCOON_LIB=webapp\WEB-INF\lib 4. open command window and cd to %COCOON_HOME%\dist\bin\cocoon-2.0.1 5. type: run hello.html 6. if all is well should find a directory named 'site' under dist\bin\cocoon-2.0.1 and in it a file named 'hello.html' NOTE: When I tried to the documentation: run documentation/index, I received a BROKEN LINK /index.html error. All went fine when I commented out the following in the main sitemap.xmap: <map:match pattern="documents/index"> <map:redirect-to uri="index.html"/> </map:match> Did I do anything wrong? Cheers, Perry Molendijk Inflexions (WA) Pty Ltd PO Box 57 Inglewood WA 6052 Australia Tel: (+61) 0401 677 453 IMPORTANT INFORMATION: This message and any files transmitted with it are confidential and should be read only by those persons to whom it is addressed. If you have received this message in error, please notify us immediately by way of reply. Please also destroy and delete the message from your computer. Any unauthorised form of reproduction of this message is strictly prohibited. It is the duty of the recipient to virus scan and otherwise test the information provided before loading onto any computer system. Inflexions (WA) Pty Ltd does not warrant that the information is free of a virus or any other defect or error. Inflexions (WA) Pty Ltd is not liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Inflexions (WA) Pty Ltd. --------------------------------------------------------------------- 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]>