I noticed that generated getcomposer plugin has wrong version number in META-INF/MANIFEST.MF - it's 0.0.1.qualifier, so qualifier was not replaced with actual version timestamp.
You can see this e.g in package available here: http://p2-dev.pdt-extensions.org/plugins/org.getcomposer.core_0.0.1.201210132023.jar
I think this should be possible to fix by changing pom.xml to use tycho-maven-plugin instead of maven-jar-plugin
@jpospychala i've planned some work on my eclipse plugins this weekend - i'll look into this too, thanks for the tip.
You can try to use plugins:
in your pom.xml
Do you have any plans on fixing this issue?
It seems to be as easy as changing the packaging in pom.xml from 'jar' to 'eclipse-plugin'.
@nataliab sorry for the delay, i'm currently a little too busy to work on the eclipse plugins :(
As far as i remember i initially had set it to eclipse-plugin, but then it does not compile as a standalone library - at least the travis build fails during compilation. That's why i reverted to plain jarpackaging.
All there is to make it work in an OSGI environment is the MANIFEST.MF. If you look at the Manifest of the composer plugin, you'll see that i simply export the package there, so it's available to the OSGI autoloader.
Am i misunderstanding something? i'm not too firm with the OSGI world.
The problem is that the MANIFEST.MF of this plugin contains
what is not correct. Qualifier should be replaced with a timestamp during build, otherwise it's confusing for OSGI environemnt.
tycho does this automatically if you package as eclipse-plugin. Maybe you could give eclipse-plugin packaging another try (and solve compilation problems in a different way)?
@nataliab i see. i can switch back to eclipse-plugin packaging and delay the compilation problem to later time ;) i hope a can find some time this week.
I see there is new version 0.0.7.201212042111 of com.dubture.composer.feature, but the org.getcomposer jar has not been rebuilt - it's still org.getcomposer.core_0.0.1.201210132023. Could you rebuild it?
@nataliab @jpospychala the org.getcomposer.jar is updated to 0.0.2 to make sure it's updated during the build - there was a glitch in the submodule setup in the nightly build.
Is this still an issue with the newest release of the composer plugin and the java bindings? Like, can this issue be closed?
afaik it's fixed.