Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Modifying
Modifying [message #478793] Thu, 06 August 2009 23:33 Go to next message
Yolian Ignatov is currently offline Yolian IgnatovFriend
Messages: 2
Registered: July 2009
Junior Member
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 the org.eclipse.ui.workbench plug-in [message #478794 is a reply to message #478793] Thu, 06 August 2009 23:36 Go to previous messageGo to next message
Yolian Ignatov is currently offline Yolian IgnatovFriend
Messages: 2
Registered: July 2009
Junior Member
Fixing the subject of this post.
Re: Modifying [message #479374 is a reply to message #478793] Mon, 10 August 2009 19:04 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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


Previous Topic:Getting "tab" or views
Next Topic:Re: Preferences: dependencies of FieldEditors
Goto Forum:
  


Current Time: Fri Apr 26 09:40:46 GMT 2024

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

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

Back to the top