Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Plug-in in several p2 update sites - How to consume the plug-in with the highest version number

Hi,

 

> But AFAIK the target definition files must always specify a version. As the plug-in version number of the CBI plug-ins changes all the time, I think we cannot use that.

 

At ECE 2013, the guys from Obeo show me their solution to create target files with version number. Mikael Barbero has written a small XText DSL that produce target files with hard coded version number.

 

I blogged about it:

http://www.bsiag.com/scout/version0-0-0-in-target-platform/

 

It does not solve any of the mentioned bugs, but given the current situation, it is an efficient solution to produce target files with fix version number.

 

Best regards,

 

Jérémie

 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Lars Vogel
Sent: Mittwoch, 19. Februar 2014 10:19
To: Joerg.Sesterhenn@xxxxxxxxx; Tycho user list; igor@xxxxxxxxxxxxxx
Subject: Re: [tycho-user] Plug-in in several p2 update sites - How to consume the plug-in with the highest version number

 

Thanks Igor and Jörg. Filtering could work in theory but but similar to the description in https://bugs.eclipse.org/bugs/show_bug.cgi?id=365962 this would create lots of manual work. Also placing in 0.0.0 in the target definition file would not work because according to https://wiki.eclipse.org/Tycho/Target_Platform the content selection of the target platform is also not considered. 

 

I tried to solve it by removing the Luna update site and including the individual updates sites, e,g. EMF, WTP XML editor. But finding the correct updates sites for all plug-ins and feature required for a SDK is very time consuming an error-prone.

 

Is it possible to set a filter for a specific update site? For example if I want to use the luna update side only for EMF and ECF?

 

Thanks for the advice, Lars

 

2014-02-14 7:32 GMT+01:00 "Sesterhenn, Jörg" <Joerg.Sesterhenn@xxxxxxxxx>:

Hi,

Am 14.02.2014 00:47, schrieb Lars Vogel:

We only need Luna for the plug-ins which are not included in the CBI build and could in theory solve this with the usage of target definition files. But AFAIK the target definition files must always specify a version. As the plug-in version number of the CBI plug-ins changes all the time, I think we cannot use that.

You can set the versions in the target definition to 0.0.0. However, you can not make that change in the editor. We use this to integrate against SNAPSHOTs of products also developed at our company.


Regards,
Jörg Sesterhenn
 


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Back to the top