Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho and kepler target

On 17 jul. 2013, at 13:06, "Sievers, Jan" <jan.sievers@xxxxxxx> wrote:
> looks like a variant of
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=407676
> 
> for which we did a workaround in tycho.
> 
> If this happens during p2 resolution in the target editor - I have no clue how to solve it, IMHO it's a p2 bug.

It doesn't seem to happen in the UI target editor, only when compiling with tycho using a target file. Could you advise on where to open a ticket and who to prod/cc on it ?
  
The following reproduces it. Setting includeAllPlatforms to 'false' makes the problem disappear.


diff --git a/itp04-rcp/helios/helios.target b/itp04-rcp/helios/helios.target
index 848070c..4bb3987 100644
--- a/itp04-rcp/helios/helios.target
+++ b/itp04-rcp/helios/helios.target
@@ -1,13 +1,13 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<?pde version="3.5"?>
-
-<target name="eclipse 3.6.2">
+<?pde version="3.8"?>
+<target includeMode="feature" name="eclipse 3.6.2" sequenceNumber="108">
 <locations>
-<location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
-<unit id="org.eclipse.rcp.feature.group" version="0.0.0"/>
-<unit id="org.eclipse.equinox.p2.user.ui.feature.group" version="0.0.0"/>
-<unit id="org.eclipse.equinox.executable.feature.group" version="0.0.0"/>
-<repository location="http://download.eclipse.org/releases/helios/"/>
+<location includeAllPlatforms="true" includeConfigurePhase="true" includeMode="slicer" includeSource="true" type="InstallableUnit">
+<unit id="org.eclipse.equinox.executable.feature.group" version="3.6.0.v20130521-0416"/>
+<unit id="org.eclipse.platform.sdk" version="4.3.0.I20130605-2000"/>
+<unit id="org.eclipse.sdk.ide" version="4.3.0.I20130605-2000"/>
+<unit id="org.eclipse.equinox.sdk.feature.group" version="3.9.0.v20130604-2047"/>
+<repository location="http://download.eclipse.org/eclipse/updates/4.3"/>
 </location>
 </locations>
 </target>
diff --git a/itp04-rcp/pom.xml b/itp04-rcp/pom.xml
index c67cba4..3842724 100644
--- a/itp04-rcp/pom.xml
+++ b/itp04-rcp/pom.xml
@@ -56,7 +57,12 @@ Contributors:
                                                        <os>linux</os>
                                                        <ws>gtk</ws>
                                                        <arch>x86</arch>
-                                       </environment>
+                                               </environment>
+                                               <environment>
+                                                       <os>macosx</os>
+                                                       <ws>cocoa</ws>
+                                                       <arch>x86</arch>
+                                               </environment>
                                        </environments>
                                </configuration>
                        </plugin>




> 
> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Derk-Jan Hartman
> Sent: Mittwoch, 17. Juli 2013 12:55
> To: Tycho user list
> Subject: [tycho-user] Tycho and kepler target
> 
> I have upgraded my target definition to kepler, but now building using Tycho 0.18.0 I get:
> 
> [ERROR] Internal error: java.lang.RuntimeException: Failed to resolve target definition ./ide.target: "Problems resolving provisioning plan.": ["Unable to satisfy dependency from toolingorg.eclipse.platform.sdk.application 4.3.0.I20130605-2000 to toolingorg.eclipse.platform.sdk.executable.cocoa.macosx.x86_64-bundled [4.3.0.I20130605-2000].", "Unable to satisfy dependency from toolingorg.eclipse.platform.sdk.application 4.3.0.I20130605-2000 to toolingorg.eclipse.platform.sdk.executable.cocoa.macosx.x86-bundled [4.3.0.I20130605-2000].", "Unable to satisfy dependency from toolingorg.eclipse.sdk.ide.application 4.3.0.I20130605-2000 to toolingorg.eclipse.sdk.ide.executable.cocoa.macosx.x86_64-bundled [4.3.0.I20130605-2000].", "Unable to satisfy dependency from toolingorg.eclipse.sdk.ide.application 4.3.0.I20130605-2000 to toolingorg.eclipse.sdk.ide.executable.cocoa.macosx.x86-bundled [4.3.0.I20130605-2000]."] -> [Help 1]
> 
> Anyone got an idea what I'm missing ?


Derk-Jan Hartman
Software Engineer; R&D
djhartman@xxxxxxxxxxxxxxxxx

Service2Media
http://www.service2media.com/



Back to the top