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

Bug 255279

Summary: [ds] Deactivating components in wrong order
Product: [Eclipse Project] Equinox Reporter: Paul VanderLei <pvanderlei>
Component: CompendiumAssignee: Stoyan Boshev <s.boshev>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: s.boshev, sja.eclipse
Version: 3.5   
Target Milestone: 3.5 M5   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
project to import into your workspace none

Description Paul VanderLei CLA 2008-11-13 16:36:37 EST
The zip contains 3 projects:
        com.bandxi.pv.x (bottom of the food chain)
        com.bandxi.pv.y (middle of the food chain)
        com.bandxi.pv.z (top of the food chain)

Stopping com.bandxi.pv.x causes the problem, but you MUST have the log service available, and use the "log" command to see the error. Extract the zip directly into your eclipse workspace and then use File > Import... > Existing Projects into Workspace.

Component Z (top of the food chain -- immediate)
 References: IA
 References: IC
 
Component Y (middle of the food chain)
 Provides: IC
 References: IB


Component X (bottom of the food chain)
 Provides: IA
 Provides: IB

When I stop the bundle that contains component X, DS is deactivating Component Y first then Component Z. This is backwards. It should deactivate from the top of the food chain downwards, starting with Z, then Y, then X.

This scenario is unusual because the bottom component X actually provides two services, and Y and Z do not depend on the same provided service from X.
Comment 1 Paul VanderLei CLA 2008-11-13 16:37:48 EST
Created attachment 117834 [details]
project to import into your workspace
Comment 2 Stoyan Boshev CLA 2009-01-07 11:25:50 EST
Fixed
Comment 3 Simon Archer CLA 2009-01-07 12:48:16 EST
Thanks, Stoyan. I guess that this will be in M5?
Comment 4 Stoyan Boshev CLA 2009-01-07 12:57:21 EST
(In reply to comment #3)
> Thanks, Stoyan. I guess that this will be in M5?

Yes