Editing JAR Dependencies

In ALSB, JAR resources can contain classes that depend on other classes in different JARs. Use the Edit JAR Dependencies page to add or remove referenced JAR resources.

  1. If you have not already done so, click Create to create a new session, or click Edit to enter an existing session. See Using the Change Center.
  2. Locate the JAR, as described in Locating JARs.
  3. Click the JAR name.
  4. On the View a JAR Resource - JAR Configuration page, a numeric indicator on the Dependencies tab displays the number of referenced JARs configured for this JAR resource, or a zero if there are none.

  5. Select the Dependencies tab to display referenced JARs or to add them.
  6. The JAR dependencies page includes the information shown in Table 7-4.

    Table 7-4 JAR Dependencies Information 
    Property
    Description
    Name
    The name of the referenced JAR. The name is a link to the View a JAR Resource - JAR Configuration page. See Editing JARs.
    Path
    The path is the project name and the name of the folder in which the JAR resides.

  7. To add or remove referenced JARs, click Edit.
  8. The Edit JAR dependencies page includes the information shown in Table 7-5.

    Table 7-5 JAR Dependencies Details
    Property
    Description
    Manifest Class Path
    Class-Path entries in the JAR manifest file.
    Name
    The name and path of the referenced JAR resource.
    Options
    • Use the Up and Down arrows to change the referenced JARs order of precedence.
    • Click the Delete icon to remove a referenced JAR.

  9. Click Add JARS.
  10. In the JARs Browser, locate or select referenced JAR resources and click Submit.
  11. For example, if you are editing JAR A and adding JARs B and C, JAR A references (depends on) JAR B and JAR A references (depends on) JAR C.

    Use the arrows in the Options column to reorder the hierarchy of referenced JARs or the Delete icon to remove them.

  12. Click Save to commit the updates in the current session.
  13. To end the session and deploy the configuration to the run time, click Activate under Change Center.