Page 1 of 1

xalan-java extension / dll in classpath

Posted: Thu Feb 10, 2005 4:17 pm
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 :-)

Posted: Thu Feb 10, 2005 7:21 pm
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

Posted: Fri Feb 11, 2005 4:55 pm
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

Posted: Fri Feb 11, 2005 5:10 pm
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

Posted: Fri Feb 11, 2005 7:02 pm
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

Posted: Fri Feb 11, 2005 7:12 pm
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

Posted: Mon Feb 14, 2005 6:38 pm
by wversaevel
ok thank you for all the explanation :-)

regards,

William