cancel
Showing results for 
Search instead for 
Did you mean: 

How to build Activiti Designer sources?

mcervera
Champ in-the-making
Champ in-the-making
Hello,

I've seen several threads about this issue but I still can´t seem to make it work. I just want to have in my workspace as Eclipse Plug-in projects (with the sources inside) the Activiti Designer plugins. I've downloaded them from "http://svn.codehaus.org/activiti/projects/designer/" and execute "mvn eclipse:eclipse" on the "org.activiti.designer.parent" project. Even though it says "build successful" in the end, the plug-in projects have a lot of errors, e.g. unresolved dependencies such as "org.eclipse.wst.xml.ui". This is driving me crazy.

Does anyone know what I am missing? Or what do I have to do to solve this problem?

FYI, I've both used Eclipse Helios modeling and classic, and installed Graphiti 0.7.1

Thanks in advance

Mario
4 REPLIES 4

trademak
Star Contributor
Star Contributor
Hi,

We should have a wiki page for this, so I'll make sure a wiki page will be available soon.
You should install the Eclipse Helios RCP edition, install Graphiti 0.7.1 and install EMF from the Helios update packages.
Then import all the designer projects in Eclipse.
Recently we decided to remove the generated org.activiti.designer.model sources from svn, so you also have to generated these sources with the .genmodel file (I think it is in the model dir). Open this file and right-click on the root element and choose "generate model code".
Then make sure you have installed Maven 3 and that you use this version to run the mvn command.
I always first run mvn clean install and then mvn eclipse:eclipse.
After these steps it should work.

Best regards,

mcervera
Champ in-the-making
Champ in-the-making
Thanks for the quick reply!

I've thoroughly followed the steps you've pointed out and it's been a huge step forward since I only have dependency problems now, in particular:

org.eclipse.wst.xml.ui;bundle-version="1.1.100",
org.eclipse.wst.sse.ui;bundle-version="1.2.0",
org.eclipse.wst.sse.core;bundle-version="1.1.500"
javax.xml;bundle-version="1.3.4"

I guess I only have to install additional plug-ins or change the version constraints.

Best regards,

Mario

trademak
Star Contributor
Star Contributor
Hi,

I just performed the steps myself with a clean Eclipse setup and it's working for me.
The bundles you mention should have been downloaded by the Maven 3 mvn eclipse:eclipse command.
Could you verify that you've run this command in the org.activiti.designer.parent project?

Best regards,

mcervera
Champ in-the-making
Champ in-the-making
Yes, I executed that command in the parent project. It is strange because the bundles were downloaded by Maven and the corresponding entries added to the plug-in build path, so the code compiled without problems but not the manifest file (I think that when you add dependencies in the manifest file these bundles must be installed in the platform, that's why the manifest had errors). To solve the problem I've installed the Web Tools Platform in my Eclipse and it seems to work.

Best regards

Mario