Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Build fails after update to 0.12.0

I have a project that compiles fine with tycho 0.11.0. But after
upgrading to tycho 0.12.0 and following this migration guide:

http://wiki.eclipse.org/Tycho_Release_Notes/0.12

the project fails:

[INFO] [You requested to install 'my.feature.feature.group
[1.0.0.201105241930]' 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.
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)

I have verified that the feature:

my.feature.feature.group [1.0.0.201105241930]

does exists on the target platform specified for the project. I have
uploaded a minimal example of the project:

http://download1168.mediafire.com/d4vfny80f3fg/04owqt495lso35q/tycho_example.zip


A work around is to specify a wildcard version (use latest found)
'0.0.0'  for the feature in the .target file:

<location includeAllPlatforms="true" includeMode="slicer"
type="InstallableUnit">
<unit id="my.feature.feature.group" version="0.0.0"/>
<repository location="file:/C:/tycho_test/remote.updatesite/"/>
</location>

Is it intentional that its necessary to do this when using tycho 0.12.0?


Back to the top