try the code below
================================
public static void main(String[] args) {
ProcessEngine processEngine = new Configuration()
.buildProcessEngine();
RepositoryService repositoryService = processEngine.getRepositoryService();
FileInputStream fip;
try {
fip = new FileInputStream("C:\\JBPMV4\\bin\\TestProcess.jpdl.zip");
ZipInputStream zip = new ZipInputStream(fip);
String deploymentDbid =
repositoryService.createDeployment().addResourcesFromZipInputStream(zip).deploy();
System.out.println("Deployment Db Id: " + deploymentDbid);
} catch (FileNotFoundException e) {
e.printStackTrace();
}
}
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246997#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...