Referencing Java classpath library artifacts in Eclipse projects

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:

  1. In the Project Explorer view, right-click the name of the Java project; then, click Properties. The Properties window opens.
  2. Click Java Build Path.
  3. In the Java Build Path page, click the Libraries tab.
  4. Click Add Library.
  5. In the Add Library window, click Rational Asset Manager libraries; then, click Next.
  6. 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.
  7. Expand the appropriate assets and select the JAR files that you want to include in the project classpath.
  8. Repeat steps 6 through 8 above for all the artifacts that you want to reference.
  9. 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.


Feedback