Basic plugin questions [message #137568] |
Wed, 15 February 2006 06:14  |
Eclipse User |
|
|
|
Hi,
I am trying to create a RCP application. I found some tutorials on how
to do this, and it seems to work.
In this application, I am planning to use some external, but also
internal, libraries, for instance log4j, Jakarta's commons-
configuration, ..., and self-created libraries, which are not only used
in my RCP project. These libraries are packed up in jar files.
I can, of course, put all these jar files in my RCP application, but it
seems more appropriate to me to create simple plugins (maybe one plugin
per library, so I would have one logging plugin, which contains
everything needed to use log4j, one configuration plugin, which contains
everything needed to use commons-configuration, and a separate plugin
for every "module" containing our self-created code) packing up just the
used libraries.
The reasons for doing this are reducing complexity in my main RCP
application, a cleaner way to upgrade to a new version of each library
used, reuse (each plugin could be used in several projects), and the
Eclipse builtin update mechanism should work better if I have several
smaller plugins, each of which can be updated separately.
Does this make sense?
If yes, can someone point me to an example, where similar stuff has
already been done (there must be some simple plugins, which basically do
nothing but packing together some jar files), and maybe some tutorials
or other documentation (all I found were tutorial on how to create
plugins which interact with the GUI, but the plugins I want to create
should be much simpler)?
If no, can someone provide me with an idea of how to solve this problem
in Eclipse?
Thanks,
Best Regards,
Christoph Jäger
|
|
|
|
|
|
Re: Basic plugin questions [message #138005 is a reply to message #137958] |
Fri, 17 February 2006 03:34  |
Eclipse User |
|
|
|
Hi Phillip,
the book seems to answer several open questions I have regarding my RCP
application. I will try to get it as soon as possible.
Thanks,
Best Regards,
Christoph
On Fri, 2006-02-17 at 17:50 +1300, Phillip Baird wrote:
> I'd recommend you get hold of the Eclipse RCP book
> (http://www.eclipsercp.org). It covers packaging jars into plugins as
> well as dealing with the classloader issues you'll strike with log4j.
>
> PhillipB.
|
|
|
Powered by
FUDForum. Page generated in 0.12832 seconds