This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Maybe I'm missing something but - if one develops NB modules then NB platform (as a library) has to be set. This relation is done using NB platform (display) name, it means that every member of a team has to name his/her NB platform with the same name. I think that it would be much better to have something "immutable" (set by NB itself), something similar to Java source level (something like NB_69, NB_691 etc.). Thanks.
(In reply to comment #0) > This relation is done using NB platform (display) name Well, whatever you type as the platform name. > it means that every member of a team has to name his/her NB platform with > the same name. Correct. I like to use "nb69" etc. > I think that it would be much better to have something "immutable" (set by NB > itself), something similar to Java source level (something like NB_69, NB_691 > etc.). The wizard could prefill a more generic name. See bug #74399 for analogy.
The main difficulty is that there is no equivalent to ${java.specification.version} for a NB Platform. There are spec versions for various modules, but "NetBeans IDE 6.9.1 (Build ...)" is a localized branding name with no code meaning.
(In reply to comment #2) > The main difficulty is that there is no equivalent to > ${java.specification.version} for a NB Platform. There are spec versions for > various modules, but "NetBeans IDE 6.9.1 (Build ...)" is a localized branding > name with no code meaning. Cannot we add such property? It seems to me to be very similar (the same) as NB version.
core-main #b99c72a4d4ce
(In reply to comment #3) > Cannot we add such property? Probably not, because the platform is just a collection of modules which might have different origins. Anyway a new property would not help with 7.0.1 and prior platforms. For now I just put in code to extract usable versions from known display name patterns (org.netbeans.core.startup.Bundle#currentVersion). If a localization translates this key (and none in main/l10n do so), or you are using a branded IDE from another vendor, or some non-IDE app, then you still need to pick a platform ID suitable for sharing. I also made changes to the UI of NB Plaf Mgr and its Add wizard to differentiate the "Platform Name" (mostly like the internal ID, modulo s/ /_/g and so on) from the informational "Platform Label" (derived from currentVersion), and renamed the platform with ID=default to "Development IDE". Note that preexisting custom platforms keep the same Platform Name (and ID); so if you chose a crappy name before it will still be there.
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/b99c72a4d4ce User: Jesse Glick <jglick@netbeans.org> Log: #200660: NetBeans platform should not be referenced by display name