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

Ok...thanks for the hint, I will do so. I have some optional dependencies because the client is build as eclipse rcp and as eclipse rap web client both.

-----Ursprüngliche Nachricht-----
Von: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] Im Auftrag von Igor Fedorenko
Gesendet: Mittwoch, 7. Dezember 2011 13:55
An: tycho-user@xxxxxxxxxxx
Betreff: Re: [tycho-user] Migration from 0.12.0 to 0.13.0 with local p2 repository

It maybe easier for you to wait until I resolve [1] and go from 0.12 to
0.14.0-SNAPSHOT without any changes.

.target file still should work, but it is indeed tedious to setup for
artifacts that are not already available from p2 repositories.

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=351842

--
Regards,
Igor

On 11-12-07 7:49 AM, Oliver Pfau wrote:
> 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
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top