Apache Cocoon

Le fin mot du classpath pour Catilina

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 <bash> set CLASSPATH=%CLASSPATH%;z:\cocoon-scratchpad.jar;z:\xyz.jar .... </bash> 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 <bash> 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 </bash> should work.

Credits

Dernières nouvelles

Tous les posts en relation avec ce thème

Programmation