Installing Rule Designer

You add Rule Designer to an existing Eclipse environment.

Before you begin

You use Rule Designer to create decision services. To install Rule Designer, you must have the appropriate JDK and Eclipse for your operating environment already installed on your computer. Consult the download information in the cloud portal for more information.

Check the Java™ version of your Eclipse installation, and change it if necessary. In Eclipse, click Help > Installation Details. On the Configuration tab, check the version of Java in the java.version system property. You must use the SDK listed in the Rule Designer download dialogue box.

To change your Eclipse to the correct version of Java:
  1. Close Eclipse.
  2. Open eclipse/eclipse.ini, and add or edit the following two lines at the beginning of the file:
    -vm
    <SDK_InstallDir>/bin 

    <SDK_IntallDir> is the location of the Java instance on your computer.

  3. Restart Eclipse.

Make sure Eclipse and Java both use the same bit value, either 32 or 64.

Tip: If you get an error while installing Rule Designer, install the Eclipse Modeling Tools.

About this task

In your Eclipse installation, you configure a repository and use it to install Rule Designer.

Procedure

  1. Launch Eclipse.
  2. Click Help > Install New Software.
  3. In the Install dialog, click Add.
  4. In the Add Repository dialog, enter the repository details that are available from the cloud portal.
    To obtain the repository details:
    1. Log in to the cloud portal.
    2. Open Navigation menu > Download resources > Rule Designer.
    3. Copy the URL for Rule Designer, for example, https://raw.githubusercontent.com/DecisionsDev/ruledsigner/<release version>/p2. download window, copy the Eclipse update site URL to the Location field of the Add Repository dialog of your Eclipse, and click .
    4. Enter the URL in the Location field of the Add Repository dialog, and click Add.
  5. Select the package IBM ODM on Cloud, and click Next.
  6. Click Next again.
  7. Accept the license terms.
  8. Click Finish.
  9. Click Install Anyway to accept unsigned content.
  10. Click Restart Now to restart Eclipse. Make sure your workspace is selected, and then click OK.
  11. In the wizard that opens, enter the URL for the cloud portal in the format https://<vhostname>.automationcloud.ibm.com/.
    You can test the connection to the cloud portal by clicking Connect and providing your credentials.
  12. Click Finish.
    The wizard configures the connections to your Decision Center and Rule Execution Server instances on the cloud.
    Tip: You can run the connection configuration wizard anytime from the Rule Designer menu bar by clicking File > Configure IBM ODM on Cloud or CP4BAaaS connection. For example, you might want to connect as a different user to the portal.
  13. When Rule Designer opens, switch to the Rule perspective if it does not open by default.

What to do next

Make sure that you configure Rule Designer by following these instructions:
  1. Open eclipse.ini.
  2. Add the following code:
    -vmargs
    -Dcom.ibm.rules.studio.cloud.contextRootType=icp4asaas
    -Dcom.ibm.rules.studio.dbasaas.zones=dev,run
    Note: Dcom.ibm.rules.studio.dbasaas.zones should be set to dev for an Express tenant, and to dev,test,run for an Enterprise tenant.
  3. Save your changes.
When you start Eclipse with Rule Designer, the wizard connects to the servers in the tenant.