Hi Jürgen,
Juergen Schmidt escribió:
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.
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Extensions/Extension_Description
seems to be up-to-date:
Versions of OOo earlier than 3.1 use the "Tooltip Description" of an
extension which is kept in the manifest.xml. Using the "Tooltip
Description" is *deprecated* as of OOo 3.1 and that functionality will
not be maintained. Since then the description is specified in the
description.xml. OOo 3.1 and later will first try to get the description
from the description.xml. If there is none then it will try to get the
tooltip description. That is, extensions can start to use this feature
and need not necessarily require OOo 3.1. However, developers should be
aware that the tooltip description may be removed in the future.
As OOo 3.0 extensions (in /sdext and /filter/source/pdfimport) use the
package-bundle-description thing, I thought that also the NB plug-in
2.0.0 (released for/together with OOo 3.0.0) would work for OOo 3.0.0
;-) ... at least considering that 3.1 release is in March 5th, 2009
(http://wiki.services.openoffice.org/wiki/OOoRelease31) and we are
supposed to develop for the current OOo version, not for 5/6 month to
come...
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.
yes, that's clear from
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Extensions/Extension_Description
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.
IMHO placing this version in the NB update center was a little premature
(for production work this version has already given me several
headaches), next time if you do a pre-release for testing and announce
it here, I'm sure many of us will help testing it.
Regards
Ariel
--
Ariel Constenla-Haile
La Plata, Argentina
[EMAIL PROTECTED]
http://www.ArielConstenlaHaile.com.ar/ooo/
"Aus der Kriegsschule des Lebens
- Was mich nicht umbringt,
macht mich härter."
Nietzsche Götzendämmerung, Sprüche und Pfeile, 8.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]