Everything I put in my NetBeans project won't be into the oxt file generated...
I suppose this happens because of wrong manifest file?

I expect something like this:

- Myextensiondir
|___META_INF/
|___myextension.jar
|___description.xml
|___external_jars
|___images/
|___MY_OWN_DIR/
       |___./mysubdir1/a_file.mar
       |___./mysubdir2/a_file.jks
       |___./mysubdir2/a_file.keystore
|___registry


but I can't understand how to put MY_OWN_DIR here.
If I try extracting the oxt generated by NetBeans, then putting my dir there, zipping again, OOo extension manager tells me that the extension has been not recognized (or something like that, I have the Italian version)
I've surfed the whole http://api.openoffice.org/ website with no success :(

Thomas Lange - Sun Germany - ham02 - Hamburg wrote:
Hi giancarlo,

When I say "directory", it means the SSL certificate directory

The extension will implement my webservice client, which needs the "directory"

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

How you organize your extensions content is completely up to you.
It depends on your code where it will expect that directory.

There is one more useful service for you to check though:
http://api.openoffice.org/docs/common/ref/com/sun/star/deployment/XPackageInformationProvider.html

The function getPackageLocation will give you the path to the main
directory of the installed (i.e. unpacked) extension. If you know that
one you should know how to continue since you packed the extension.


Regards,
Thomas

---------------------------------------------------------------------
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]

Reply via email to