xalan-java extension / dll in classpath

Having trouble installing Oxygen? Got a bug to report? Post it all here.
wversaevel
Posts: 4
Joined: Thu Feb 10, 2005 1:33 pm

xalan-java extension / dll in classpath

Post by wversaevel »

Hello
I'm using the xalan extension in my xsl stylesheets. In my java code I'm using some DLL librairies and some jar.
But it doesn't work when I'm using them with Oxygen even if I put the DLL in the lib directory of Oxygen.
And in general, I would like to know how to use external librairies (without putting those in the lib directory). I'm using the standalone version and it's written in the doc that I have to modify a "oxygen.lax" file, but this one doesnt' exist...
Is it possible to know precisely how could I do work all of this.
Thanks for helping me :-)
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

See http://www.oxygenxml.com/doc/ug-oxygen/ ... sions.html for a description of how to set up additional class path locations for the extensions.
Another way is to drop the jars in the lib folder and restart oXygen. I'm not sure about the DLL, try placing it in the oXygen home folder, that should be the application current directory and I guess they should be visible.

Best Regards,
George
wversaevel
Posts: 4
Joined: Thu Feb 10, 2005 1:33 pm

Post by wversaevel »

thanks a lot.
I'll try that for the DLL.
For the jar files , is it possible to use jar files from external folders (not in the oXygen folder) ?

regards
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

wversaevel wrote: For the jar files , is it possible to use jar files from external folders (not in the oXygen folder) ?
Yes, that is exactly what http://www.oxygenxml.com/doc/ug-oxygen/ ... sions.html describes.

Best Regards,
George
wversaevel
Posts: 4
Joined: Thu Feb 10, 2005 1:33 pm

Post by wversaevel »

ok. But it doesnt' work... even if I put my jar directory in the oXygen root folder.
I added the following parameter in my oxygen.ini file: com.oxygenxml.additional.classpath=myJarFolder
The jar inside are not loaded...
If I put those in the lib folder it works.
(I'm using oXygen 5.0)

All is ok for the DLL, it works only if I put directly the DLL files in the home folder. thanks !

regards
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

You need to set the additional classpath to point to the jars themselves not to the folder that contains them, sorry if the doc does not make that very clear.

Best Regards,
George
wversaevel
Posts: 4
Joined: Thu Feb 10, 2005 1:33 pm

Post by wversaevel »

ok thank you for all the explanation :-)

regards,

William
Post Reply