Hi Rony,
Rony G. Flatscher wrote:
Hi there,
just installed RC2 and a scripting language extension for ooRexx
("ScriptProviderForooRexx.jar") which was built for earlier versions of
OOo (2.1, 2.2) and which works fine there.
Installing it with the "Extension Manger" and alternatively with
"unopkg" (either command line or with the "gui" option) brings up the
following error message:
"Can not activate the factory for
com.sun.star.script.framework.provider.oorexx.ScriptProviderForooRexx$_ScriptProviderForooRexx
because java.lang.NoClassDefFoundError:
com/sun/star/script/framework/provider/ScriptProvider"
Closing all instances of OOo (also with a reboot) will always show
"ooRexx" as an option on the "Macro..." menu item, but it is not
possible to create, load or run ooRexx scripts.
As nothing has changed in the script provider jar for ooRexx (it works
on earlier versions) I was wondering whether there were any changes for
OOo 2.3 in the Scripting framework area or in the way jars are found.
yes, the way how extensions are loaded has changed a little bit. Related
to this change the search of dependent jar becomes more important.
Extensions are now loaded with their own classloader and you have to
specify dependent jars in the manifest file of your extension jar.
I can assume that in your case your ext jar depends on some scripting
framework jars and that they are not found automatically.
Sounds like a problem and we have to think about it. I am only guessing
but it seems that we need something special handling for this kind of
scripting extensions.
you should submit an issue for that problem.
Juergen
TIA for any hints/insights,
---rony
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]