cancel
Showing results for 
Search instead for 
Did you mean: 

Graphiti Upgrade to 0.10.0 for Eclipse Kepler

catandgrep
Champ in-the-making
Champ in-the-making
Hi,

Activiti Designer has dependency issues with upcoming Eclipse Kepler [1].

Kepler uses Bundles that require Graphiti 0.10.0 while Activiti Designer depends on 0.9.1. Both can not be installed. Are there plans to make the designer compatible with 0.10.0 by upgrading the dependency? Right now upgrading todays codeline to depend on 0.10.0 results in compilation errors in Activiti Designer - Util.

[1] http://wiki.eclipse.org/Kepler/Simultaneous_Release_Plan

Regards
Andreas
13 REPLIES 13

trademak
Star Contributor
Star Contributor
Hi Andreas,

Right, we currently focus on supporting Indigo and Juno. When Kepler will be released we'll make sure we provide support for that as well by using Graphiti 0.10.0

Best regards,

catandgrep
Champ in-the-making
Champ in-the-making
Hi Tijs, thx for your quick response. Would be nice to see early versions when Kepler Release Candidates will be released.

By the way: Is there a special reason why you do not use SNAPSHOT version qualifier in the pom of the designer. Tycho will replace it by a equivalent timestamp qualifier for the osgi bundles so that it is fully comparable to standard SNAPSHOT behavior in Maven.

Not using the SNAPSHOT identifier makes nightly builds and testing of the latest designer quiet hard (or nearly impossible).

You can even use the tycho version plugin to update version (equivalent to maven-version-plugin): http://eclipse.org/tycho/sitedocs/tycho-release/tycho-versions-plugin/plugin-info.html

trademak
Star Contributor
Star Contributor
Hi Andreas,

Yes I agree that it would be nice, but we focus on Indigo and Juno for now.
The SNAPSHOT identifier is not there because we don't do nightly builds.
But you're right that for testing this is a good thing to have. We'll use the SNAPSHOT identifier from now on.

Best regards,

catandgrep
Champ in-the-making
Champ in-the-making
We at agito have an internal Eclipse distribution with 2 branches - one with stable plugins - another one with nightly builds. However always when it comes to bugs within the activiti designer, we have to completely reinstall the Eclipse distro, because eclipse caches a non-SNAPSHOT release even if you uninstall it. (-clean option and manually deleting the plugin files doesn't work either).

So this would be a big step forward for all people that want to test the latest commits.

Thanks for changing this.

trademak
Star Contributor
Star Contributor
I tried to set the version to 5.12-SNAPSHOT in the plugin.xml of one the Eclipse Designer plugin projects, but it gives me an error (The specified version doesn't have the right format).
Do you know a solution for this?

Best regards,

catandgrep
Champ in-the-making
Champ in-the-making
If you use 1.0.0-SNAPSHOT as pom version, tycho will enforce 1.0.0.qualifier in manifest headers (and replace .qualifier with a UTC timestamp). That means -SNAPSHOT from the maven world is mapped to to .qualifier from the PDE world.

You have to specify SNAPSHOT in the pom && at the same time qualifier in all of the manifests (MANIFEST.MF, feature.xml, etc.). This [1] also explains the qualifier behavior a bit more in detail.

It's may worth to checkout the tycho-version-plugin [2] which updates pom and corresponding manifest headers for you. You can update version like this: mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=0.0.1-SNAPSHOT

[1] http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.pde.doc.user%2Ftasks%2Fpde_version_quali...
[2] http://www.eclipse.org/tycho/sitedocs/tycho-release/tycho-versions-plugin/plugin-info.html

Hope this helps.
Regards
Andreas

trademak
Star Contributor
Star Contributor
Hi Andreas,

Thanks for the pointers. In Github the project is now on 5.12.0-SNAPSHOT.

Best regards,

catandgrep
Champ in-the-making
Champ in-the-making
Hi Tijs,

the build fails since: 14/05/2013
https://github.com/Activiti/Activiti-Designer/commit/06811458adad30247e08c617aec2c7f6926e22a5

message : Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.16.0:validate-version (default-validate-version) on project org.activiti.designer.libs: OSGi version 5.12.1.SNAPSHOT must have .qualifier qualifier for SNAPSHOT builds

Was there a special reason for replacing qualifier with SNAPSHOT?

Best regards
Andreas

trademak
Star Contributor
Star Contributor
Hi Andreas,

Sorry for that. The MANIFEST.MF files are reverted back to use .qualifier

Best regards,