ActiveVOS Designer User’s Guide

Using a BPRD Script to Regenerate and Deploy a BPR File

When you create a .bpr file, as described in Creating a Business Process Archive File, you have the option to create an Ant script (a .bprd file) that you can use to quickly regenerate and deploy a .bpr file.

Use the BPRD Ant script to:

Regenerating a .bpr File

You must update a .bpr file after you have modified one or more files in the original archive. If your archive contains many BPEL and .pdd files, you may find it quicker and more convenient to update the archive by using the Ant script you created when you first created the .bpr file.

If you want to add any new processes and their resources to the archive, you must create a new .bpr using the File>Export option or modify the .bprd file by hand to add syntactically correct references to the new files. To modify the .bprd file by hand, you must be familiar with the Ant scripting language.

To regenerate a .bpr file:

  1. In the Project Explorer, select the .bprd file you created the first time you created the business process archive (.bpr) file.
  2. Right-mouse click and select Execute.
  3. ActiveVOS informs you when the new .bpr is generated.

Automatically Deploying a .bpr File

If you did not select a Deployment Type when you created the .bpr archive, you can add deployment information to the BPRD script and execute the script.

  1. From the Project Explorer, double-click the .bprd file to open it.
  2. Follow the comments in the script to provide File or Web Service deployment information. You must specify a valid archive deployment location and enable the deploy target.
  3. For example, for the archive.deployment value, type in:

    http://localhost:8080/active-bpel/services/DeployBPRService

  4. Save the file.
  5. Ensure that the server is running, and then in the Project Explorer, select the right-mouse menu for the .bprd file and select Execute.
  6. ActiveVOS informs you when the new .bpr is deployed.