Thanks!
Using the method that you said need to set a jbpm runtime to the project in eclipse. But
now my project only has jboss esb runtime and cann't set jbpm runtime. How can I get
the jbpm runtime location?
"ziccardi" wrote : If you need to deploy a process by code, you can use
something like this:
|
| byte[] parBytes = readFully("yourfile.par");
|
| JbpmContext ctx = JbpmConfiguration.getInstance().createJbpmContext();
| new DeployProcessCommand(parBytes).execute(ctx);
| ctx.close();
|
| If you want to deploy a simple xml process definition, you can replace parBytes with a
String containing your XML.
|
| Hope this helps.
|
| Massimiliano.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186926#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...