<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    How to build/modify jbpm-console and deploy it on server.
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/heathcliff">Adam Bach</a> in <i>jBPM</i> - <a href="https://community.jboss.org/docs/DOC-18178">View the full document</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Info gathered from IRC discussion with tsurdilo:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>1) install git and maven</p><p><span>2) git clone </span><a class="jive-link-external-small" href="https://github.com/bpmc/bpm-console.git" target="_blank">https://github.com/bpmc/bpm-console.git</a></p><p>3) mvn clean install -Dconsole.profile=jbpm -Dfull -DskipTests</p><p>4) mvn eclipse:eclipse</p><p><span>5) git clone </span><a class="jive-link-external-small" href="https://github.com/droolsjbpm/jbpm.git" target="_blank">https://github.com/droolsjbpm/jbpm.git</a></p><p>6) mvn clean install -Dfull -DskipTests</p><p>7) open eclipse, import projects.</p><p>8) search pom files in jbpm for "&lt;version&gt;2.3.4.Final&lt;/version&gt;" and replace with "&lt;version&gt;2.4.0-SNAPSHOT&lt;/version&gt;". This tells to use local version</p><p>9) change bpm-console code -&gt; compile console code -&gt; compile jbpm code</p><p>10)after that go to your $jbpm/jbpm-distribution/target dir</p><p>there you will find the distro zips you just built</p><p>11) copy jbpm-5.3.0-SNAPSHOT-bin.zip and jbpm-5.3.0-SNAPSHOT-gwt-console.zip from $jbpm/jbpm-distribution/target dir</p><p>to $installer-dir$/lib directory</p><p>12) now your installer (if you have 5.2 is not going to use jbpm 5.3.0..itll be on 5.2.0</p><p>so in this step edit $installer-dir$/build.properties and make sure you update your jbpm version to jBPM.version=5.3.0-SNAPSHOT</p><p>Also you need to add to $install-dir$\db\persistence.xml following entities </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.jbpm.process.audit.ProcessInstanceLog&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.jbpm.process.audit.NodeInstanceLog&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.jbpm.process.audit.VariableInstanceLog&lt;/class&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>6) in $installer-dir$ run:</p><p>ant clean.demo</p><p>ant install.demo (or ant install.demo.noeclipse if you dont want eclipse)</p><p>ant start.demo (or ant start.demo.noeclipse if you dont want eclipse)</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Comment by <a href="https://community.jboss.org/docs/DOC-18178">going to Community</a></p>

        <p style="margin: 0;">Create a new document in jBPM at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2034">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>