5.2. Deploying / undeploying a process

Once Nova Orchestra is started, it is then possible to deploy a new process on the engine :

>ant deploy -Dbpel=<process>.bpel -Dwsdl=<process>.wsdl -Dextwsdl=<wsdl1,wsdl2>

Nova Orchestra also provides the possibility to use an archive to deploy a process. This archive should be a zip file with the extension .bar. Here is the command line to deploy such an archive :

>ant deploy -Dbar=<process>.bar

Warning : The archive should be a zip file structured as described bellow :

/bar.properties
/<process>.bpel
/<process>.wsdl
/<files>.wsdl

The bar.properties file should have the following structure :

bpel=<process>.bpel
wsdl=<process>.wsdl
extwsdl=<file1>.wsdl,<file2>.wsdl,...

To undeploy a process, use the following command line :

>ant undeploy -Dprocess=<process_name>

Warning : the process name should be fully qualified. This means that it needs to contain to namespace. For instance :

{http://orchestra.ow2.org/weather}weather