cancel
Showing results for 
Search instead for 
Did you mean: 

run designer source

greenwood
Champ in-the-making
Champ in-the-making
hi

I check out designer source from "http://svn.codehaus.org/activiti/projects/designer/trunk",
when I run "mvn clean eclipse:clean"

got this error :
……
[INFO] {org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1, osgi.ws=win32, osgi.arch=x86, osgi.os=win32, org.eclipse.update.install.features=true, org.osgi.framework.system.packages=}
[INFO] [Software being installed: org.activiti.designer.updatesite 5.5.0, Missing requirement: org.activiti.designer.updatesite 5.5.0 requires 'org.activiti.designer.feature.feature.group [5.5.0,5.5.1)' but it could not be found]
[ERROR] Internal error: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: No solution found because the problem is unsatisfiable. -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: No solution found because the problem is unsatisfiable.
8 REPLIES 8

trademak
Star Contributor
Star Contributor
Hi,

Did you use Maven 3? That's a requirement to run the source code.
In addition, you have to generate the BPMN 2.0 model source from the org.activiti.designer.model project in Eclipse as an additional step.

Best regards,

greenwood
Champ in-the-making
Champ in-the-making
thanks for your reply!

Yes, I'm using Maven 3. But I failed to run "mvn eclipse:eclipse" .
"generate the BPMN 2.0 model source" should be done before running maven eclipse plugin ?

tiesebarrell
Champ in-the-making
Champ in-the-making
Actually, when you generate the model code shouldn't make that much difference. As a rule of thumb though, it's probably best to setup the projects with Maven first, then run the model generation.

trademak
Star Contributor
Star Contributor
Hi,

I think there was something wrong with the version number of the feature project.
I've committed a fix a minute ago and it should work fine now.
To generate the BPMN 2.0 model sources you have to open the model/BPMN20.genmodel file of the org.activiti.designer.model project and then right-click on the bpmn2 element and choose for "generate model code".

Best regards,

greenwood
Champ in-the-making
Champ in-the-making
thanks , It works now.

Another question is when I change the UI , how can I apply those changes to the designer ?

tiesebarrell
Champ in-the-making
Champ in-the-making
Great to see you got it working. These and more tips are described here:

http://docs.codehaus.org/display/ACT/Activiti+Designer+Developer+Guide

To run Designer with your changes, right click the org.activiti.designer.eclipse project and choose Run as > Eclipse application.

greenwood
Champ in-the-making
Champ in-the-making
hello

Is there a better way not to download repositories in parent pom.xml, every time when I run maven command, it will first download files for a long time..


thanks

trademak
Star Contributor
Star Contributor
Hi,

It's not actually downloading stuff (it shouldn't be anyway), it's syncing the local repository with the remote repository to see if there are changes.
We use Tycho to build the project, and as far as I know this is the normal behaviour.
Maybe you can run it with the Maven instruction offline.

Best regards,