[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] Help testing with a local version of p2

The p2 bundles in Tycho's OSGi runtime come from the org/eclipse/tycho/tycho-bundles artifact in your local Maven repository. So you can see there if the correct bundles would be used.

When building tycho-bundles-external, you can also check that the "locally built units" warning includes your p2 bundles.

Regards
Tobias

> -----Original Message-----
> From: tycho-dev-bounces@xxxxxxxxxxx [mailto:tycho-dev-
> bounces@xxxxxxxxxxx] On Behalf Of Pascal Rapicault
> Sent: Mittwoch, 18. Februar 2015 03:10
> To: tycho-dev@xxxxxxxxxxx
> Subject: Re: [tycho-dev] Help testing with a local version of p2
> 
> Well, after trashing the ~/.m2/repository/.meta/ and rebuilding p2, then
> tycho things now seem to work.
> 
> Pascal
> 
> On 02/17/2015 05:03 PM, Pascal Rapicault wrote:
> > Hi,
> >
> > In the context of bug 431116 (fixing the Mac layout), I'm trying to
> > test tycho with a locally built version of p2 and I'm running into
> > difficulties. Like instructed on the wiki
> > (http://wiki.eclipse.org/Developing_Tycho) I've built p2 locally
> > setting a build qualifier with today's date (to be sure that it is
> > higher than the versions found in my local repo), then I rebuilt tycho
> > and I can see that my locally built p2 bundles are picked up.
> >
> > Unfortunately, when I debug a maven build using this patched version
> > of Tycho, I can see that the wrong version of the p2 bundles are being
> > used (the source code does not align). The changes I have done are in
> > the publisher bundles.
> >
> > How could I see which p2 bundles are being used by Tycho, more
> > specifically by the PublishProductMojo? Where are they coming from?
> >
> > Thanks in advance,
> >
> > Pascal
> > _______________________________________________
> > tycho-dev mailing list
> > tycho-dev@xxxxxxxxxxx
> > To change your delivery options, retrieve your password, or
> > unsubscribe from this list, visit
> > https://dev.eclipse.org/mailman/listinfo/tycho-dev
> 
> _______________________________________________
> tycho-dev mailing list
> tycho-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/tycho-dev