Step 5: Using an Ant task to package the SSP archive

You package the archive for testing and simulation.

About this task

The ssp-setup Ant task updates the SSP archive to your specific configuration and XOM (see ssp-setup).

Note:

This method works on Windows and other supported distributed platforms only.

Procedure

  1. Define the Ant task in your build file by using the <taskdef> Ant element in one of the following ways:
    • Define the task at the top level or within a specific target.
      <taskdef resource="res-tasks.properties" 
      classpath="${<InstallDir>}/executionserver/lib/jrules-res-setup.jar"/>
    • If the JAR file is available in your system, you can write the following code:
      <taskdef resource="res-tasks.properties"/> 
  2. Use the ssp-setup Ant task to update the SSP artifact.
  3. Run the Ant task in one of the following ways:
    • From the command line, run Ant in the appropriate directory, followed by the name of the build file if necessary.
    • From Eclipse, right-click the Ant file and click Run.

What to do next

You can now deploy the archive.