[jboss-user] [jBPM] - Re: How to deploy ScriptTask.bpmn from jbpm-examples

Tihomir Surdilovic do-not-reply at jboss.com
Tue Dec 4 12:20:57 EST 2012


Tihomir Surdilovic [https://community.jboss.org/people/tsurdilovic] created the discussion

"Re: How to deploy ScriptTask.bpmn from jbpm-examples"

To view the discussion, visit: https://community.jboss.org/message/779923#779923

--------------------------------------------------------------
To build your package in Guvnor, you have to add your model jars to it. For that in the top-left "Create New" menu select "Upload Pojo model jar" and name it and upload your jar.
Note that jar files are not part of the compiled package (pkg) that Guvnor creates when you build a package and exposes it to your clients. 
You have to also have your model jar on the clients classpath.
If you are using jbpm installer and testing execution of your processes in the jbpm console, easiest thing to do is to place your model jars in the $installer/dependencies directory and run

ant clean.demo
ant install.demo (or ant install.demo.noeclipse)
and start.demo

installer then will place your model jars in the right places for you for console.

HTH
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/779923#779923]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121204/7efa2a04/attachment.html 


More information about the jboss-user mailing list