Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Export problem, plugins contains same contents
Export problem, plugins contains same contents [message #443872] Mon, 06 February 2006 03:35 Go to next message
Eclipse UserFriend
Originally posted by: johan.de.koning.geodan.nl

Hello,

I have developed an application based on the RCP. Launching this
application with a product configuration goes correctly. But when i want
to export the application (plugins) i get a problem.

To keep it simple my application has four plugins.

client.libs
client.core
client.ui
client.soap

Core, ui and soap uses the libs plugins which contains third party
libraries. ui and soap both use core to use default functionality (a
plugin does not have to use the core plugin or the libs, that's the reason
i have seperated this).

When i export the plugins with the product configuration, core (and also
libs) are exported correctly. Also the other plugins are exported without
errors but i cannot run the application when export is finished. When i
look at the contents of the ui and soap, they both contains the same (and
only) classes as the core (and the other classes are not there).

What goes wrong with the export of these plugins? Hopefully somebody can
help me with this. Because i now have to create the ui and soap plugins by
hand.

Best regards,

Johan de Koning
Re: Export problem, plugins contains same contents [message #443889 is a reply to message #443872] Mon, 06 February 2006 12:27 Go to previous message
Eclipse UserFriend
Originally posted by: kwpeck.mersoft.com

You need to open the plugin.xml file and look in a couple of areas.

One the build tab are you building to a jar such as
client.libs.jar under Runtime Information (box upper left of screen)
If you are click on that jar file and look in the sources area (box of
upper right of screen)
Does this box contain the path(s) to the source code such as src/java or
maybe just src/

Once that is set up look on the Runtime tab.
In the classpath area (lower right of screen) do you have the jar file
from the build tab (client.libs.jar) in there or at least \. in there.
If not get the jar from the build tab in there.

Basically you need to tell Eclipse to put a jar file built from you
..class files into the classpath.


Johan de Koning wrote:
> Hello,
>
> I have developed an application based on the RCP. Launching this
> application with a product configuration goes correctly. But when i want
> to export the application (plugins) i get a problem.
> To keep it simple my application has four plugins.
> client.libs
> client.core
> client.ui
> client.soap
>
> Core, ui and soap uses the libs plugins which contains third party
> libraries. ui and soap both use core to use default functionality (a
> plugin does not have to use the core plugin or the libs, that's the
> reason i have seperated this).
> When i export the plugins with the product configuration, core (and also
> libs) are exported correctly. Also the other plugins are exported
> without errors but i cannot run the application when export is finished.
> When i look at the contents of the ui and soap, they both contains the
> same (and only) classes as the core (and the other classes are not there).
>
> What goes wrong with the export of these plugins? Hopefully somebody can
> help me with this. Because i now have to create the ui and soap plugins
> by hand.
> Best regards,
>
> Johan de Koning
>
Previous Topic:Accessing classpath resources from a plugin
Next Topic:IDE and Drag and Drop
Goto Forum:
  


Current Time: Thu Jul 10 00:44:17 EDT 2025

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

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

Back to the top