Eclipse 4.7 and Tycho [message #1777445] |
Wed, 29 November 2017 12:36 |
Mariano Camarzana Messages: 17 Registered: July 2017 |
Junior Member |
|
|
Hello everyone, I recently migrated an application from Eclipse 3.7 to Eclipse 4.7 using the Compatibility Layer. Now add the use of Tycho to deploy the application. The application defines target platform and features.
I managed to get all the errors, I only have the following:
No solution found because the problem is unsatisfiable.: [Unable to satisfy dependency from com.zetti.ftpos.features.feature.group 1.0.0.qualifier to com.zetti.ftpos.product.deploy 0.0.0.; Unable to satisfy dependency from org.eclipse.jdt.core 3.13.0.v_OTDT_r260_201706061122 to org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).; No solution found because the problem is unsatisfiable.]
I have investigated that it is recommended to add dependency to the parent POM
<properties>
<tycho-version>1.0.0</tycho-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<dependency-resolution>
<extraRequirements>
<requirement>
<type>p2-installable-unit</type>
<id>org.eclipse.jdt.feature.group</id>
<versionRange>0.0.0</versionRange>
</requirement>
</extraRequirements>
</dependency-resolution>
<target>
<artifact>
<groupId>com.zetti.ftpos</groupId>
<artifactId>ftpos</artifactId>
<version>1.0.0-SNAPSHOT</version>
</artifact>
</target>
<environments>
<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</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>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho-version}</version>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
Even so I continue with the same error
Some clue?
Thanks in advance!.
Eclipse 4.7 Oxygen
Tycho 1.0.0
Java 1.8
Mariano
[Updated on: Wed, 29 November 2017 19:56] Report message to a moderator
|
|
|
|
|
|
|
Re: Eclipse 4.7 and Tycho [message #1777619 is a reply to message #1777608] |
Thu, 30 November 2017 21:02 |
Daniel Mising name Messages: 47 Registered: July 2014 |
Member |
|
|
I think i "censored" out a relevant detail and also replaced the version wrong ... i think i put in "offending" plugin-version-stuff instead of the "wanted" plugin version. You probably need to find out the version of org.eclipse.jdt.core like he mentioned - adapt to other release trains (e.g. probably oxygen?) / service releases (e.g. SR1a?) and use that instead of my example.
Also I left out Jans commented advice . Jan mentioned:
<!-- this is the version for Kepler SR1, have to adapt for other release trains/service releases -->
<restrictTo>
<version>3.9.1.v20130905-0837</version>
</restrictTo>
I still think filtering might be able to help you ... but i have no clue how to find out said adapted version.
cheers
Daniel
//edit:
despite my uninitiated guesses you might also try to find help in the tycho-users mailing list. https://accounts.eclipse.org/mailing-list/tycho-user
[Updated on: Thu, 30 November 2017 21:06] Report message to a moderator
|
|
|
|
Re: Eclipse 4.7 and Tycho [message #1777803 is a reply to message #1777680] |
Mon, 04 December 2017 17:26 |
Mariano Camarzana Messages: 17 Registered: July 2017 |
Junior Member |
|
|
To eliminate this error, what I did was add the package to the p2 site generated:
<artifact> <id> com.ibm.icu:icu4j:58.2 </ id> <override> true </ override> </ artifact>
Instead of importing the whole org.eclipse.ui package, what I did was import the specific package that requires e.g. org.eclipse.ui.ide.
I hope it serves someone.
Best Regards.
Mariano.
[Updated on: Tue, 05 December 2017 11:48] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.04391 seconds