Apache OpenOffice (AOO) Bugzilla – Issue 95477
NetBeans Plug-in 2.0.3 : "Create OXT" deletes custom uno-manifest entries
Last modified: 2013-02-24 20:55:03 UTC
with the new 2.0.0 version of the NB plug-in, if I have a uno-manifest like this: <?xml version="1.0" encoding="UTF-8"?> <manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest"> <manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-typelibrary;type=RDB" manifest:full-path="DialogComponent.uno.rdb"/> <manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-component;type=Java" manifest:full-path="DialogComponent.uno.jar"/> <manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-typelibrary;type=Java" manifest:full-path="DialogComponent_IDL_types.jar"/> <manifest:file-entry manifest:media-type="application/vnd.sun.star.basic-library" manifest:full-path="DialogComponent/"/> </manifest:manifest> choosing "Create OXT" will "reset" the uno-manifest, erasing the entry for the basic library.
Created attachment 57476 [details] the uno-manifest BEFORE "Create OXT"
Created attachment 57477 [details] the uno-manifest AFTER "Create OXT"
Created attachment 57478 [details] sample extension to reproduce
Accepted. As a workaround: the plugin does not delete the entry, if there is a folder named DialogComponent in your project root. I guess that your basic library is in a different folder or sub-folder in your project, am I right? Then the plugin assumes that the entry is invalid and removes it. But that is a bug: Somehow the distinction between user entries and entries made by the plugin does not work correctly here, user entries should never be touched by the plugin.
changed plug-in version in the summary, as this still happens in 2.0.3 arielch->sg: sorry I missed to answer you. But no, I don't do anything special, and the basic library is inside the root project folder, in a a folder named DialogComponent; so the workaround does not work.
> But no, I don't do anything special [...] ups, I forgot I attached the project here. You can test it yourself, just unzip DialogComponent.zip
set target.