Hello,

I've tried to write my own ScriptProvider component in Java according to
the Developer's Guide instructions in chapter 18.5. I managed to compile
all four classes and packed them into a jar file called
ScriptProviderForJava.jar. Further more I appended the subdirectory
META-INF which has just one file called MANIFEST.MF with following two
rows:
Built-By: Rainer Hahnekamp
RegistrationClassName: ScriptProviderForJava
Then I packed this jar-file into a zip file named
ScriptProviderForJava.uno.pkg including a the subfolder META-INF and the
file manifest.xml with following content:
<manifest:file-entry 
manifest:media-type="application/vnd.sun.star.uno-component;type=Java" 
manifest:full-path="ScriptProviderForJava.jar"/>
Finally I added the package via
unopkg add ScriptProviderForJava.uno.pkg
Unfortunately it did not succeed. Still in OpenOffice.org under
Tools->Package Manager... it is listed as disabled. When I want to
enable it I get the error message:
Enable: Cannot determine registration class.
If the registration class is the entry in MANIFEST.MF OpenOffice should
be able to find it, since there exists a class called
ScriptProviderForJava.

Does somebody know what went wrong here?


Greetings,
-Rainer Hahnekamp



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

Reply via email to