Removing referenced Java XOM libraries

Before you remove a Java™ XOM library that is referenced from rulesets or other libraries, you must first remove all links that point to the library. When the links pointing to the library are removed, links that are pointed from the library are removed at the same time.

About this task

You want to remove a Java XOM library at one point, but it might be referenced from rulesets or other libraries. Before you remove a library, the following links must be removed:
  • Links pointing from rulesets to the library that you want to remove
  • Links pointing from other libraries to the library that you want to remove
The library that you want to remove might be referencing other libraries or resources as well. In the Rule Execution Server console, the preceding links as well as the following links can be removed in one go:
  • Links pointing from the library that you want to remove to Java XOM resources
  • Links pointing from the library that you want to remove to other libraries

Therefore, the library cab be removed cleanly without any link attached to it.

Procedure

  1. In the Explorer tab, open Library view of the Java XOM library that you want to remove.
    See the following sections to check whether the library is referenced from other artifacts, or if it references other artifacts:
    • Referenced Internal Resources
    • Library References
    • References from Rulesets
    • References from Libraries
  2. Click the Remove all references action button.

    A warning message is displayed.

    Remember: Only the links to the library are deleted. The artifacts that reference the library, such as rulesets and libraries, are not deleted. The artifacts that are referenced from the library are not deleted, either.
  3. Click the Remove action button.
    Important: If you do not remove the library, references might not be updated when you redeploy the RuleApp. You might need to update them manually.

Results

The library is now removed cleanly.

You can remove multiple libraries by using the Remove all references and Remove buttons respectively in Libraries View.