Rony G. Flatscher wrote:
Hmm,

just to be sure: if I add my jar-file ("oorexx-uno.jar", containing a plain Java-class that itself will access UNO classes) to a package ("ScriptProviderForooRexx.jar") and add the (extension) entry in the package's manifest file:

   Class-Path: oorexx-uno.jar

Would that be sufficient in that all Java-programs that got invoked via the scripting engine can get access to the content of "oorexx-uno.jar"?

no, it isn't sufficient, only the component jar can use the classes coming with your oorexx-uno.jar. Components are loaded via an own classloader and typically only UNO objects are exported/returned over an public UNO API of the component (existing or new API's). If you want to make the pure Java API available for common use you have to convert it into an UNO API or make it available over the java settings.
But let me think about it if it might be useful ...

Juergen


If not, where could I find infos on how to supply the needed entries in the manifest file for the package?

Regards,

---rony



Kay Ramme - Sun Germany - Hamburg wrote:
Ollie,

Oliver Braun wrote:
All jars files in <jre>/lib/ext are added to the CLASSPATH automatically, having something similar in OOo would be nice.
I am wondering, what the use cases would be. Only think I can come up with is to simplify the development of components (avoiding zipping and installation). The "program/classes" directory is currently an implementation detail only, switching to the URE is going to change the directory structure incompatible. By the way, there is not yet a "user/classes" directory, so that jar files could only be added to the base installation.

I thought that being able to edit the javasettings file would be sufficient.

Regards,
Oliver
Kay



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to