[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Plugin dependencies

Hi Pierre,

Pierre Henry Perret wrote:
Hi all,

Sorry for asking technical questions but I have encountered a strange dependency resolver in Eclipse 3.5 with ECF.

The whole releng ECF distrib is compiling ok except the org.eclipse.ecf.osgi.services.distribution bundle which claims that
the 2 packages exported by the org.eclipse.ecf.osgi.services cannot be sesolved !

Any way, when I launch my run config no errors appears on the osgi console.
Would it mean that certain non ACTIVE bundles would throws unknown class when activated ?

Is there a mean to sweep off these reds in Eclipse IDE ?

I have seen also that org.eclipse.ecf.osgi.services is full of empty packages classes even if they exist in the source.

This isn't the case as far as I can tell. The org.eclipse.ecf.osgi.services project is for holding the classes that we receive from OSGi compendium for the discovery and distribution packages (e.g. ServicePublication, DistributionProvider and others). The classes themselves should be (and as far as I can tell are) checked into our repository as *.class files...under <project root>/org/osgi/service/discovery (and distribution at the leaf). Note that this CQ is being used to track the IP clearance as we receive updates from OSGI: http://dev.eclipse.org/ipzilla/show_bug.cgi?id=2959

(BTW...just so people are aware...we/ECF don't have anything to do with the contents of the o.e.e.osgi.services bundle...it comes from OSGi and we incorporate new versions into the ECF codebase as soon as we get IP approval via the above CQ [after Thomas receives the drop from OSGi]. We are hopeful that with RFC119 that there won't be very many/any more significant changes to these classes...as we would like to have them be very stable in anticipation for ECF 3.0/Galileo release...but we have conveyed this desire to the RFC119 spec authors...i.e. for stability as we get close to release...but we can't control what happens with the OSGi spec approval/revision/finalization process. We will update these classes from OSGI as rapidly as possible after changes...given our need to follow the Eclipse Foundation IP approval process).

These classes should be available to resolve dependencies in org.eclipse.ecf.osgi.services.discovery and o.e.e.osgi.services.distribution...they are currently in my workspace and no compile errors occur locally for me (or in the build of these bundles on the build server). So I'm currently confused about why you (Pierre) are seeing compile errors, because the presence of the org.eclipse.ecf.osgi.services project (and the classes that it contains) *should* resolve any dependencies in o.e.e.osgi.services.discovery and o.e.e.osgi.services.distribution (at least for the classes from OSGi compendium for discovery and distribution).

Please let me know if this helps.



So I suppose it's under construction , is it ?



ecf-dev mailing list