Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Migration from 0.12.0 to 0.13.0 with local p2 repository

Hello,

This probably won't solve all your problems but the jmock and hamcrest core bundles are available in an eclipse update site so you don't have to create your own update site for them.
The update site can be found as part of the Eclipse orbit project (see http://download.eclipse.org/tools/orbit/downloads/drops/S20111201180206/).


Regards,
Davy

> From: Oliver.Pfau@xxxxxxxxxxxx
> To: tycho-user@xxxxxxxxxxx
> Date: Wed, 7 Dec 2011 13:49:26 +0100
> Subject: Re: [tycho-user] Migration from 0.12.0 to 0.13.0 with local p2 repository
>
> Switching from 0.12.0 to 0.13.0 end with build failed because such a 3rd party library could not be resolved for compilation.
>
> If I try to add my p2 repository in the target platform dialog in eclipse, it does not work because there is no category defined.
>
> Yesterday I defined a new project and added a feature which combines this 3rd party jars, added a category.xml and tried to export it as deployable feature to get a update site which I can use as target platform entry and not as directory. Unfortunately eclipse stopped with an error on the resolvement. I do not know exactly why...it was the hamcrest core bundle for jmock bundle from springsource. I stopped at this point...
> When I have time, I will the approach to generate the p2 repository mention by Markward Schubert.
>
>
> -----Ursprüngliche Nachricht-----
> Von: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] Im Auftrag von Igor Fedorenko
> Gesendet: Mittwoch, 7. Dezember 2011 13:33
> An: tycho-user@xxxxxxxxxxx
> Betreff: Re: [tycho-user] Migration from 0.12.0 to 0.13.0 with local p2 repository
>
> What were exact problems when you switched from 0.12 to 0.13?
>
> You should be able to use Update Site location type in .target file,
> Directory is indeed not supported.
>
> --
> Regards,
> Igor
>
> On 11-12-07 4:58 AM, Oliver Pfau wrote:
> > Hi,
> >
> > my build work fine with tycho 0.12.0. After migration to 0.13.0 no
> > more. My with eclipse.exe generated p2 repository (contains 3rd party
> > libraries which are not available from a public repository) is
> > defined in the parent pom defined as repository. With 0.13.0 this no
> > more works. So I thought I use my eclipse target Definition file as
> > tycho input, but my local p2 repository is added as directory in the
> > target definition and tycho tells me that it does not support this
> > type. Is there any solution for this?
> >
> > Regards Oliver _______________________________________________
> > tycho-user mailing list tycho-user@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/tycho-user
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user

Back to the top