Updatesite produces wrong jars [message #436355] |
Wed, 07 September 2005 05:46  |
Eclipse User |
|
|
|
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 07:26  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03102 seconds