Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Warning on manifest search paths
Warning on manifest search paths [message #594239] Mon, 30 March 2009 23:07
Tom Morris is currently offline Tom MorrisFriend
Messages: 89
Registered: July 2009
This should be a pretty rare situation, but on the off chance that I can
save someone else a lot of aggravation...

It appears that the PDE Open Manifest command and the Run->Product look
in one place a plugin's manifest and the OSGI/RCP launcher looks in a
different place. Or, more accurately, they probably both look in
multiple places, but search them in different orders.

It took me a long time with many clean/rebuild cycles and lots of
checking, recheching, and triple checking before I finally was desperate
enough to resort to the OSGI console to figure out what was really going
on. Lo and behold, my plugin was loaded, but had a completely different
version number than the one right in front of me on the screen.

Somehow I'd managed to end up with two MANIFEST directories, one in the
top level directory and one in the src directory. While most things
were looking at the one in the top level directory, apparently the RCP
launcher was looking at the one in the src directory. It had an old
version number, so it didn't meet the necessary version requirements.

I know better than to have multiple copies of things and the scenario
for how the two different manifests got created is lost to the mists of
time, but apparently there are also two different implementations of the
search path code in Eclipse.

Hope this saves someone some aggravation!

Previous Topic:Warning on manifest search paths
Next Topic:Validate plug-in configuration without generating launcher
Goto Forum:

Current Time: Sat Jun 12 18:42:42 GMT 2021

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

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

Back to the top