|Warning on manifest search paths [message #594239]
||Mon, 30 March 2009 23:07
| Tom Morris
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!
Powered by FUDForum
. Page generated in 0.02309 seconds