This document lists changes made to the Project Libraries API.
Fuller descriptions of all changes can be found below (follow links).
Not all deprecations are listed here, assuming that the deprecated APIs continue to essentially work. For a full deprecation list, please consult the Javadoc.
These API specification versions may be used to indicate that a module requires a certain API feature in order to function. For example, if you see here a feature you need which is labelled 1.20, your manifest should contain in its main attributes the line:
OpenIDE-Module-Module-Dependencies: org.netbeans.modules.project.libraries/1 > 1.20
LibrariesSupport; made by: dkonecny; issues: #129628
API review of Sharable Libraries requested using URI for relative paths instead of URL.
LibraryCustomizerContext class to provide richer
context to libraries customizer.
Signatures of some methods previously using URL were changed to use URI. Some URL handling methods were removed and/or replaced with URI counterpart.
LibrariesSupport; made by: jglick; issues: #44035
There is a new API and SPI for project libraries
(or, more generally, libraries with specific storage locations).
LibraryStorageArea are new, as are methods
LibraryProvider was also generified.)
LibrariesSupport has few additional helper methods.
There's also new methods and classes for UI customizations of Libraries, eg.
LibraryManager.addLibrary will not work with areas,
so it was deprecated in favor of the new
Code which obtained a
Library of arbitrary origin,
and then assumed it could refer to that library henceforth by name only,
will not work with project libraries.
The simplest persistent identifier for a new-style library is pair of name
and URL of manager (null for the default manager).
LibraryTypeProvider; made by: mkleint
LibraryTypeProvider.getCustomizer() can return null for some volume types.
LibrariesSupport; made by: tzezula
Added method for adding and removing a new library into/from the library manager. Added a factory class for creating Library (API object) form LibraryImplementation (SPI object). Added a support methods for listing installed LibraryTypeProviders.
To indicate that this is now considered a stable API, the major release version was incremented to 1 from 0.
Clients should begin requesting the new version to avoid a warning at startup.
Built on May 30 2008. | Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.