Undeploying an Application Using a Deployment Script

You can undeploy an application using the scripted deployment techniques

Procedure

  1. In the Deploy Project Editor for an existing deployment project, select the resources that you want to undeploy. For each one, set the Deploy Action to Delete.
  2. Regenerate the deployment scripts, as described in Generating the Deployment Scripts.
  3. Check the value in the run.properties file. Set default.target either to deploy or to import-and-deploy, depending on whether or not you are importing your deployment scripts from a source control repository. See Deploying the Project for further details.
  4. From a command line, run the build.xml file to deploy the projects on a test server, as described in Deploying the Project.

    The deploy or import-and-deploy command performs the deployment action specified for each resource. If you have specified this as Delete, as in step 1 above, this will be to delete the project from the BPM server.