Andre Fischer - Sun Microsystems Germany wrote:
Hi Stephan,
Stephan Bergmann wrote:
Two things I noticed when looking at the description.xml contained in
<http://ooo.services.openoffice.org/pub/OpenOffice.org/cws/upload/presenterscreen/presenter-screen_SolarisSparc.oxt>:
1 <identifier value="org.openoffice.PresenterScreen" /> violates the
second item at
I read section 5.3 of the Developer's Guide where it says:
By convention, use lowercase reversed-domain-name syntax (e.g.,
“org.openoffice.”) prefixes to generate unique (but still humanly
comprehensible) identifiers. When you write an extension, use the
reversed domain name of a site you controll (and not
“org.openoffice.”) as prefix.
Well, I probably missed the second sentence.
<http://wiki.services.openoffice.org/wiki/Extensions_packaging>. How
do you control that no other extension uses that identifier?
Well, that is a more philosophical question. I just try to make it
improbable that someone uses the same identifier accidentally.
IMO, it is more an administrative issue (for every subtree of the
dotted-identifier tree, enforce by some means that branches are
unique---where those means can differ by subtree) than a philosophical
question. (By the way, for Sun produced extensions, the "Writing
Extensions" page in the internal Wiki details how uniqueness shall be
maintained within the "com.sun." subtree.)
Most of all, this is a developers snapshot: all names and identifiers
are not yet final. But thank you for your comment, I will keep that in
mind when the name of the extension is finalized.
Getting identifiers and versioning right from the start would allow for
semi-automatic update even of such developer snapshots.
-Stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]