Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Updatesite produces wrong jars
Updatesite produces wrong jars [message #436355] Wed, 07 September 2005 09:46 Go to next message
Andreas Pakulat is currently offline Andreas PakulatFriend
Messages: 127
Registered: July 2009
Senior Member
Hi,

I have 2 editor-plugins, setup completely the same, i.e. MANIFEST.MF,
plugin.xml and build.properties look the same, except for any names. Now
these have each a feature associated and are integrated into an
UpdateSite-Project. Now when I use "Build All" in the UpdateSite-Project
I get 2 plugin-jars for the editors, but one of the 2 contains only the
plugin.xml (and a wrong/old one) and another .jar. AFAIK this is wrong,
and I ran out of options in trying to make this UpdateSite build the
plugin correct.

Any hints what is going wrong here?

Andreas

PS: This problematic editor feature refuses to work when I run it with
my rcp-app, saying the it can't find a class in the plugin. This error
drew my attention to the plugin-jar and it's wrong layout.

PPS: I already tried to completely clean all projects and the
updatesite, but it didn't help either.
Re: Updatesite produces wrong jars [message #436360 is a reply to message #436355] Wed, 07 September 2005 11:26 Go to previous message
Andreas Pakulat is currently offline Andreas PakulatFriend
Messages: 127
Registered: July 2009
Senior Member
Andreas Pakulat schrieb:
> PPS: I already tried to completely clean all projects and the
> updatesite, but it didn't help either.

It seems that the problem was, that there was an old version of the
editor-plugin installed within eclipse's folders (under
$ECLIPSE_HOME/plugins) and the feature always took that plugin-jar
instead of the project from the workspace...

Removing the plugin-jar from eclipse' home dir solved the problems, took
me only about 2 hours to figure it out, so I thought I'd share my
experience, in case somebody else runs across this.

Andreas
Previous Topic:Title of PreferenceDialog
Next Topic:Dynamically update editors title
Goto Forum:
  


Current Time: Sun Dec 08 06:21:22 GMT 2024

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

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

Back to the top