[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tycho-dev] Override Equinox implementation?
- From: "Oberlies, Tobias" <tobias.oberlies@xxxxxxx>
- Date: Tue, 12 Jun 2012 15:36:20 +0200
- Accept-language: en-US, de-DE
- Acceptlanguage: en-US, de-DE
- Delivered-to: firstname.lastname@example.org
- Thread-index: Ac1Ik3y6lcu+JAIWT8yL7paoQC0AEgADC6jA
- Thread-topic: [tycho-dev] Override Equinox implementation?
The versions in the target file are completely unrelated to what comes through the local Maven repository. (The unit tags in target files used to behave like extraRequirements, but this has been fixed a long time ago now - I believe it was 0.11.0).
Target platform = target file content + things built with mvn install locally (i.e. from the local Maven repository), i.e. in your case there are two versions of p2 bundles.
Then, the p2 resolver picks a version from the Target platform. You should be easily able to convince the p2 resolver to pick your locally built version, e.g. by a strict version dependency in a manifest or an extraRequirement.
> -----Original Message-----
> From: tycho-dev-bounces@xxxxxxxxxxx [mailto:tycho-dev-
> bounces@xxxxxxxxxxx] On Behalf Of Igor Fedorenko
> Sent: Dienstag, 12. Juni 2012 13:44
> To: tycho-dev@xxxxxxxxxxx
> Subject: Re: [tycho-dev] Override Equinox implementation?
> Good question. I believe org.eclipse.sdk.ide specified in tycho.target
> locks p2 to a specific version and I am not sure if there is a way to
> unlock this without switching to <repository>-based target platform
> It used to be possible to specify .target files like , but I think
> this was a bug and has been disabled.
> On 12-06-12 7:27 AM, Mickael Istria wrote:
> > As far as i can see, tycho.target contains almost nothing... Also
> > .target file have a dependency on the repository they consume for
> > entry. What should I put for my local Maven repo?
> > Is there another file involved in providing target-platform or
> > On 06/12/2012 01:10 PM, Igor Fedorenko wrote:
> >> tycho.target should have new version or use 0.0.0 to let tycho
> >> pick the latest one.
> >> --
> >> Regards,
> >> Igor
> >> On 12-06-12 6:22 AM, Mickael Istria wrote:
> >>> I can successfully change rebuild tycho-external-bundles.product
> with my
> >>> own version of p2, and get Maven plugins to use this version.
> >>> However, I am having troubles with building
> >>> org.eclipse.tycho.p2.resolver.impl bundle with my own version of
> >>> This version is available locally in my Maven repo, but whatever
> >>> I set for my p2 bundle in the MANIFEST.MF of the Tycho bundle, it
> >>> on using the one that can be resolved from target-platform. I tried
> >>> the fully qulified version of my local build, but nothing changed.
> >>> Is there something to modify in tycho-bundles/pom.xml or
> >>> tycho-bundles/tycho-bundles-target/tycho.target to be able to build
> >>> those bundles with my own local version of p2?
> >>> Cheers,
> >>> --
> >>> Mickael Istria
> >>> Eclipse developer at JBoss, by Red Hat <http://www.jboss.org/tools>
> >>> My blog <http://mickaelistria.wordpress.com> - My Tweets
> >>> <http://twitter.com/mickaelistria>
> >>> _______________________________________________
> >>> tycho-dev mailing list
> >>> tycho-dev@xxxxxxxxxxx
> >>> https://dev.eclipse.org/mailman/listinfo/tycho-dev
> >> _______________________________________________
> >> tycho-dev mailing list
> >> tycho-dev@xxxxxxxxxxx
> >> https://dev.eclipse.org/mailman/listinfo/tycho-dev
> > --
> > Mickael Istria
> > Eclipse developer at JBoss, by Red Hat <http://www.jboss.org/tools>
> > My blog <http://mickaelistria.wordpress.com> - My Tweets
> > <http://twitter.com/mickaelistria>
> > _______________________________________________
> > tycho-dev mailing list
> > tycho-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/tycho-dev
> tycho-dev mailing list