[jboss-user] [jBPM] - How to build/modify jbpm-console and deploy it on server.

Adam Bach do-not-reply at jboss.com
Mon Apr 30 16:37:24 EDT 2012


Adam Bach [https://community.jboss.org/people/heathcliff] created the document:

"How to build/modify jbpm-console and deploy it on server."

To view the document, visit: https://community.jboss.org/docs/DOC-18178

--------------------------------------------------------------
Info gathered from IRC discussion with tsurdilo:

1) install git and maven
2) git clone  https://github.com/bpmc/bpm-console.git https://github.com/bpmc/bpm-console.git
3) mvn clean install -Dconsole.profile=jbpm -Dfull -DskipTests
4) mvn eclipse:eclipse
5) git clone  https://github.com/droolsjbpm/jbpm.git https://github.com/droolsjbpm/jbpm.git
6) mvn clean install -Dfull -DskipTests
7) open eclipse, import projects.
8) search pom files in jbpm for "<version>2.3.4.Final</version>" and replace with "<version>2.4.0-SNAPSHOT</version>". This tells to use local version
9) change bpm-console code -> compile console code -> compile jbpm code
10)after that go to your $jbpm/jbpm-distribution/target dir
there you will find the distro zips you just built
11) copy jbpm-5.3.0-SNAPSHOT-bin.zip and jbpm-5.3.0-SNAPSHOT-gwt-console.zip from $jbpm/jbpm-distribution/target dir
to $installer-dir$/lib directory
12) now your installer (if you have 5.2 is not going to use jbpm 5.3.0..itll be on 5.2.0
so in this step edit $installer-dir$/build.properties and make sure you update your jbpm version to jBPM.version=5.3.0-SNAPSHOT
Also you need to add to $install-dir$\db\persistence.xml following entities 

        <class>org.jbpm.process.audit.ProcessInstanceLog</class>
        <class>org.jbpm.process.audit.NodeInstanceLog</class>
        <class>org.jbpm.process.audit.VariableInstanceLog</class>

6) in $installer-dir$ run:
ant clean.demo
ant install.demo (or ant install.demo.noeclipse if you dont want eclipse)
ant start.demo (or ant start.demo.noeclipse if you dont want eclipse)
--------------------------------------------------------------

Comment by going to Community
[https://community.jboss.org/docs/DOC-18178]

Create a new document in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120430/26dfc858/attachment-0001.html 


More information about the jboss-user mailing list