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

Bug 350236

Summary: Can't specify "use latest version" in category.xml of eclipse-repository
Product: z_Archived Reporter: Tobias Oberlies <t-oberlies>
Component: TychoAssignee: Tobias Oberlies <t-oberlies>
Status: RESOLVED WORKSFORME QA Contact:
Severity: major    
Priority: P3 CC: christian.k.2510, igor, sascha.scholz
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 342876    

Description Tobias Oberlies CLA 2011-06-24 07:23:25 EDT
Unlike the site.xml in eclipse-update-site, the category.xml of eclipse-repository doesn't support the version "0.0.0" as "lastest version". Instead, the Tycho dependency resolver interprets it as version range [0.0.0,0.0.1).

While it may be useful to specify verstions in the category.xml, the more common use case is to take the (latest) versions available in the reactor or target platform.

This bug is fairly severe, because until "0.0.0" is working, the versions or reactor artifacts need to be listed in the category.xml and hence must be adapted for every release.
Comment 1 Tobias Oberlies CLA 2011-07-20 09:47:08 EDT
This bug report is invalid. I overlooked that the problematic project didn't actually specify the version "0.0.0" but rather "0.0.0.qualifier". "0.0.0" is correctly replaced by the latest version (in most cases - see bug 352081). 

"a.b.c.qualifier" seems to be interpreted as range [a.b.c, a.b.c+1)