Removing referenced Java XOM resources

Before you remove a Java™ XOM resource that is referenced from rulesets or libraries, you must first remove all links that point to the resource.

About this task

You want to remove a Java XOM resource at one point, but it might be referenced from rulesets or libraries. Before you remove a resource that is referenced from rulesets or libraries, you must remove the following links:
  • Links pointing from rulesets to the resource that you want to remove
  • Links pointing from libraries to the resource that you want to remove

Procedure

  1. In the Explorer tab, open the Resource view of the Java XOM resource that you want to remove.
    See the following sections to check whether the resource is referenced from other artifacts:
    • References from Rulesets
    • References from Libraries
  2. Click the Remove all references action button.

    A warning message is displayed.

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

Results

The resource is now removed cleanly.

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