<!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;">
    Re: Error when creating BPMN diagram with new editor
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/bhaskarven">Bhaskaran Venkataraman</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/738093#738093">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Looks like you have a problem with the installation of the eclipse plugins for the BPMN Editor. I suggest you try out the following 2 methods :</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong style="text-decoration: underline;">Using the BPMN2.0 Editor</strong></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>1. Clean up to ensure that you start from fresh ( $ ant clean.demo )</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>2. Start with a clean eclipse installation ( Indigo SR2 version mentioned in the build script ). Ensure that your eclipse home is properly set</p><p>&#160;&#160;&#160;&#160; to your downloaded location.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>3. Ensure that eclipse drools JBPM plugin and eclipse GEF plugin&#160; are downloaded and installed into the appropriate locations as mentioned in the</p><p>&#160;&#160;&#160;&#160; build script. The build takes care of these but you have to ensure that it is done properly by cross-checking it</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>4. Set your eclipse home to point to the eclipse home directory where you downloaded eclipse in the build.properties file</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>5. Then follow Chapter 9 in the JBPM5.2 user guide for installing the graphiti and BPMN Editor plugins into eclipse</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; They have sugested Grpahiti 0.7.1 and BPMN2.0 but did not work for me. There were some compatibility issues.</p><p>&#160;&#160;&#160; So I installed Graphiti version 0.8.1 and BPMN2.0</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>6. Now start your demo and things should work fine and you should be able to use the BPMN editor to create the diagrams</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; $ ant start.demo</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="text-decoration: underline;"><strong>Using the Designer</strong></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>You can also create BPMN diagrams using the designer. The designer has got a nice user interface. And you can save revisions into the </p><p>Drools Guvnor. You can later on import these artifacts into eclipse. The basics of the Designer is explained in Chapter 10 of the JBPM5.2 user guide.</p><p>That should be sufficient to start off with the designer. Here are the steps :</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>1. Ensure that your JBOSS App Server is up and runing. Ensure that the H2 database is started as well. You can see these printed when you run</p><p>&#160;&#160;&#160; </p><p>&#160;&#160;&#160; $ant start.demo</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>2. Access the Drools Guvnor using the folowing link</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span>&#160;&#160;&#160; </span><a class="jive-link-external-small" href="http://127.0.0.1:8080/drools-guvnor" target="_blank">http://127.0.0.1:8080/drools-guvnor</a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; It should open up the Guvnor application. The Guvnor is a repository for storing artifacts. You can use one of the logins mentioned </p><p>&#160;&#160;&#160; in the users.properties file in the auth folder ( like krisv, mary, john etc. )</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>3. The designer is invoked through the Guvnor application.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; Using the create -&gt; new you can create a new BPMN drawing and then you can save it in the guvnor. You can save it either as part</p><p>&#160;&#160;&#160;&#160; of the default package or storage space.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>4. This can be imported into eclipse using File -&gt; import -&gt; Guvnor -&gt; Package -&gt; Your BPMN diagram</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Here are some links to useful docs :</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong style=": ; font-size: 10pt; font-family: 'Book Antiqua', serif; text-decoration: underline;">JBPM5.2 User Guide&#160; </strong></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-size: 10pt; font-family: 'Book Antiqua', serif;"> </span><a class="jive-link-external-small" href="http://docs.jboss.org/jbpm/v5.2/userguide/">http://docs.jboss.org/jbpm/v5.2/userguide/</a>&#160; </p><p><span style="font-family: 'Book Antiqua', serif; text-decoration: underline;"><br/></span></p><p><span style="font-size: 10pt; font-family: 'Book Antiqua', serif; text-decoration: underline;"><strong>Drools Guvnor Manual</strong></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="color: #0000ff; text-decoration: underline;"><a class="jive-link-external-small" href="http://docs.jboss.org/drools/release/5.3.0.Beta1/drools-guvnor-docs/html_single/index.html"><span style="font-size: 10pt; font-family: 'Book Antiqua', serif;">http://docs.jboss.org/drools/release/5.3.0.Beta1/drools-guvnor-docs/html_single/index.html</span></a></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The designer is a very powerful tool and I believe we can also use it to create forms which we may need for human tasks.</p><p>You can also validate your BPMN process using the Designer. I am also a newbie and yet to explore the designer completely. </p><p>So I have just shared whatever I know about the Designer.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="text-decoration: underline;"><strong>Article on JBPM Designer</strong></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p lang="zxx"><span style="color: #000080; text-decoration: underline;"><a class="jive-link-external-small" href="http://surdilovic.wordpress.com/" target="_blank">http://surdilovic.wordpress.com/</a></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Hope this helps.</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/738093#738093">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


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

</div>

</body>
</html>