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.
Added displayName property into the Library's SPI allowing an implementor to provide the a display name of the Library which differs from the system (identifying) name. The NamedLibraryImplementation extending the LibraryImplementation was added into the SPI. The new Library schema for global libraries was added, for project libraries a property libs.${lib_name}.displayName is used. New methods createLibrary were added into the LibraryManager.
Created attachment 108793 [details] Proposed patch
Created attachment 108794 [details] Proposed patch
I will also do the rewrite for server libraries.
The server libraries does not need any change as they are using LibrariesSupport.createLibraryImplementation
I will integrate it tomorrow.
Fixed jet-main ac7d98ff7208
[JG01, sorry it is late] The 'version' attribute on <library> is pointless since this is already implied by the namespace you use.
Right, the version attribute is useless as the schema implies the version. I wanted to have the new library definition the same as the previous one. But the version is really useless. I don't see it as a big problem. Removing it may cause problems in reading libraries in dev builds (incompatible change) but probably not many users are using it yet, so it can be probably done. But I would prefer not to do it.