Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] Override Equinox implementation?

But p2 is already locked to a specific fully qualified version by
org.eclipse.sdk.ide, no? Trying to specify another version of p2 will
result in resolution failures, unless I am missing something.

--
Regards,
Igor


On 12-06-12 9:36 AM, Oberlies, Tobias wrote:
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.

Regards Tobias >

-----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
configuration.

It used to be possible to specify .target files like [1], but I think
this was a bug and has been disabled.

[1]
http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/commit/?id=899085a
7f666cc3dcb0a3f0fee63cd4f1b0a8df8

--
Regards,
Igor

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
each
entry. What should I put for my local Maven repo?
Is there another file involved in providing target-platform or
repositories?

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
p2.
This version is available locally in my Maven repo, but whatever
version
I set for my p2 bundle in the MANIFEST.MF of the Tycho bundle, it
keeps
on using the one that can be resolved from target-platform. I tried
with
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
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




Back to the top