[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: AW: [docbook-apps] SAXON - extensions dont work (classpath is set i think)
hello, according to the docs the java command line should be (yea, i know that the main-class is specified in the jar's Manifest file): java com.icl.saxon.StyleSheet -o out\tableex.htm C:\FEY\docbook\docbook-xsl\docs\tableex.xml C:\FEY\docbook\docbook-xsl\html\docbook.xsl your CLASSPATH variable seems to be ok, which means you don't need to specify the CLASSPATH variable while executing the java command. or if you want to use the -jar flag try the following order: java -jar -cp %CLASSPATH% saxon.jar -o out\tableex.htm C:\FEY\docbook\docbook-xsl\docs\tableex.xml C:\FEY\docbook\docbook-xsl\html\docbook.xsl that's the way it is suggested by the java command line docs. additionally always use CLASSPATH (uppercase), just to make sure. regards daniel s. haischt -- > -----Ursprüngliche Nachricht----- > Von: Sebastian Fey [mailto:fey@parsytec.de] > Gesendet: Montag, 21. Juli 2003 15:08 > An: docbook-apps@lists.oasis-open.org > Betreff: [docbook-apps] SAXON - extensions dont work (classpath is set i > think) > > > hi, > > i just tried to use the adjustColumnWidths - Extension. > should be easy: add saxon651.jar to classpath, thats all. > > but i always get this errormessage: > > C:\FEY\sax65>java -cp c:\fey\saxon651.jar -jar saxon.jar -o > out\tableex.htm > C:\FEY\docbook\docbook-xsl\docs\tableex.xml > C:\FEY\docbook\docbook-xsl\html\docbook.xsl > No adjustColumnWidths function available. > Processing terminated by xsl:message at line 404 > > unforunately its not very detailed, so i dont know if saxon finds the .jar > at all... > > same with this classpath: > > C:\FEY\sax65>echo %classpath% > C:\FEY\saxon651.jar;C:\FEY\sax65\saxon.jar; > C:\FEY\sax65>java -cp %CLASSPATH% -jar saxon.jar ... > > im a newbe to java so most likely i did something wrong, but i > cant imagine > what... > im using java 1.4.0_02, w2k sp3 > > > i lost hope :/ plz help > > thx > -seb > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]