Setting Automation Plug-in Build-and-Deploy Modes for Individual Cartridges

Note:

The information in this topic applies between the OSM 7.0.3 and 7.2.4.x releases. Design Studio uses only the Legacy build-and-deploy mode for releases before OSM 7.0.3, and uses only the Optimized build-and-deploy mode starting in OSM 7.3.

If your OSM server is a version between OSM 7.0.3 and 7.2.4.x, you can set the build-and-deploy mode of automation plug-ins for each cartridge in your workspace. Setting the build-and-deploy mode for an individual cartridge overrides the build-and-deploy mode set as a global preference; that is, OSM uses the mode you set at the cartridge level at run time. For OSM 7.3 and later, all cartridges use optimized mode.

To set automation plug-in build-and-deploy mode preferences for a specific cartridge in your workspace:

  1. From the Studio menu, select Show Design Perspective.

  2. In the Studio Projects view, double-click the Project entity for which you want to set the build-and-deploy mode preference.

    The project opens in the Project editor.

  3. Click the Cartridge Management Variables tab.

  4. Add the BUILD_DEPLOY_MODE variable.

  5. In the Default Value column, do one of the following:

    • To build and deploy this cartridge so that automation plug-ins are run in a common EAR file (deploys and executes automation plug-ins more efficiently), enter optimized.

    • To build and deploy this cartridge so that each automation plug-in is run in its own EAR file (deploys and executes the automation plug-in in a manner consistent with previous OSM releases), enter legacy.

    • To build and deploy the automation components for both Optimized and Legacy modes, enter both.

      If you set this option, OSM uses the automation plug-in dispatch mode defined on the OSM server at run time.

  6. Click Save.