Skip to main content

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

According to https://issues.sonatype.org/browse/TYCHO-421 the behaviour how Tycho interprets versions in the target platform definition has changed in current Tycho snapshot versions and is now consistent with platform. That means version ranges won't be supported and we can either go with 0.0.0 or specific versions.

To simplify dependency management I would like to use 0.0.0 for all dependencies (EGit, EMF, etc.) except for Orbit bundles where it matters that we consume the version that the CQ was filed for.

Does that make sense?

Steffen


On Thu, Feb 24, 2011 at 6:38 AM, Sascha Scholz <sascha.scholz@xxxxxxxxx> wrote:
Not that I would know but you could ask on tycho-users

On Thu, Feb 24, 2011 at 9:54 AM, Steffen Pingel
<steffen.pingel@xxxxxxxxxxx> wrote:
> 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
>
> _______________________________________________
> mylyn-reviews-dev mailing list
> mylyn-reviews-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/mylyn-reviews-dev
>
>



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

Back to the top