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

Bug 342576

Summary: Quick fix for missing Bundle-Version produces 1.0.0.0 which can cause confusion
Product: [RT] Virgo Reporter: Martin Lippert <mlippert>
Component: toolingAssignee: Project Inbox <virgo-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: eclipse, mlippert
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Bug Depends on:    
Bug Blocks: 368782    

Description Martin Lippert CLA 2011-04-12 10:38:04 EDT
Unfortunately, 1.0.0.0 has "0" for its String qualifier component. This could cause confusion because 1.0.0.0 > 1.

For example of confusion, Import-Bundle: ...;version="[1, 1]" will not resolve because 1.0.0.0 is not an elements of the range [1, 1].

See STS 1293 for steps to reproduce. Stop after the quick fix for the bundle version is applied.

Suggested solution: make the quick fix produce "1.0.0" instead (or, equivalently, "1" or "1.0").

(moved from: https://issuetracker.springsource.com/browse/STS-1294)