Cocoon

From Fxp Wiki

Jump to: navigation, search

Command line html

Mailing Archive: Cocoon-users
From: Boris Althaus
Subject: Re: How to use Command Line for html Generation
Date: Fri, 22 Nov 2002 15:21:15 -0800


you could copy the hole classpath string in a bat-file, which you execute once before you call the the first java-command without the long cp-string

 
set CLASSPATH=%CLASSPATH%;z:\cocoon-scratchpad.jar;z:\xyz.jar ....
 

You need %CLASSPATH% if you don't wont to overwrite systemsettings.

check with 'set CLASSPATH' whether your script done its job well.

After the batch-file-execution

 
java org.apache.cocoon.Main -c d:\wwwroot\catalina\webapps\cocoon -d d:/tmp -wc :/tmp -l logfile -u INFO -f d:/tmp/uris.txt 
 

should work.

Credits

  • Vadim Gritsenko For his help on cocoon-users mailing list
Personal tools