Repackaging the SSP file using the ssp-setup Ant task

You use the ssp-setup Ant task to repackage the Scenario Service Provider (SSP) file.

About this task

To automate repackaging of the SSP, you can add the ssp-setup Ant task to your build or deployment process. This Ant task updates and repackages the SSP .ear file.

Note:

When you repackage the SSP archive using the wizard or dialog, the generated build.xml contains the ssp-setup Ant task.

Procedure

To use the ssp-setup Ant task:

  1. Define the Ant task in your build.xml file in one of the following ways:

    You can define the task at the top level or within a specific target:

    • The <taskdef> Ant task in your Ant file: <taskdef resource="res-tasks.properties" classpath="${<InstallDir>}\executionserver\lib\jrules-res-setup.jar"/>

      -OR-

    • If the JAR file is available in your system: <taskdef resource="res-tasks.properties"/>

  2. Use the <ssp-setup> element to use Ant to update an SSP artifact to your specific configuration and XOM.
  3. Run the Ant task in one of the following ways:
    • From the command line: Execute Ant in the required directory, followed by the name of the build file if necessary.

    • From Eclipse: Right-click the Ant file and click Run.