Deploying Cartridge Projects with Optimize Deploy

Optimize Deploy is a method of deployment that, when enabled, attempts to deploy only the changes you have made in your Design Studio cartridge project. For example, you can use Optimize Deploy when testing or debugging changes to your cartridge data.

Note:

Some product cartridges do not support optimized deploy, and only Design Studio for OSM creates optimized archives.

When deploying cartridge projects using Optimize Deploy, see the following topics:

About Optimize Deploy

When you enable Optimize Deploy, Design Studio detects any changes you've made to the cartridge, and deploys to the run-time environment only the artifacts related to those changes, whenever possible.

Note:

Optimized Deploy reduces deploy times by skipping optional steps in the build and deploy process. If Optimized Deploy fails to deploy the complete cartridge, run a clean build, then attempt to deploy.

The cartridge and environment combination is persisted for each workspace. Each time you start Design Studio, the system uses your previous cartridge and environment selection combinations.

Related Topics

Deploying Cartridge Projects with Optimize Deploy

Deploying Optimized Builds

Deploying Optimized Builds

Use Optimize Deploy to deploy cartridge projects to run-time environments.

Note:

Before deploying cartridge projects, ensure that you have configured a run-time environment and that the run-time server is running.

To deploy optimized builds:

  1. In the Design Studio toolbar, click the Deploy a Cartridge icon menu.

  2. Select Optimize.

    A check mark appears next to the option.

  3. Do one of the following:

    • In the Design Studio toolbar, click Deploy a Cartridge.

      Design Studio uses the previous cartridge and environment combination selection as the default value when you click Deploy a Cartridge. If Design Studio finds no previously deployed cartridge and environment combination, it displays a list of available cartridges. If no cartridges are available, Design Studio displays <no applicable cartridges>. Cartridges that contain build errors appear in the list but are not available for selection.

    • Select Studio, then select Deploy to select a cartridge and target environment combination.

      The five most recently deployed cartridge and environment combinations appear at the top of the menu.

  4. If prompted, log into the run-time environment.

  5. If prompted, decide whether to first deploy a full build to the target environment.

    Oracle recommends that, when first starting Design Studio, you perform a full deployment to ensure that a complete cartridge exists in the run-time environment. A full build of the cartridge must exist in the target environment before you deploy an optimized build. Deploying a partially complete cartridge to the run-time environment may result in run-time errors.

    If prompted, do one of the following:

    • To cancel the deployment, click Cancel.

    • To deploy a full build, click Yes.

    • To continue with the optimized deployment, click No.

  6. Review the deployment status in the Environment perspective Console view.

Related Topics

Deploying Cartridge Projects with Optimize Deploy

About Optimize Deploy