- From: Geert Josten <geert.josten@daidalos.nl>
- Date: Wed, 12 Oct 2011 15:24:54 +0200
- To: Olivier JEULIN <olivier.jeulin@gmail.com>, "xproc-dev@w3.org" <xproc-dev@w3.org>
Hi O.J., The -jar and -classpath option of Java won't work together. You need to use either. Since you want to load your own jar, use -classpath. It should be sufficient to add saxon9ee.jar, and calabash.jar, provided you have any of the calabash libraries in a 'lib' subfolder relative to it. You can also put all dependencies on the classpath, but that is more cumbersome.. Kind regards, Geert -----Oorspronkelijk bericht----- Van: xproc-dev-request@w3.org [mailto:xproc-dev-request@w3.org] Namens Olivier JEULIN Verzonden: woensdag 12 oktober 2011 14:56 Aan: xproc-dev@w3.org Onderwerp: How to use Saxon EE with calabash ? Hi, I'm trying to use Saxon-EE 9.3.0.5J with calabash 0.9.34, with the "-a" flag (I read that in http://lists.w3.org/Archives/Public/xproc-dev/2011Jul/0009.html). I modified the calabash script: ================== cat `which calabash` #!/bin/sh CLASSPATH=/usr/local/saxon9/ee/saxon9ee.jar export CLASSPATH DIR_CALABASH=xmlcalabash-0.9.34 java -Xmx2560m -classpath $CLASSPATH -jar /usr/local/eip/xml/bin/$DIR_CALABASH/calabash.jar "$@" ================== But I get the message: "Failed to obtain schema-aware processor." Running Saxon from the command line works: $ java -classpath /usr/local/saxon9/ee/saxon9ee.jar net.sf.saxon.Transform No source file name Saxon-EE 9.3.0.5J from Saxonica So, what I am missing ? -- O. J.
Received on Wednesday, 12 October 2011 13:25:26 UTC