Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mylyn-reviews-dev] version ranges in target definitions

The target definitions used by the Mylyn Tycho build currently have hard coded versions, e.g.:

 <unit id="org.eclipse.egit.feature.group" version="0.10.1"/>
 <repository location="http://download.eclipse.org/egit/updates"/>

My assumption was that Tycho interprets those as minimum versions but builds have been failing (sometimes) because Tycho appeared to look for the exact version specified. I have worked around it by specifying 0.0.0 as the version but that doesn't feel right, particularly for things like the Eclipse SDK where we intentionally want to build against a specific minor version.

What I would like to do is specify a version range:

 <unit id="org.eclipse.mylyn.sdk_feature.feature.group" version="[3.5.0,3.6.0)"/>

Does anyone know if and how Tycho interprets that? Ideally I want it to always resolve that to the latest matching version found on available repositories.

Steffen

--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com

Back to the top