Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 335786

Summary: wrong package dependency o.e.ecf.core.util
Product: [RT] ECF Reporter: ekkehard gentz <ekke>
Component: ecf.coreAssignee: Scott Lewis <slewis>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: bugs.eclipse.org, slewis
Version: 3.4.0   
Target Milestone: 3.5.0   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description ekkehard gentz CLA 2011-01-30 07:30:00 EST
org.eclipse.ecf exports package o.e.ecf.core.util without a version number

and
o.e.ecf.osgi.services.distribution tries to import the package with version 3.2.0

so the plugin will be unresolved

please remove the version or add it  in all plug-ins

thx

ekke
Comment 1 Scott Lewis CLA 2011-01-30 12:21:43 EST
Would you please report the versions of both the core and o.e.ecf.osgi.services.distribution bundles that you are using?
Comment 2 ekkehard gentz CLA 2011-01-30 12:52:17 EST
(In reply to comment #1)
> Would you please report the versions of both the core and
> o.e.ecf.osgi.services.distribution bundles that you are using?

org.eclipse.ecf: 3.1.0.v20100529-0735

org.eclipse.ecf.osgi.services.distribution: 2.0.0.v20110130-0727

both from latest N-Build 
http://download.ecf-project.org/repo/N-HEAD-sdk.feature/lastSuccessful/archive/site.p2
Comment 3 Markus Kuppe CLA 2011-01-30 13:06:36 EST
(In reply to comment #2)
> (In reply to comment #1)
> > Would you please report the versions of both the core and
> > o.e.ecf.osgi.services.distribution bundles that you are using?
> 
> org.eclipse.ecf: 3.1.0.v20100529-0735
> 
> org.eclipse.ecf.osgi.services.distribution: 2.0.0.v20110130-0727
> 
> both from latest N-Build 
> http://download.ecf-project.org/repo/N-HEAD-sdk.feature/lastSuccessful/archive/site.p2

the N-build contains org.eclipse.ecf_3.1.200.v20110130-0727.jar.pack.gz. Your version of o.e.ecf is probably the one that ships with Helios.
Comment 4 ekkehard gentz CLA 2011-01-30 14:24:42 EST
(In reply to comment #3)
> (In reply to comment #2)
> > (In reply to comment #1)
> > > Would you please report the versions of both the core and
> > > o.e.ecf.osgi.services.distribution bundles that you are using?
> > 
> > org.eclipse.ecf: 3.1.0.v20100529-0735
> > 
> > org.eclipse.ecf.osgi.services.distribution: 2.0.0.v20110130-0727
> > 
> > both from latest N-Build 
> > http://download.ecf-project.org/repo/N-HEAD-sdk.feature/lastSuccessful/archive/site.p2
> 
> the N-build contains org.eclipse.ecf_3.1.200.v20110130-0727.jar.pack.gz. Your
> version of o.e.ecf is probably the one that ships with Helios.

hmmm

my TargetPlatform is:

Helios 3.6.1
+ RCP SDK
+ Equinox Traget Components
+ ECF SDK from N-Build

if I choose a TP without depending on the running IDE

I don't know what have to be added as additional sites to resolve all dependencies
checking the box to resolve all runs into errors

so its very difficult to create a Target Platform definition to work with ECF
Comment 5 ekkehard gentz CLA 2011-01-30 18:13:11 EST
created new Target Platform Definition and now P2 gets the org.eclipse.ecf from helios and also from N-Build

but its the same:

org.eclipse.ecf exports package o.e.ecf.core.util without version number
and
o.e.ecf.osgi.services.distribution has a dependency to importPackage o.e.ecf.core.util version 3.2.0

o.e.ecf: 3.1.200.v20110130-0727
o.e.ecf.osgi.services.distribution: 2.0.0.v20110130-0727

so the problem exists within the N-Build
Comment 6 Scott Lewis CLA 2011-01-30 19:09:56 EST
In order to make the org.eclipse.ecf.osgi.services.distribution as easily usable as possible (i.e. to allow its usage with older as well as newer versions of ECF core bundles...wherever they've come frome), I've removed the version qualifier to the Import-Package: org.eclipse.ecf.core.util in org.eclipse.ecf.osgi.services.distribution.

Fix released to master.
Comment 7 ekkehard gentz CLA 2011-01-30 19:39:19 EST
(In reply to comment #6)
> In order to make the org.eclipse.ecf.osgi.services.distribution as easily
> usable as possible (i.e. to allow its usage with older as well as newer
> versions of ECF core bundles...wherever they've come frome), I've removed the
> version qualifier to the Import-Package: org.eclipse.ecf.core.util in
> org.eclipse.ecf.osgi.services.distribution.
> 
> Fix released to master.

thx
ekke