Hi Ariel,

Ariel Constenla-Haile wrote:
Hi all,

in NetBeans Plug-in 2.0.0 the extension descriptions (added to the
description.xml using the "Project Properties" dialog) are not added in
the manifest nor added to the oxt, so there is no description at all.
that is not the same. The descriptions in the project properties dialog will be referenced in the description.xml. The descriptions in the manifest are the old mechanism and i would say the are deprecated. Maybe the documentation is not up-to-date.

I talked to Joachim and the related cws will come into 3.1. I thought it was in 3.0. Anyway the plugin supports only the new way that is a reference in the description.xml.

That the description folder isn't packed into the oxt file seems to be a bug. It seems that the 20 plugin version has some problems. We will fix it asap.

Juergen



To reproduce:

1. right-click on the project root in the "Project" tree view, and
choose "Properties"

2. in the "Project Properties" dialog, select the category
"OpenOffice.org" - "Display"

3. in "Description" select the "Browse" button, and choose a .txt file
with the extension description

This will create a new folder "description" with the file and an entry
in the description.xml:


    <extension-description>
        <src lang="en-US" xlink:href="description/desc-en-US.txt"/>
    </extension-description>


Issues:

* the plug-in does not create an entry in the uno-manifest (AFAIK there
must be an entry per tooltip; this is planned to change, but it still
works this way)

  <manifest:file-entry
manifest:media-type="application/vnd.sun.star.package-bundle-description;locale=en-US"
                       manifest:full-path="description/desc-en-US.txt" />


* the "description" folder and its content are not added to the OXT


Regards,
Ariel.




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

Reply via email to