Skip to main content

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

in your sample project, you build my.feature with version

version="1.0.0.qualifier"

This means you get a new qualifier timestamp every time you build.

At the same time your .target file references a hardcoded version of the same feature

<unit id="my.feature.feature.group" version="1.0.0.201105241930"/>

(and IU versions in .target are perfect version matches, except for '0.0.0')

So your "workaround" to use latest available version '0.0.0' is actually the way to make this work.

BTW this is probably not directly related to your problem, but you are using slicer mode in your .target which is not supported by tycho at this point, see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=342808 


Regards,
Jan

-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of motes motes
Sent: Dienstag, 24. Mai 2011 19:49
To: tycho-user@xxxxxxxxxxx
Subject: [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?
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top