Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Refetching plugins from Target Platform

p2, like OSGi, assumes that if two bundles have the same bundle symbolic name and same version, then they are identical.

Brian.

On 21-Jun-2016, at 8:18 AM, Philipp.Fischer@xxxxxx wrote:

Hi
 
Well it is not the plugins artifacts i am building.
 
It is the artifacts in the p2 repository where my build relies on. Tycho should not rely on its cache and always pick the dependencies from its source.
 
Cheers
 
Philipp
 
Von: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] Im Auftrag von Alex Blewitt
Gesendet: Dienstag, 21. Juni 2016 13:24
An: Tycho user list
Betreff: Re: [tycho-user] Refetching plugins from Target Platform
 
You shouldn’t be using .SNAPSHOT, which is an immutable version. you should have .qualifier on your bundles and -SNAPSHOT in your pom files. When they are built they will substitute the current date, so while the source files don’t change, you get a new build each time.
 
Alex
 
On 21 Jun 2016, at 12:22, <Philipp.Fischer@xxxxxx> <Philipp.Fischer@xxxxxx> wrote:
 
Hi there,
 
I am running a tycho based build that uses a target platform file. This file is directing to a p2 server. On this server I am having some features and plugins with Versionnumbers such as 4.0.4.SNAPSHOT.
 
The trouble I am facing is when the plugins behind that p2 get recompiled and change. The tycho build does not fetch the new plugins and uses some cached versions instead that have the same version but definitely some new content. 
 
How is it possible to make tycho always look and fetch the very current version that is available on the p2?
 
Kind regards
 
Philipp M. Fischer
 
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
 
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top