View Source

h2. Checkout the sources

GeasyBPMNEditor is based on [GEasyTools|geasytools:GEasyTools Overview] and [GEasyWebEditor|geasywebeditor:GEasyWebEditor Overview] . So, you'll have to checkout these sources first in order to compile GeasyBPMNEditor.
# Checkout GeasyTools : svn checkout [svn://svn.petalslink.org/svnroot/trunk/dev/experimental/geasytools|svn://svn.petalslink.org/svnroot/trunk/dev/experimental/geasytools]
# Checkout GeasyWebEditor : svn checkout [svn://svn.petalslink.org/svnroot/trunk/dev/experimental/geasywebeditor|svn://svn.petalslink.org/svnroot/trunk/dev/experimental/geasywebeditor]
# Finally checkout GeasyBPMNEditor : svn checkout [svn://svn.petalslink.org/svnroot/trunk/dev/experimental/geasybpmneditor|svn://svn.petalslink.org/svnroot/trunk/dev/experimental/geasybpmneditor]

Once you've checked out those sources run the following commands :

{code}
me@puter: ~/geasytools$ mvn install
{code}

{code}
me@puter: ~/geasywebeditor$ mvn install
{code}

{code}
me@puter: ~/geasybpmneditor$ mvn install
{code}
If everything goes well ( ... why it shouldn't huh \:) ?)  you should be able to run the application, but you'll have to make some configuration first.

h2. Create a configuration file

As mentioned in [geasybpmneditor:How to install Geasy BPMN Editor] , a configuration file is needed in order to work properly. Create this configuration file as explained in [geasybpmneditor:How to install Geasy BPMN Editor].


If you have a look to the _pom.xml_ located in _\~/geasybpmneditor/client/pom.xml_ you'll notice the use of a variable called: _webeditor.config.path_ (in the "build" section of the pom).This variable should contain the path where your configuration file is located.

In order to set this variable edit maven _setting.xml_ file located in _/home/user/.m2/_&nbsp; and add the following lines between the <profiles></profiles> tags:

{code}
<profile>
<id>bpmneditordev</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<webeditor.config.path>/home/user/webeditor/config</webeditor.config.path>
</properties>
</profile> 
{code}
*Note:* Don't forget to replace _/home/user/webeditor/config_ with the path where you actually created the _webeditor.configuration.properties_ file

h2. Run the application

Once the configuration made, run the following command:

{code}
me@puter: ~/geasybpmneditor/client$ mvn gwt:run
{code}That's it.