FeaturesPluginsDocs & SupportCommunityPartners

Third-party library modules

This project is not a regular NetBeans module. It is a place for different NetBeans pseudo-modules. A pseudo-module is a NetBeans module which only includes a third-party library and no "real" code. This is perhaps the best way to share libraries among modules in NetBeans.

This project contains libraries in versions that are best suited for most modules. Ideally the project should contain only implementations of standard extensions (and therefore interchangeable) that are not a part of all supported JREs.

If a library version included in this project is not well suited for your module, report it in Issuezilla. If your proposed version is not be accepted by others then you can create your own wrapper module with a specific library version and add a dependency on it. But this should be avoided.

Existing integration modules

The number of hosted modules is not fixed. You can add a library your module depends on. See the instructions below. Following is a list of libraries already integrated.

Xerces module

Apache's Xerces is an XML parser implementing the JAXP API.

If your module specifically requires a stable Xerces library you should specify a module dependency on org.netbeans.libs.xerces/1 in your module's manifest:

OpenIDE-Module-Module-Dependencies: org.netbeans.libs.xerces/1

Normally when you do this you will be referring to Xerces classes directly, e.g. because they provide some special API. If you can live with plain JAXP, just use it - there is no need to depend on this module in thst case.

XHTML module

This module wraps W3C XHTML resources bundled with XHTML specification. Most clients will be interested in XHTML DTDs. Adding dependency on this library includes them in search path on dependent module class loader.

J2EE Editor module

This module offers the basic infrastructure for building visual editors for J2EE components. The library contains different Swing components and sustomizers suitable for J2EE components (resoure references, EJB references). Primarily, the library was developed for building the EJB module editor and web.xml editor.

If your module specifically requires the J2EE Editor library you should specify a module dependency on org.netbeans.libs.j2eeeditor/1 in your module's manifest:

OpenIDE-Module-Module-Dependencies: org.netbeans.libs.j2eeeditor/1

PMD

This SourceForge project library jar is under the external directory but the actual build script exists under the contrib/pmd-nb-wrapper NetBeans project.

Apache Commons Logging

This module is a wrapper for the Apache Commons Logging library. Modules which use it should declare a dependency on it, i.e.:

OpenIDE-Module-Module-Dependencies: org.netbeans.libs.commons_logging/1
Companion
Projects:
MySQL Database Server   Open JDK: an Open SourceJDK   GlassFish Community: an Open Source Application Server    Mobile & Embedded Community    Open Solaris   java.net - The Source for Java Technology Collaboration   Open ESB - The Open Enterprise Service Bus Powered by