On 07/25/10 23:24, rony wrote:
Is there something I must also denote in the "description.xml" file to

you need a "META-INF\manifest.xml" where you list all your files, for example:

.. cut (thank you very much for that very helpful snippet!) ...

http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Extensions/File_Format

Thank you very much for this link as well!

Here is my current, timid "manifest.xml", which does not cause the
"RegistrationClassName" to be followed:

     <?xml version="1.0" encoding="UTF-8"?>
     <!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" 
"Manifest.dtd">
      <manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest";>

          <manifest:file-entry manifest:full-path="%origin%" 
manifest:media-type="application/vnd.sun.star.uno-component;type=Java" />

     </manifest:manifest>

To avoid a misunderstanding: You cannot rename ScriptProviderForooRex.jar to ScriptProviderForooRex.oxt and include a description.xml and META-INF/manifest.xml in that zip. Instead, you need to create a new zip ScriptProviderForooRex.oxt that includes ScriptProviderForooRex.jar, description.xml, and META-INF/manifest.xml. Then, a manifest:full-path="ScriptProviderForooRex.jar" should work.

-Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org

Reply via email to