Page 1 of 1

Saxon SA Install - Where do I put the license file?

Posted: Thu Aug 25, 2005 5:35 am
by fredgers
Hi All,

Where should I put my license file for Schema Aware Saxon so Oxygen can find it in a directory on its classpath?

I tried oxygen/lib and had no luck. I also tried setting the $CLASSPATH in my home .profile and while this allows me to do

java com.saxonica.Validate doc.xml schema.xsl

from the command line, I still get no luck from Oxygen. Also, mabe related or not, the error I'm getting from the transformation is not a "license not found" error but rather

E com.saxonica.validate.SchemaAwareConfiguration.setMultiThreading(Z)V

I am running on OSX 10.4. I installed java 5.0 but Oxygen is picking up the 1.4 install to run.

Can anybody please help me.

Thanks a lot,
Fred

One more thing...

Posted: Thu Aug 25, 2005 5:38 am
by fredgers
Just another piece of info...

I'm running Oxygen 6.1

Thanks,
Fred

Solved (sorta)

Posted: Thu Aug 25, 2005 6:30 am
by fredgers
So with further reading of the documentation I found I should update my oxygenMac.sh script...

java "-Xdock:name=Oxygen"\
-Dcom.oxygenxml.additional.classpath="/Users/fredgers/Desktop/saxonsa8-5"\
-Dcom.oxygenxml.editor.plugins.dir="$p/plugins"\
-Xmx256m\
-cp "$CP" ro.sync.exml.Oxygen $1 $2 $3 $4 $5 $6 $7 $8 $9

Unfortunately I'm still getting the same error...

E com.saxonica.validate.SchemaAwareConfiguration.setMultiThreading(Z)V

I guess I'll email saxonica to see what this error means.

Also... Is there a way to get my system parameters when double clicking on the nice Oxygen.app icon instead of running the sh script from the shell?

Thanks everyone!

Re: Saxon SA Install - Where do I put the license file?

Posted: Thu Aug 25, 2005 11:57 am
by sorin_ristache
Hello,
fredgers wrote:I tried oxygen/lib and had no luck.

E com.saxonica.validate.SchemaAwareConfiguration.setMultiThreading(Z)V
Saxon SA 8.5 cannot be used in <oXygen/> 6.1 because Michael Kay changed the API. You have to wait until the 6.2 release in September. Use Saxon SA 8.4 in <oXygen/> 6.1.
fredgers wrote:Is there a way to get my system parameters when double clicking on the nice Oxygen.app icon instead of running the sh script from the shell?
Add them to Info.plist to the section with the Java key.

Best Regards,
Sorin