Modifying [message #478793] |
Thu, 06 August 2009 19:33  |
Eclipse User |
|
|
|
Hi,
I am working on moving our product from Eclipse 3.4.1 to Eclipse 3.5.
Things were going well until I had to apply several patches to the few
Eclipse RCP plugins that we have to modify as there's no way to extent
their classes and our changes are too specialized in nature to become a
part of the Eclipse code base.
The issue is this: I have to modify a couple source files that belong to
the org.eclipse.ui.workbench plug-in. The way we've been doing this since
Eclipse 3.2 has been to import the plug-in as source in our project
(Plug-ins View, right-click on the plug-in, Import As Source Project),
make the changes, then use the modified plug-in instead of the original
one when exporting the product.
That all worked fine until now, as Eclipse 3.5 seems to no-longer allow
this with the org.eclipse.ui.workbench plug-in (nor with the
org.eclipse.ui.editors for a conceptually similar reason) because as soon
as the plug-in is imported as source, it can no longer find at least one
resource bundle located in another plug-in. Specifically it cannot find
the
org.eclipse.jface.resource.jfacefonts_windowsvista_win32
resource bundle and throws a java.util.MissingResourceException.
I.e. once moved out of /eclipse/plugins/ to our workspace the
org.eclipse.ui.workbench plugin cannot find all plug-ins it requires, in
this case org.eclipse.jface.
There are significant changes between v3.4.1 and v3.5 in both the
MANIFEST.MF and the source files of org.eclipse.ui.workbench plug-in so
it's difficult to get a clue for a solution based on analysis of those
changes.
A pointer as to what the cause and/or the solution for this might be would
be greatly appreciated.
Thanks in advance for your time and consideration.
Yolian
|
|
|
|
Re: Modifying [message #479374 is a reply to message #478793] |
Mon, 10 August 2009 15:04  |
Eclipse User |
|
|
|
There is a bug in 3.5 that causes import source to "forget" to import the resource bundles. There is a bug open about this.
you are better off checking out the appropriate version of org.eclipse.ui.workbench from CVS (use the tag that matches your plugin_3.5.0.<tag>.jar) and applying there (source bundles are great when they work, but cannot handle the more complex source to bundle transformations).
PW
|
|
|
Powered by
FUDForum. Page generated in 0.07622 seconds