How to add runtime library to a simple plugin project? [message #72709] |
Fri, 04 July 2003 04:24  |
Eclipse User |
|
|
|
Originally posted by: krush_krush.hotmail.com
I guess I still don't really understand the PDE mechanism.
I want to create a simple plugin project, and add
some jar files into the project as the runtime
libraries (as seen in Runtime tab of the manifest
editor). This would be like the org.apache.xerces
plugin in Eclipse as maintained by IBM, just
the jar file of xerces.
This is so that other plugins that depend on these
libraries can add it to their dependency list.
I imported the jar files into my plugin project,
but then how do I add these jar files to the
runtime library in the manifest editor?
I tried by adding it and modify the name to match the
jar file name, but how about the library content?
thanks for any help.
kk
|
|
|
|
Re: How to add runtime library to a simple plugin project? [message #73974 is a reply to message #73795] |
Tue, 08 July 2003 10:03  |
Eclipse User |
|
|
|
Martin Kersten wrote:
> Hi konrad,
>
> Well for a plugin this wont work. (I filed a bug
> report on that couple o' weeks ago. Though there
> isn't any solution on that - it's scheduled for R3.0 -
> I'll tell you whats up to.
>
> First of all Plugin's can only depend on plugins.
> If you have to import a library the ordinary
> way (using add external lib) to make it compile,
> the library isn't accessable to the plugin at runtime.
> To make things even odd, if you change the plugin
> dependencies settings of your plugin, the settings
> about your additional libs are overwritten without
> promting (thats what my bug report was all about).
Just import the JAR file into your project and add it to your
dependencies. Don't use Add External Library.
Jeff
|
|
|
Powered by
FUDForum. Page generated in 0.03339 seconds