Library Manager Dialog Box
See Also
You can add Java libraries and tag libraries in the form of JAR files to an
application. For web applications, you package them in the WEB-INF/lib
folder. Examples of
JAR files that you might want to add to an application are the following:
- Custom tag libraries
- Supporting classes for custom tag libraries
- Java class files for servlets and the classes that they depend on
- JavaBeans components
- JDBC driver JARs
To add a tag library JAR file to an existing application, use the Library
Manager. The Library Manager provides a place for you to store libraries
so that you can easily add them to your applications.
This dialog box has the following fields and tabs:
- Libraries. List of all libraries available to the IDE. You can
add a new library to this list by clicking the New Library button at the
bottom of the dialog box and specifying the library name and library type.
You can view and edit library information by selecting the library name in
the Libraries list. You can remove a library from the IDE by selecting
the library in the Libraries list and clicking the Remove button at the
bottom of the dialog box.
- Library Name. The name of the library being viewed.
- Classpath tab. Lists the JAR resources referenced by this library.
When you add a library to a project, the IDE adds all referenced JAR
files to the project's classpath. You can use the buttons on the right
to add or remove JAR files.
- Sources tab. Lists the Java source code files. When you add a
Java source library, it is parsed by the code completion manager and
is available to the Java editor's Go To Source feature. This feature
enables you to select a Java element, such as a class name or method name,
and select Go To Source to see the source classes. You can use the buttons
on the right to add or remove JAR files or folders from the library sources.
- Javadoc tab. Lists the compiled Javadoc code. When you add a
Javadoc library, it is parsed by the code completion manager, and the
Javadoc library is available to the Java Editor. You can use the
buttons on the right to add or remove zip files or folders from the
Javadoc library.
- See Also
- About Tag Libraries
Legal Notices