You can add a Java classpath
library that you are storing in a Rational® Asset
Manager repository to your Eclipse projects.
Before you begin
To reference a Java classpath
library, you must have an existing project in your current Eclipse
workspace.
Procedure
To add a custom classpath library that is an artifact
of an asset to a Java project:
- In the Project Explorer view, right-click the name of the Java project; then, click Properties. The Properties window opens.
- Click Java Build Path.
- In the Java Build Path page, click the Libraries tab.
- Click Add Library.
- In the Add Library window, click Rational Asset
Manager libraries; then, click Next.
- Select the repository connection
to search for assets; if you need to create a new repository connection,
click Create.
- Type keywords to search for the asset that holds your custom
classpath library and click Search. Any assets that match your search appear in the window.
- Expand the appropriate assets
and select the JAR files that you want to include in the project classpath.
- Repeat steps 6 through 8 above
for all the artifacts that you want to reference.
- Click Finish.
Results
The custom classpath libraries that you are storing in Rational Asset
Manager will be added to the build path for your project.