I believe you are correct about the version of org.eclipse.emf.ecore.xmi. I
explicitly specified version 2.4 and the error was reduced to just the xmi
error. I've attached the full debug output.

This may not be entirely related to tycho. Note that my Eclipse 3.4 has
shared plugins (with IBM RSA). It seems from the debug output that the
correct version of org.eclipse.emf.ecore.xmi is found, but ignored in favor
of the older version in the shared plugins directory. I'm not sure if this
is a bug or some misconfiguration of my Eclipse.



Igor Fedorenko-4 wrote:
> 
> 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
> 
> 
> 
> 
http://www.nabble.com/file/p19595366/output.txt output.txt 
-- 
View this message in context: 
http://www.nabble.com/tycho%3A-NOT-RESOLVED-org.eclipse.emf.cdo-tp19588315p19595366.html
Sent from the Maven Eclipse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to