[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[tycho-user] Errors: Unable to satisfy dependency from toolinggtk.linux.ppcorg.eclipse.core.runtime
|
I'm almost at the finishing line, at least I think I am.
I'm migrating Eclipse RCP 3.2.2 (I know its old) using the
pde-maven-plugin build structure and attempting to get tycho working.
I've got the plugins and features building, now its just the eclipse-repository.
I've got the target-platform-configuration pointing at the GAV where
the *.target file resides.
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<resolver>p2</resolver>
<target>
<artifact>
<groupId>mygroup</groupId>
<artifactId>myapp-eclipse-target</artifactId>
<version>${project.version}</version>
<classifier>myapp</classifier>
</artifact>
</target>
<ignoreTychoRepositories>true</ignoreTychoRepositories>
<environments>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86</arch>
</environment>
</environments>
</configuration>
</plugin>
I've got the mygroup:myapp-eclipse-target pom attaching the target file
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>myapp.target</file>
<type>target</type>
<classifier>myapp</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
Any I've got the rcp included in the target definition
<location includeAllPlatforms="true" includeMode="slicer"
includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.rcp.sdk.id" version="3.7.2.M20120208-0800"/>
<repository location="https://nexus..../nexus/content/repositories/eclipse-indigo/"/>
</location>
</locations>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86</arch>
And the error it is giving me looks like it is trying to resolve other
platform files.
[ERROR]
Internal error: java.lang.RuntimeException: Failed to resolve target
definition D:\ide\mcp\mobile-computing-project\mcp-client-application\mcp-eclipse-target\MCA.target:
"Problems resolving provisioning plan.": [
"Unable to satisfy dependency from
toolingorg.eclipse.rcp.sdk.id.configuration 3.7.2.M20120208-0800 to
toolinggtk.linux.ppcorg.eclipse.core.runtime [3.7.2.M20120208-0800].",
"Unable to satisfy dependency from
toolingorg.eclipse.rcp.sdk.id.configuration 3.7.2.M20120208-0800 to
toolinggtk.linux.ppcorg.eclipse.equinox.simpleconfigurator
[3.7.2.M20120208-0800].",
"Unable to satisfy dependency from
toolingorg.eclipse.rcp.sdk.id.configuration 3.7.2.M20120208-0800 to
toolinggtk.linux.ppcorg.eclipse.update.configurator
[3.7.2.M20120208-0800].",
"Unable to satisfy dependency from
toolingorg.eclipse.rcp.sdk.id.configuration 3.7.2.M20120208-0800 to
toolingorg.eclipse.rcp.sdk.id.ini.gtk.linux.ppc
[3.7.2.M20120208-0800].",
"Unable to satisfy dependency from
toolingorg.eclipse.rcp.sdk.id.configuration 3.7.2.M20120208-0800 to
toolinggtk.linux.ppcorg.eclipse.equinox.common
[3.7.2.M20120208-0800].",
"Unable to satisfy dependency from
toolingorg.eclipse.rcp.sdk.id.configuration 3.7.2.M20120208-0800 to
toolinggtk.linux.ppcorg.eclipse.equinox.ds [3.7.2.M20120208-0800]."]
-> [Help 1]
My build is feature based.
So I don't think I need to follow the advice at
http://wiki.eclipse.org/Tycho/FAQ#How_to_build_plugin-based_products_with_platform-specific_fragments.3F
I thought the os/ws/arch was restricting this to win32 so it shouldn't
be trying to get linux.ppc stuff.
Any help troubleshooting would be appreciated.