On Tue, Jan 16, 2007 at 07:59:13PM -0000, [EMAIL PROTECTED] wrote: > Author: spepping > Date: Tue Jan 16 11:59:13 2007 > New Revision: 496842 > > URL: http://svn.apache.org/viewvc?view=rev&rev=496842 > Log: > Two scripts to start FOP on MS Windows > > Added: > xmlgraphics/fop/trunk/fop.cmd (with props) > xmlgraphics/fop/trunk/fop.js (with props)
The JScript mimicks the Bash shell script as much as possible. It reads the following variables: "FOP_HOME", "CLASSPATH", "FOP_HYPHENATION_PATH", "FOP_OPTS", "JAVA_OPTS", "LOGCHOICE", "LOGLEVEL". For that purpose it reads the following sources in order: Environment Configuration file <User Profile>\Application Data\Fop\fop.conf Configuration file <AllUsers Profile>\Application Data\Fop\fop.conf Registry key HKCU\Software\Fop\ Registry key HKLM\Software\Fop\ The first hit for a variable counts. "LOGCHOICE" and "LOGLEVEL" may also be set by uncommenting the appropriate line in the script. Enjoy, Simon -- Simon Pepping home page: http://www.leverkruid.eu