Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Plug-in export problem.
Plug-in export problem. [message #435760] Tue, 23 August 2005 10:49 Go to next message
Martin Coetzee is currently offline Martin CoetzeeFriend
Messages: 45
Registered: July 2009
Member
Hi There. Could somebody please shed some light on this problem. I'm sure
somebody had a problem like this before. I searched the news group but did
not find a solution. Here's my problem:

I've got 2 Plugins that shares third party jar files. So I created a third
plugin, called the SharedLibrariesPlugin, and exported the packages
through it. I made plugin 1 and 2 dependant on this plugin. All of this
work while running it from the eclipse workbench, but as soon as I want to
export it as an application, it shows in the error log that it can't find
these third party classes that should be in the shared libraries plugin.

Could somebody shed some light on this topic for me? I don't to copy the
jar files all over the show.

Thanx
Martin
Re: Plug-in export problem. [message #435764 is a reply to message #435760] Tue, 23 August 2005 11:48 Go to previous messageGo to next message
Pascal Rapicault is currently offline Pascal RapicaultFriend
Messages: 440
Registered: July 2009
Senior Member
Make sure your shared jars are listed in the manifest, and make sure the
build.properties just list the jars (if they are already compiled).
HTH

PaScaL

Martin Coetzee wrote:
> Hi There. Could somebody please shed some light on this problem. I'm
> sure somebody had a problem like this before. I searched the news group
> but did not find a solution. Here's my problem:
>
> I've got 2 Plugins that shares third party jar files. So I created a
> third plugin, called the SharedLibrariesPlugin, and exported the
> packages through it. I made plugin 1 and 2 dependant on this plugin. All
> of this work while running it from the eclipse workbench, but as soon as
> I want to export it as an application, it shows in the error log that it
> can't find these third party classes that should be in the shared
> libraries plugin.
>
> Could somebody shed some light on this topic for me? I don't to copy the
> jar files all over the show.
>
> Thanx
> Martin
>
Re: Plug-in export problem. [message #435964 is a reply to message #435760] Fri, 26 August 2005 09:54 Go to previous message
Marc Heimann is currently offline Marc HeimannFriend
Messages: 18
Registered: July 2009
Junior Member
I had the very same problem a while ago.
Finally I found out that it obviously makes a difference if you just add
the third party library to the plugin and make the classes available in
the manifest or if you create a plugin from existing jars.

The latter worked for me.

HTH
Marc
Martin Coetzee wrote:
> Hi There. Could somebody please shed some light on this problem. I'm
> sure somebody had a problem like this before. I searched the news group
> but did not find a solution. Here's my problem:
>
> I've got 2 Plugins that shares third party jar files. So I created a
> third plugin, called the SharedLibrariesPlugin, and exported the
> packages through it. I made plugin 1 and 2 dependant on this plugin. All
> of this work while running it from the eclipse workbench, but as soon as
> I want to export it as an application, it shows in the error log that it
> can't find these third party classes that should be in the shared
> libraries plugin.
>
> Could somebody shed some light on this topic for me? I don't to copy the
> jar files all over the show.
>
> Thanx
> Martin
>
Previous Topic:Intro shown on every startup of RCP
Next Topic:Launching java app from webstart client
Goto Forum:
  


Current Time: Mon Dec 09 08:25:38 GMT 2024

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

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

Back to the top