Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] install independent features in RCP

Hi there,

I am trying to find out whether it is possible to install independent features (features on root level) into an rcp with tycho or not. On the net I find some contradictory information about this topic:

There is https://bugs.eclipse.org/bugs/show_bug.cgi?id=361722 which exactly covers that topic. Still unresolved in bugzilla, but a reference to https://bugs.eclipse.org/bugs/show_bug.cgi?id=351487#c36 says that the feature is implemented right now. To my understanding it should be possible to solve the issue by using a touchpoint action using a standalone director. So I set my pom to

<artifactId>tycho-p2-director-plugin</artifactId>
[snip]
<configuration>
                <directorruntime>standalone</directorruntime>
                <source>repository</source>
</configuration>

And add a product.p2.inf

instructions.configure=installFeature(feature:org.eclipse.help.feature.group,featureId:default,version:default);

Unfortunately the build fails:

An error occurred while configuring the installed items
 session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null --> [R]sample.product 1.0.0.201211220827, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallFeatureAction).
 Installable unit contains no artifacts: [R]sample.product 1.0.0.201211220827.

On stackoverflow there is a comment from Tobias Oberlies that such a touchpoint action cannot work anyway: http://stackoverflow.com/questions/10352089/how-do-i-build-an-eclipse-rcp-app-so-that-its-features-can-be-updated-automatica


So what's the current status of installing features?
BTW: For my tests I was using tycho 0.16.0.

Best regards
Christian




Back to the top