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

Bug 218639

Summary: [prov] Launcher IU id, requirements, and capabilities
Product: [Eclipse Project] Equinox Reporter: Andrew Niefer <aniefer>
Component: IncubatorAssignee: Andrew Niefer <aniefer>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: pascal
Version: unspecified   
Target Milestone: 3.4 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 218623    

Description Andrew Niefer CLA 2008-02-12 11:22:32 EST
The id for the generated launcher IU should be based on the product (if we are generating for a product).  This is because the exe is branded with product icons.  The proposal is to use productId + ".launcher".

The generated IU should have a requirement on the corresponding org.eclipse.equinox.launcher.ws.os.arch IU.

It should also provide a capability (NAMESPACE_IU_KIND, productId + ".launcher").  This allows a Product IU to require the launcher without specifying the exact platform.  This is useful because it does not require us to know the platforms when generating the Product IU.
Comment 1 Andrew Niefer CLA 2008-02-14 16:05:24 EST
The capability being used is namespace=productId, name= productId+.launcher

Only the launcher IUs provide this capability.  The corresponding launcher CU fragments do not provide this capability yet because of bug 218890.  As a workaround, the product IU  is currently requiring the CU fragments directly instead of through the capability.

I am marking this as fixed.  I have raised bug 219023 to change this workaround when 218890 is fixed.