Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350236 - Can't specify "use latest version" in category.xml of eclipse-repository
Summary: Can't specify "use latest version" in category.xml of eclipse-repository
Status: RESOLVED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Tycho (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Tobias Oberlies CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 342876
  Show dependency tree
 
Reported: 2011-06-24 07:23 EDT by Tobias Oberlies CLA
Modified: 2021-04-28 16:55 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)