Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to add a run-time lib to plug-in
How to add a run-time lib to plug-in [message #146157] Sat, 18 October 2003 07:56 Go to next message
Eclipse UserFriend
Originally posted by: tcn.spamgourmet.com

Hi!

My plug-in needs a certain library which is available at compile-time so I
don't have any problems here.

As far as I understand I have to manually configure the plugin(.xml) for the
lib be in classpath at run-time as well. But I don't quite understand the
Runtime tab of the plugin editor. Well, I can add the name of the jar to
the list but...well, it does not know where it can find the library on the
disk. And the name may change, somebody may simply rename it or lib-1.0.jar
may became lib-1.1.jar....

What to do? :-)

Thanks
Timo
Re: How to add a run-time lib to plug-in [message #146166 is a reply to message #146157] Sat, 18 October 2003 08:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tcn.spamgourmet.com

Timo Nentwig wrote:
> What to do? :-)

I just copied the jar to my projects root - works. But why? Will it
statically be packaged into the plugin's jar??
Re: How to add a run-time lib to plug-in [message #146616 is a reply to message #146166] Mon, 20 October 2003 11:45 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

Read this article. It explains PDE and plugin development better:

http://www.eclipsecorner.org/articles/Article-PDE-does-plugi ns/PDE-intro.html

And see this about 3rd party jars:

http://eclipsewiki.swiki.net/52#addJarToClasspath



--
Thanks, Rich Kulp

Previous Topic:Running Eclipse twice gives a Source loactor doesn't exist : org.eclipse.jdt.debug.ui.javasourceloca
Next Topic:First use impossible
Goto Forum:
  


Current Time: Mon Sep 15 12:27:21 EDT 2025

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

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

Back to the top