William,
Can you please attach full debug log? From the looks of it, your target
platform has org.eclipse.emf.ecore.xmi 2.2.3 while org.eclipse.emf.cdo
requires [2.4.0,3.0.0). Note that tycho does not currently allow
multiple versions of singleton bundles, so I wonder if this is the
problem you're seeing.
William Robinson wrote:
I just started using tycho, so please bear with me. Generally, it seems to
work well. I am using, tycho-distribution-0.3.0-20080919.205641-180-bin
I'm compiling an Eclipse project that uses org.eclipse.emf.cdo. It compiles
using Eclipse, but does not compile with tycho. Specifically, the plugin is
unresolved. The plugin is found (as shown in the debug output), but NOT
RESOLVED.
Here's a summary of the output:
mvn -DgroupId=org.reqmon -Dtycho.targetPlatform="D:/Program Files/eclipse"
package
NOT RESOLVED org.eclipse.emf.cdo_1.0.0.v200806180411 : D:\Program
Files\eclipse\plugins\org.eclipse.emf.cdo_1.0.0.v200806180411.jar
...
[ERROR]
Bundle org.reqmon.emf.ocl.compiler cannot be resolved
Resolution errors:
Bundle org.reqmon.emf.ocl.compiler - Missing Constraint: Require-Bundle:
org.eclipse.emf.cdo; bundle-version="0.0.0"
Bundle org.eclipse.emf.cdo - Missing Constraint: Require-Bundle:
org.eclipse.emf.ecore.xmi; bundle-version="[2.4.0,3.0.0)"
Bundle org.eclipse.emf.ecore.xmi - Another singleton version selected:
org.eclipse.emf.ecore.xmi_2.2.3.v200705141058
Bundle org.eclipse.emf.ecore.xmi - Another singleton version selected:
org.eclipse.emf.ecore.xmi_2.2.3.v200705141058
Bundle org.eclipse.emf.ecore.xmi - Another singleton version selected:
org.eclipse.emf.ecore.xmi_2.2.3.v200705141058
I finally got tycho to work by inlcuding the plugin in a local lib folder,
rather than access it through Eclipse.
Any idea why org.eclipse.emf.cdo will not resolve? Could it be due to the
plugin.xml file in org.eclipse.emf.cdo_1.0.0.v200806180411?
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email