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

Having trouble installing Oxygen? Got a bug to report? Post it all here.
fredgers
Posts: 3
Joined: Thu Aug 25, 2005 5:14 am
Location: NYC

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

Post 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
fredgers
Posts: 3
Joined: Thu Aug 25, 2005 5:14 am
Location: NYC

One more thing...

Post by fredgers »

Just another piece of info...

I'm running Oxygen 6.1

Thanks,
Fred
fredgers
Posts: 3
Joined: Thu Aug 25, 2005 5:14 am
Location: NYC

Solved (sorta)

Post 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!
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

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

Post 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
Post Reply