[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[tycho-user] restricting target platform environments.
|
My target platform is failing to resolve environments that I don't care about:
[ERROR] Internal error: java.lang.RuntimeException: Failed to resolve
target definition .....target: "Problems resolving provisioning
plan.": ["Unable to satisfy dependency from
org.eclipse.equinox.executable.feature.group
3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ to
org.eclipse.equinox.executable_root.gtk.linux.ppc
[3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ].", "Unable to
satisfy dependency from org.eclipse.equinox.executable.feature.group
3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ to
org.eclipse.equinox.executable_root.motif.linux.x86
[3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ].", "Unable to
satisfy dependency from org.eclipse.equinox.executable.feature.group
3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ to
org.eclipse.equinox.executable_root.wpf.win32.x86
[3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ].", "Unable to
satisfy dependency from org.eclipse.equinox.executable.feature.group
3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ to
org.eclipse.equinox.executable_root.motif.aix.ppc
[3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ].", "Unable to
satisfy dependency from org.eclipse.equinox.executable.feature.group
3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ to
org.eclipse.equinox.executable_root.motif.solaris.sparc
[3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ].", "Unable to
satisfy dependency from org.eclipse.equinox.executable.feature.group
3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ to
org.eclipse.equinox.executable_root.motif.hpux.ia64_32
[3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ].", "Unable to
satisfy dependency from org.eclipse.equinox.executable.feature.group
3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ to
org.eclipse.equinox.executable_root.win32.win32.ia64
[3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ]."] -> [Help 1]
I've already tried restricting the platform via configuration with
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<resolver>p2</resolver>
<dependency-resolution>
<optionalDependencies>ignore</optionalDependencies>
</dependency-resolution>
<target>
<artifact>
<groupId>mygroup</groupId>
<artifactId>mytarget</artifactId>
<version>${project.version}</version>
<classifier>XXXX</classifier>
</artifact>
</target>
<ignoreTychoRepositories>true</ignoreTychoRepositories>
<environments>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86</arch>
</environment>
</environments>
</configuration>
</plugin>
And by adding to the target file:
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86</arch>
</environment>
I'd care less if these artifacts were actually available, except my
build times increase unnecessarily.
Running
java -jar D:\eclipse-3.7.2\plugins\org.eclipse.equinox.launcher_1.2.0.v20110502.jar
-debug -console log -nosplash -application
org.eclipse.equinox.p2.director -repository
http://download.eclipse.org/releases/indigio/ -list
(and again on galileo and helios) shows that ppc has is only available
in galileo, its ppc64 in indigo and helios
What did I miss with the restricting of environments?
Thanks