Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Plugins Out of Sync
Plugins Out of Sync [message #568346] Fri, 06 June 2008 14:51
Bruce Skingle is currently offline Bruce SkingleFriend
Messages: 7
Registered: July 2009
Junior Member
I am seeing a problem with 3.2.2 where some of my plugin projects show
as "(Out of Sync)" in the Plug-ins view and in the depdendencies panel
of other plugins which depend on the out of sync plugins.

This is nothing to do with the file system being out of sync with the
work space, and no amount of refresh, clean, or rebuild seems to make
the problem go away. Sometimes closing and reopening the project helps,
and I think always, exiting Eclipse and restarting sorts it out.

This has been reported before (see
http://www.eclipsepowered.org/eclipse/forums/t102020.html) but it seems
that no one has been able to isolate a reproducable test case.

I have also been unable to reliably reproduce the error, but I have a
hunch and wondered if anyone on the PDE team could consider this as a
possible cause:

The projects which this happens on are the result of a code generator I
am developing, the whole project is generated including MANIFEST.MF and
plugin.xml. All file writes are done via the Eclipse API and I do not
see any issues with files out of sync on the file system. An alternative
mode where the generated code is dropped into a folder in a normal (i.e
not derived object) project works without any problems.

So, could it be that the problem is related to updating MANIFEST.MF? The
PDE obviously maintains some other state about plugins and plugin
dependencies, because at one point I noticed that calling
IProject.getReferencingProjects() did not return everything it should
have, and anyway, without some kind of state cache that method would
have to re-parse every MANIFEST.MF in the workspace which would probably
take too long, but this is pure guesswork on my part.

Obviously if I can isolate a test case I'll raise a bug, but I just
wondered if this possible scenario struck a chord with anyone?

Bruce.
Previous Topic:Target Platform plugin dependent on workspace plugin
Next Topic:Re: Common Navigator Framework
Goto Forum:
  


Current Time: Sat Apr 27 00:03:11 GMT 2024

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

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

Back to the top