Target and Tycho [message #1402143] |
Wed, 16 July 2014 15:26 |
Beatriz Sanchez Messages: 22 Registered: July 2014 Location: York |
Junior Member |
|
|
Hi
It's been two days that I simply can't get how the target platform should work..
This is my project.target file
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.8"?><target name="publisher" sequenceNumber="3">
<locations>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="slicer" includeSource="true" type="InstallableUnit">
<unit id="com.bsiag.scout.rt.server.jdbc.mysql5117.source.feature.group" version="0.0.0"/>
<unit id="com.bsiag.scout.rt.server.jdbc.postgresql9.source.feature.group" version="0.0.0"/>
<repository location="http://tools.bsiag.com/marketplace/jdbc/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="slicer" includeSource="true" type="InstallableUnit">
<unit id="com.bsiag.scout.rt.ui.swing.laf.rayo.source.feature.group" version="0.0.0"/>
<repository location="http://tools.bsiag.com/marketplace/rayo/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="slicer" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.scout.rt.testing.source.feature.group" version="0.0.0"/>
<unit id="org.eclipse.scout.rt.spec.source.feature.group" version="0.0.0"/>
<unit id="org.eclipse.scout.rt.rap.testing.source.feature.group" version="0.0.0"/>
<unit id="org.eclipse.scout.rt.rap.basic.target.feature.group" version="0.0.0"/>
<unit id="org.eclipse.scout.rt.source.feature.group" version="0.0.0"/>
<unit id="org.eclipse.scout.rt.testing.swing.source.feature.group" version="0.0.0"/>
<unit id="org.eclipse.scout.rt.swt.source.feature.group" version="0.0.0"/>
<unit id="org.eclipse.scout.rt.testing.swt.source.feature.group" version="0.0.0"/>
<unit id="org.eclipse.scout.rt.rap.source.feature.group" version="0.0.0"/>
<unit id="org.eclipse.scout.rt.swing.source.feature.group" version="0.0.0"/>
<repository location="http://download.eclipse.org/scout/releases/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="slicer" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.rap.equinox.target.feature.feature.group" version="0.0.0"/>
<unit id="org.eclipse.emf.rap.sdk.feature.group" version="0.0.0"/>
<unit id="org.eclipse.equinox.sdk.feature.group" version="0.0.0"/>
<repository location="http://download.eclipse.org/releases/luna/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="slicer" includeSource="true" type="InstallableUnit">
<unit id="org.w3c.css.sac" version="0.0.0"/>
<unit id="javax.wsdl" version="0.0.0"/>
<unit id="org.w3c.css.sac.source" version="0.0.0"/>
<unit id="org.apache.commons.compress" version="0.0.0"/>
<unit id="org.apache.httpcomponents.httpcore.nio.source" version="0.0.0"/>
<unit id="org.junit.source" version="0.0.0"/>
<unit id="javax.xml" version="0.0.0"/>
<unit id="org.apache.commons.lang3" version="0.0.0"/>
<unit id="org.apache.commons.fileupload" version="0.0.0"/>
<unit id="org.apache.commons.collections" version="0.0.0"/>
<unit id="org.apache.commons.io" version="0.0.0"/>
<unit id="org.apache.batik.xml" version="0.0.0"/>
<unit id="javax.mail.glassfish" version="0.0.0"/>
<unit id="org.apache.batik.xml.source" version="0.0.0"/>
<unit id="org.apache.batik.ext.awt" version="0.0.0"/>
<unit id="org.apache.commons.discovery" version="0.0.0"/>
<unit id="org.apache.xmlgraphics" version="0.0.0"/>
<unit id="org.apache.commons.cli.source" version="0.0.0"/>
<unit id="org.apache.batik.parser.source" version="0.0.0"/>
<unit id="org.apache.batik.svggen" version="0.0.0"/>
<unit id="org.apache.commons.net.source" version="0.0.0"/>
<unit id="org.apache.batik.transcoder.source" version="0.0.0"/>
<unit id="org.apache.commons.el" version="0.0.0"/>
<unit id="org.apache.batik.bridge.source" version="0.0.0"/>
<unit id="org.apache.commons.httpclient.source" version="0.0.0"/>
<unit id="org.apache.commons.beanutils.source" version="0.0.0"/>
<unit id="org.w3c.dom.smil.source" version="0.0.0"/>
<unit id="org.apache.xml.serializer" version="0.0.0"/>
<unit id="javax.mail" version="0.0.0"/>
<unit id="javax.xml.bind" version="0.0.0"/>
<unit id="org.apache.httpcomponents.httpcore.source" version="0.0.0"/>
<unit id="org.apache.commons.math.source" version="0.0.0"/>
<unit id="org.w3c.dom.events" version="3.0.0.draft20060413_v201105210656"/>
<unit id="javax.xml.ws" version="0.0.0"/>
<unit id="org.apache.commons.beanutils" version="0.0.0"/>
<unit id="org.apache.commons.pool.source" version="0.0.0"/>
<unit id="org.apache.commons.codec.source" version="0.0.0"/>
<unit id="org.apache.commons.jxpath.source" version="0.0.0"/>
<unit id="org.apache.batik.pdf" version="0.0.0"/>
<unit id="org.apache.commons.daemon.source" version="0.0.0"/>
<unit id="org.apache.commons.compress.source" version="0.0.0"/>
<unit id="org.apache.batik.css" version="0.0.0"/>
<unit id="org.apache.httpcomponents.httpcore" version="0.0.0"/>
<unit id="org.apache.batik.swing" version="0.0.0"/>
<unit id="org.apache.commons.io.source" version="0.0.0"/>
<unit id="org.apache.batik.util" version="0.0.0"/>
<unit id="org.apache.commons.lang" version="0.0.0"/>
<unit id="org.apache.commons.jxpath" version="0.0.0"/>
<unit id="org.w3c.dom.events.source" version="3.0.0.draft20060413_v201105210656"/>
<unit id="org.apache.batik.dom.svg" version="0.0.0"/>
<unit id="org.apache.batik.dom.svg.source" version="0.0.0"/>
<unit id="org.apache.batik.util.source" version="0.0.0"/>
<unit id="org.apache.batik.dom.source" version="0.0.0"/>
<unit id="org.junit" version="0.0.0"/>
<unit id="javax.mail.glassfish.source" version="0.0.0"/>
<unit id="org.apache.xerces" version="0.0.0"/>
<unit id="org.apache.commons.cli" version="0.0.0"/>
<unit id="org.apache.ws.commons.schema" version="0.0.0"/>
<unit id="org.apache.ws.commons.util" version="0.0.0"/>
<unit id="org.apache.commons.fileupload.source" version="0.0.0"/>
<unit id="org.apache.batik.bridge" version="0.0.0"/>
<unit id="org.apache.batik.dom" version="0.0.0"/>
<unit id="javax.wsdl.source" version="0.0.0"/>
<unit id="org.apache.batik.extension" version="0.0.0"/>
<unit id="org.apache.commons.pool" version="0.0.0"/>
<unit id="org.apache.httpcomponents.httpclient.source" version="0.0.0"/>
<unit id="org.apache.commons.net" version="0.0.0"/>
<unit id="org.apache.commons.el.source" version="0.0.0"/>
<unit id="org.apache.commons.logging" version="0.0.0"/>
<unit id="org.apache.commons.collections.source" version="0.0.0"/>
<unit id="org.apache.batik.css.source" version="0.0.0"/>
<unit id="org.apache.commons.httpclient" version="0.0.0"/>
<unit id="org.apache.commons.lang3.source" version="0.0.0"/>
<unit id="org.apache.batik.extension.source" version="0.0.0"/>
<unit id="org.apache.commons.dbcp.source" version="0.0.0"/>
<unit id="org.apache.batik.util.gui.source" version="0.0.0"/>
<unit id="org.apache.batik.transcoder" version="0.0.0"/>
<unit id="org.apache.httpcomponents.httpcore.nio" version="0.0.0"/>
<unit id="org.apache.batik.parser" version="0.0.0"/>
<unit id="org.apache.commons.dbcp" version="0.0.0"/>
<unit id="org.apache.batik.ext.awt.source" version="0.0.0"/>
<unit id="org.w3c.dom.svg" version="0.0.0"/>
<unit id="org.apache.commons.math" version="0.0.0"/>
<unit id="org.apache.batik.svggen.source" version="0.0.0"/>
<unit id="javax.xml.stream" version="0.0.0"/>
<unit id="org.apache.commons.exec" version="0.0.0"/>
<unit id="org.apache.batik.swing.source" version="0.0.0"/>
<unit id="org.w3c.dom.svg.source" version="0.0.0"/>
<unit id="org.w3c.dom.smil" version="0.0.0"/>
<unit id="org.apache.commons.lang.source" version="0.0.0"/>
<unit id="org.apache.bval.source" version="0.0.0"/>
<unit id="org.apache.batik.util.gui" version="0.0.0"/>
<unit id="org.apache.commons.logging.source" version="0.0.0"/>
<unit id="org.apache.commons.exec.source" version="0.0.0"/>
<unit id="org.apache.httpcomponents.httpclient" version="0.0.0"/>
<unit id="org.apache.xml.resolver" version="0.0.0"/>
<unit id="org.apache.commons.codec" version="0.0.0"/>
<repository location="http://download.eclipse.org/tools/orbit/downloads/drops/R20140525021250/repository/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="slicer" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.rap.feature.feature.group" version="2.3.0.20140610-0925"/>
<repository location="http://download.eclipse.org/rt/rap/2.3/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="slicer" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.swt.tools" version="3.103.0.201312111746"/>
<repository location="http://www.eclipse.org/swt/updates/4.4/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="slicer" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.equinox.executable.feature.group" version="3.6.100.v20140603-1326"/>
<unit id="org.eclipse.platform.feature.group" version="4.4.0.v20140606-1558"/>
<repository location="http://download.eclipse.org/eclipse/updates/4.4"/>
</location>
</locations>
</target>
This is my parent.pom
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.project.publisher</groupId>
<artifactId>org.project.publisher.master</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<tycho.version>0.20.0</tycho.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<project.groupId>org.project.publisher</project.groupId>
<eclipse.repo.url>http://download.eclipse.org/releases/luna/</eclipse.repo.url>
<scout.repo.url>http://download.eclipse.org/scout/releases/</scout.repo.url>
<rap.repo.url>http://download.eclipse.org/rt/rap/2.3/</rap.repo.url>
<postgresql.repo.url>https://tools.bsiag.com/marketplace/jdbc/</postgresql.repo.url>
<rayo.repo.url>http://tools.bsiag.com/marketplace/rayo/</rayo.repo.url>
<!-- <swt.repo.url>http://www.eclipse.org/swt/updates/4.4/</swt.repo.url> -->
<swt.repo.url>https://swt-repo.googlecode.com/svn/repo/org/eclipse/swt/</swt.repo.url>
<eclipse.tools.repo.url>http://download.eclipse.org/tools/orbit/downloads/drops/R20140525021250/repository/</eclipse.tools.repo.url>
<platforms.repo.url>http://download.eclipse.org/eclipse/updates/4.4</platforms.repo.url>
</properties>
<modules>
<module>../org.project.publisher.target</module>
<module>../org.project.publisher.client</module>
<module>../org.project.publisher.client.mobile</module>
<module>../org.project.publisher.server</module>
<module>../org.project.publisher.shared</module>
<module>../org.project.publisher.ui.rap</module>
<module>../org.project.publisher.ui.swing</module>
<module>../org.project.publisher.ui.swt</module>
<module>../org.project.publisher.server.product</module>
<module>../org.project.publisher.ui.swing.product</module>
<module>../org.project.publisher.ui.rap.product</module>
</modules>
<!-- <profiles> <profile> <id>platform-luna</id> <activation> <activeByDefault>true</activeByDefault>
<property> <name>platform-version-name</name> <value>luna</value> </property>
</activation> <properties> <eclipse.repo.url>http://download.eclipse.org/releases/luna</eclipse.repo.url>
<rap.repo.url>http://download.eclipse.org/rt/rap/2.3</rap.repo.url> <postgresql.repo.url>https://tools.bsiag.com/marketplace/jdbc</postgresql.repo.url>
<rayo.repo.url>http://tools.bsiag.com/marketplace/rayo/4.0</rayo.repo.url>
<javamail.repo.url>http://download.eclipse.org/tools/orbit/downloads/drops/I20140701152614/repository</javamail.repo.url>
<emf.repo.url>http://download.eclipse.org/modeling/emf/emf/updates/releases/</emf.repo.url>
<swt.repo.url>https://swt-repo.googlecode.com/svn/repo/</swt.repo.url> <platform.version>[3.8,3.9)</platform.version>
</properties> </profile> </profiles> -->
<repositories>
<repository>
<id>eclipse platform</id>
<url>${eclipse.repo.url}</url>
<layout>p2</layout>
</repository>
<repository>
<id>rap platform</id>
<url>${rap.repo.url}</url>
<layout>p2</layout>
</repository>
<repository>
<id>postgresql platform</id>
<url>${postgresql.repo.url}</url>
<layout>p2</layout>
</repository>
<repository>
<id>rayo look platform</id>
<url>${rayo.repo.url}</url>
<layout>p2</layout>
</repository>
<repository>
<id>scout platform</id>
<url>${scout.repo.url}</url>
<layout>p2</layout>
</repository>
<repository>
<id>swt repo</id>
<url>${swt.repo.url}</url>
</repository>
<repository>
<id>eclipse tools repo</id>
<url>${eclipse.tools.repo.url}</url>
</repository>
<repository>
<id>platform tools repo</id>
<url>${platform.tools.repo.url}</url>
</repository>
</repositories>
<build>
<plugins>
<!-- Tycho Maven Plugin -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho.version}</version>
<extensions>true</extensions>
</plugin>
<!-- Tycho Target Platform Configuration Plugin -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<configuration>
<resolver>p2</resolver>
<pomDependencies>consider</pomDependencies>
<target>
<artifact>
<groupId>${project.groupId}</groupId>
<artifactId>org.project.publisher.target</artifactId>
<version>1.0.0-SNAPSHOT</version>
<classifier>publisher</classifier>
</artifact>
</target>
<ignoreTychoRepositories>true</ignoreTychoRepositories> <!-- TODO what for? -->
</configuration>
</plugin>
<!-- Maven Tomcat Plugin -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<version>1.1</version>
<configuration>
<url>http://localhost:8080</url>
<server>LocalServer</server>
<path>/publisher</path>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<!-- Tycho Target Platform Configuration Plugin -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.version}</version>
<configuration>
<environments>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86</arch>
</environment>
<!--
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86_64</arch>
</environment>
-->
</environments>
<filters>
<!-- work around Equinox bug 348045 -->
<filter>
<type>p2-installable-unit</type>
<id>org.eclipse.equinox.servletbridge.extensionbundle</id>
<removeAll />
</filter>
</filters>
</configuration>
</plugin>
<!-- Tycho p2 Director Plugin -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho.version}</version>
<!-- <executions> <execution> <id>create-distributions</id> <goals>
<goal>materialize-products</goal> <goal>archive-products</goal> </goals>
</execution> </executions> <configuration> <products> <product> <id>product.id</id>
<rootFolders> <macosx></macosx> <linux></linux> <win32></win32> </rootFolders>
</product> <product> <id>other.product.id</id> <attachId>other</attachId>
</product> </products> </configuration> -->
</plugin>
<!-- Maven Resources Plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<!--plugin> <groupId>org.eclipse.tycho</groupId> <artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho.version}</version> <configuration> <debugPort>18081</debugPort>
</configuration> </plugin> <plugin> <groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-pomgenerator-plugin</artifactId> <version>${tycho.version}</version>
</plugin> <plugin> <groupId>org.eclipse.tycho</groupId> <artifactId>tycho-versions-plugin</artifactId>
<version>${tycho.version}</version> </plugin> <plugin> <groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId> <version>${tycho.version}</version>
</plugin> <plugin> <groupId>org.eclipse.tycho</groupId> <artifactId>tycho-p2-publisher-plugin</artifactId>
<version>${tycho.version}</version> </plugin> <plugin> <groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId> <version>${tycho.version}</version>
</plugin> <plugin> <groupId>org.eclipse.tycho</groupId> <artifactId>tycho-compiler-plugin</artifactId>
<version>${tycho.version}</version> </plugin -->
</plugins>
</pluginManagement>
</build>
</project>
This is my target.pom
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.project.publisher</groupId>
<version>1.0.0-SNAPSHOT</version>
<artifactId>org.project.publisher.target</artifactId>
<packaging>pom</packaging>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>publisher.target</file> <!-- target file name with extension -->
<type>target</type> <!-- file extension -->
<classifier>publisher</classifier> <!-- target file name -->
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
And this is what the target editor looks like
Besides this is the error message when I do the if the includeMode is set to planner instead of slicer
[INFO] Cannot complete the request. Generating details.
[INFO] Cannot complete the request. Generating details.
[INFO] {osgi.ws=win32, osgi.os=win32, osgi.arch=x86, org.eclipse.update.install.features=true}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: org.eclipse.platform.feature.group 4.4.0.v20140606-1558
[ERROR] Software being installed: org.eclipse.rap.feature.feature.group 2.3.0.20140610-0925
[ERROR] Cannot satisfy dependency: org.eclipse.platform.feature.group 4.4.0.v20140606-1558 depends on: org.eclipse.ui.cheatsheets [3.4.200.v20131227-1524]
[ERROR] Cannot satisfy dependency: org.eclipse.rap.feature.feature.group 2.3.0.20140610-0925 depends on: org.eclipse.ui.cheatsheets 0.0.0
[ERROR]
[ERROR] Internal error: java.lang.RuntimeException: Failed to resolve target definition /home/betty/project/Publisher2/org.project.publisher.target/publisher.target: No solution found because the problem is unsatisfiable.: [Unable to satisfy dependency from org.eclipse.jdt.core 3.10.0.v_OTDT_r230_201406101339 to org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).; No solution found because the problem is unsatisfiable.] -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Failed to resolve target definition /home/betty/project/Publisher2/org.project.publisher.target/publisher.target
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.lang.RuntimeException: Failed to resolve target definition /home/betty/project/Publisher2/org.project.publisher.target/publisher.target
at org.eclipse.tycho.p2.target.TargetDefinitionResolver.resolveContent(TargetDefinitionResolver.java:85)
at org.eclipse.tycho.p2.target.TargetDefinitionResolverService.resolveFromArguments(TargetDefinitionResolverService.java:65)
at org.eclipse.tycho.p2.target.TargetDefinitionResolverService.getTargetDefinitionContent(TargetDefinitionResolverService.java:55)
at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.resolveTargetDefinitions(TargetPlatformFactoryImpl.java:210)
at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:144)
at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:117)
at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:1)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.computeTargetPlatform(P2TargetPlatformResolver.java:214)
at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:100)
at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:75)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
... 11 more
Caused by: org.eclipse.tycho.p2.target.facade.TargetDefinitionResolutionException: No solution found because the problem is unsatisfiable.: [Unable to satisfy dependency from org.eclipse.jdt.core 3.10.0.v_OTDT_r230_201406101339 to org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).; No solution found because the problem is unsatisfiable.]
at org.eclipse.tycho.p2.target.TargetDefinitionResolver.newResolutionException(TargetDefinitionResolver.java:237)
at org.eclipse.tycho.p2.target.TargetDefinitionResolver$2.newResolutionException(TargetDefinitionResolver.java:195)
at org.eclipse.tycho.p2.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:88)
at org.eclipse.tycho.p2.resolver.AbstractResolutionStrategy.multiPlatformResolve(AbstractResolutionStrategy.java:71)
at org.eclipse.tycho.p2.target.TargetDefinitionResolver.resolveContentWithExceptions(TargetDefinitionResolver.java:151)
at org.eclipse.tycho.p2.target.TargetDefinitionResolver.resolveContent(TargetDefinitionResolver.java:80)
... 22 more
Caused by: org.eclipse.core.runtime.CoreException: No solution found because the problem is unsatisfiable.
... 28 more
I just have no idea of what to change.. I've tried updating the p2 repositories, deleting/remaking the *.target, clearing cache of p2 files...
Also, I think that finding p2 update sites is not that easy.. sometimes a package or dependency is missing but finding the right update site is not as simple as typing the name of this dependency.. Does anyone know if there is an easy way?
-
Attachment: errors.png
(Size: 77.16KB, Downloaded 2412 times)
|
|
|
|
|
|
Re: Target and Tycho [message #1402732 is a reply to message #1402725] |
Thu, 17 July 2014 12:10 |
Beatriz Sanchez Messages: 22 Registered: July 2014 Location: York |
Junior Member |
|
|
well well hehe
.. seems to work fine! the target view in eclips eno longer has errors I had to update the maven projects with alt+F5 and also to upgrade the target platform in window / preferences / target / upgrade
However I have not fixed entirely the dependencies
As son as I have the test results I'll post my findings.
|
|
|
Powered by
FUDForum. Page generated in 0.03305 seconds