Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » p2 mechanism cannot work as expected((Plug-in installation failed when using p2 mechanism)
p2 mechanism cannot work as expected [message #1758471] Wed, 29 March 2017 02:41 Go to next message
Devin Xin is currently offline Devin XinFriend
Messages: 12
Registered: March 2017
Junior Member

Hi All,

Recently I use p2 mechanism(not use p2 UI) to install my own plug-in, we use one scripts to install our plugins and features into one folder, and then create one link file into the dropins folder. By using this way, the installation can work as expected, but sometime, when we do the upgrade for the installed plugins(after we did some bug fix for current plugin, we need to update the installed version), it seems this way cannot work as expected, the eclipse still cache the old installed plugin, and after starting the eclipse, the installed plugin don't include the fixed feature.

After checking the, I saw the newest plugin already been listed in this file. it's so strange.

And we also update our plugin version everytime when doing the installation.

As the page(please see said,
p2 supports the notion of watched directories. A watched directory is a place where a user or script can drop files and have them discovered by p2. it means p2 know which plugin should be used when starting eclipse? or anything wrong with my operation?

BTW, everytime, I must delete the ".eclipse" folder to let it work, this is so inconvenience.
As I understand, when using the p2 mechanism, this issue shouldn't happen anymore.
am I wrong?

Thanks for your help and time.
Best Regards,
Re: p2 mechanism cannot work as expected [message #1765054 is a reply to message #1758471] Tue, 06 June 2017 09:06 Go to previous message
Devin Xin is currently offline Devin XinFriend
Messages: 12
Registered: March 2017
Junior Member

Is this one bug? or somethings wrong during my use?
Previous Topic:Synchonizing with EventAdmin
Next Topic:Fetching duplicates library(jar files and plugins) from different-different mirrors and sites
Goto Forum:

Current Time: Wed Mar 21 11:13:04 GMT 2018

Powered by FUDForum. Page generated in 0.02198 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software