ILOG JRules User Guide > Testing Rules with Rule Scenario Manager > Tasks > Defining Rule Scenario Manager Artifacts > Adding Scenario Support Files to a Project

You can generate an ra.xml file for an existing project:

To generate an ra.xml file:

  1. Click File > New > Other.
  2. On the Select a Wizard page, expand the ILOG Rule Studio category, expand the Rule Scenario Manager category, and then select Scenario Support Files.
  3. Click Next.
  4. On the Destination Java Project page, select the Java project in which you want the new files to be created.
  5. Click Next.
  6. On the ra.xml file page, either:
    1. If you do not want to create an ra.xml file, select Do not generate an ra.xml file.
    2. If you want to generate an ra.xml file:
  7. If there is no configuration to select, create one using the New Rule Execution Server Configuration wizard, as follows:
    1. On the Execution Server Configuration Selection page, click Create a configuration.
    2. On the Add New Configuration to a Project page, select the Rule Execution Server project in which you want to create the new configuration and click Next to specify the configuration name.
    3. On the Configuration Name page, either accept the default configuration name or replace, and then click Next.
    4. On the RuleApp Deployment page, select the required deployment mode (file or database).
    5. Click Finish, and select the new Rule Execution Server configuration.
  8. On the ra.xml file page, with the Rule Execution Server configuration selected, click Finish.

Related Concepts

Scenarios

Related Tasks

Creating a Client Scenario Project for RuleApps
Adding a Scenario to a Project

Related Samples

How to Test Rules in Rule Scenario Manager Using Java Binding
How to Test Rules in Rule Scenario Manager using XML Binding