W3C home > Mailing lists > Public > xproc-dev@w3.org > October 2011

RE: How to use Saxon EE with calabash ?

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>
Message-ID: <B26C615F8546A84C81165A7BC8BE61A020FC0F9330@EXMBXC01.ms-hosting.nl>
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,

-----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 ?

I'm trying to use Saxon-EE with calabash 0.9.34, with the
"-a" flag (I read that in

I modified the calabash script:
cat `which calabash`



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 from Saxonica

So, what I am missing ?
O. J.

Received on Wednesday, 12 October 2011 13:25:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:09 UTC