[CDO] 4.2-M2 target platform / tycho error [message #984100] |
Wed, 14 November 2012 11:55 |
Steve Missing name Messages: 6 Registered: April 2011 |
Junior Member |
|
|
Hi,
I'm trying to create a CDO server based on top of Kepler. I'm using CDO 4.2-M2.
I've defined my target platform in eclipse using the CDO p2 repository to bring in net4j, cdo and db. Kepler provides the eclipse SDK and EMF. And I've got Elver to supply the mysql driver.
However when I add in:
org.eclipse.net4j.db.mysql.feature.group
to my target platform I get the following errors:
Cannot satisfy dependency:
From: Net4j DB Framework MYSQL Adapter 4.2.0v20120930-1610 (org.eclipse.net4j.db.mysql.feature.group 4.2.0v20120930-1610)
To: org.eclipse.net4j.db.mysql [4.0.100.v20120917-1349]
Missing requirement: Net4j DB Framework MYSQL Adapter 4.0.100.v20120917-139 (org.eclipse.net4j.db.mysql 4.0.100.v20120917-1349) requires 'package com.mysql.jdbc [5.0.0,6.0.0)' but it could not be found
Software being installed: Net4j DB Framework MYSQL Adapter 4.2.0.v20120930-1610 (org.eclipse.net4j.db.mysql.feature.group 4.2.0.v20120930-1610)
However I have mysql imported from Elver in the target platform at version 5.1.11.201210222237 which should satisfy the stated version constraint.
If I change the target platform to use includeMode="slicer" then it works and I can run the server, however even then when I build the product using Tycho with the same target platform file I get this error again about the depedencies:
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException:
"No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from org.eclipse.emf.cdo.server.product.tcp_h2 1.0.0.qualifier to org.eclipse.equinox.executable.feature.group 0.0.0.", "Unable to satisfy dependency from org.eclipse.net4j.db.mysql 4.0.100.v20120917-1349 to package com.mysql.jdbc [5.0.0,6.0.0).", "Unable to satisfy dependency from org.eclipse.net4j.db.mysql 4.0.100.v20120917-1349 to package com.mysql.jdbc.jdbc2.optional [5.0.0,6.0.
0).", "No solution found because the problem is unsatisfiable."]
Any suggestions?
Thank you.
|
|
|
Re: [CDO] 4.2-M2 target platform / tycho error [message #985770 is a reply to message #984100] |
Fri, 16 November 2012 05:23 |
|
Hi Steve,
I fear there's not much advice I can give. Getting the target platform right for a product is always a little tricky.
But all our developer workspaces and even our Hudson builds (both provisioned by Buckminster) always work perfectly
without any complaints. I can only suggest to start with a fresh/empty target platform, use the p2 bookmarks.xml files
that we publish with each build and then only add what you really need. The product listed in your last error message
(org.eclipse.emf.cdo.server.product.tcp_h2) is an H2 based server. You'll hardly want to run with H2 and Mysql for example.
I could also imagine a bug in Tycho, as it's relatively young technology (AFAIK - I've never used it).
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Am 14.11.2012 12:55, schrieb Steve Mising name:
> Hi,
>
> I'm trying to create a CDO server based on top of Kepler. I'm using CDO 4.2-M2.
>
> I've defined my target platform in eclipse using the CDO p2 repository to bring in net4j, cdo and db. Kepler provides
> the eclipse SDK and EMF. And I've got Elver to supply the mysql driver.
>
> However when I add in:
>
> org.eclipse.net4j.db.mysql.feature.group
>
> to my target platform I get the following errors:
>
> Cannot satisfy dependency:
> From: Net4j DB Framework MYSQL Adapter 4.2.0v20120930-1610 (org.eclipse.net4j.db.mysql.feature.group 4.2.0v20120930-1610)
> To: org.eclipse.net4j.db.mysql [4.0.100.v20120917-1349]
> Missing requirement: Net4j DB Framework MYSQL Adapter 4.0.100.v20120917-139 (org.eclipse.net4j.db.mysql
> 4.0.100.v20120917-1349) requires 'package com.mysql.jdbc [5.0.0,6.0.0)' but it could not be found
> Software being installed: Net4j DB Framework MYSQL Adapter 4.2.0.v20120930-1610
> (org.eclipse.net4j.db.mysql.feature.group 4.2.0.v20120930-1610)
>
> However I have mysql imported from Elver in the target platform at version 5.1.11.201210222237 which should satisfy
> the stated version constraint.
>
> If I change the target platform to use includeMode="slicer" then it works and I can run the server, however even then
> when I build the product using Tycho with the same target platform file I get this error again about the depedencies:
>
> org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException:
> "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from
> org.eclipse.emf.cdo.server.product.tcp_h2 1.0.0.qualifier to org.eclipse.equinox.executable.feature.group 0.0.0.",
> "Unable to satisfy dependency from org.eclipse.net4j.db.mysql 4.0.100.v20120917-1349 to package com.mysql.jdbc
> [5.0.0,6.0.0).", "Unable to satisfy dependency from org.eclipse.net4j.db.mysql 4.0.100.v20120917-1349 to package
> com.mysql.jdbc.jdbc2.optional [5.0.0,6.0.
> 0).", "No solution found because the problem is unsatisfiable."]
>
> Any suggestions?
>
> Thank you.
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
Powered by
FUDForum. Page generated in 0.03325 seconds