Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » p2 repository produces outdated jar/plugin
p2 repository produces outdated jar/plugin [message #1060151] Thu, 23 May 2013 06:44
Erik Vande Velde is currently offline Erik Vande Velde
Messages: 62
Registered: September 2012
Member
Our project consists of a common, server and client module.
Common contains classes that are shared between the server and client.
The client module (RCP4) should always use the most recent version of common.
Therefore we build a common-1.0.0-SNAPSHOT jar, and put it in nexus.
We also have a p2repository module that creates a p2 update site containing the latest common code, let's call it p2repository.zip.

THE PROBLEM: when we use p2repository.zip as 'software site' in the target platform of our client module it somehow downloads the common-1.0.0-SNAPSHOT.jar of one day ago, and the code doesn't compile. Still that same zip contains the correct version of common-1.0.0-SNAPSHOT.jar in its plugin sub-directory, so I wonder where eclipse finds the outdated jar.

THE QUESTION: why doesn't eclipse use the jars in the p2 repository zip, and where does it find the outdated jars it does use?

Sadly I cannot attach the p2repository.zip here, as it's 4 MB in size ...
Previous Topic:Add Custom Buttons to CompareEditorInput implementation.
Next Topic:Asynchronuously write into workspace file
Goto Forum:
  


Current Time: Thu Jul 24 13:55:54 EDT 2014

Powered by FUDForum. Page generated in 0.01399 seconds