Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Compile platform specific fragment

Hello,

i got the following error while compiling a fragment with a platform filter:


Caused by: java.lang.RuntimeException: "Problems resolving provisioning plan.": ["bundle.win32_x86_32 11.2.3.qualifier cannot be installed in this environment because its filter is not applicable."]
	at org.eclipse.tycho.p2.resolver.AbstractResolutionStrategy.newResolutionException(AbstractResolutionStrategy.java:81)
	at org.eclipse.tycho.p2.resolver.AbstractSlicerResolutionStrategy.slice(AbstractSlicerResolutionStrategy.java:76)
	at org.eclipse.tycho.p2.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:61)


My target-platform-configuration is:

          <environments>
            <environment>
              <os>win32</os>
              <ws>win32</ws>
              <arch>x86</arch>
            </environment>
            <environment>
              <os>win32</os>
              <ws>win32</ws>
              <arch>x86_64</arch>
            </environment>
          </environments>

After adding  "-Dtycho.debug.resolver=bundle.win32_x86_32" I saw, that the first architecture (x86) was successfull resolved:

[DEBUG] Properties: {osgi.ws=win32, osgi.arch=x86, osgi.os=win32, org.eclipse.update.install.features=true}


[DEBUG] Resolved IUs:
  bundle.win32_x86_32 11.2.3.qualifier
  bundle 11.2.4.c201310281251
  config.a.jre.javase 1.6.0
  a.jre.javase 1.6.0
  bundle.win32_x86_32.source 11.2.3.qualifier

But the second one (x86_64) could not be resolved. But it does not have to.

Is it allowed to mix environments? Why did Tycho not understand that filter excludes the 2nd architecture?

Kai



Back to the top