I try to build a Eclipse plugin that has to use a self written jar which is dependent on other jars, but I don't get the point where to start with handling jars as seperate PlugIns. Anywhere I have to use just the .jar files or am I wrong?
相关问题
- Dependencies while implementing Mocking in Junit4
- Eclipse and Mylyn : how to disable grey files in t
- How to reimport module with ES6 import
- Installing Pydev for Eclipse throws error
- Error in Scala Compiler: java.lang.AssertionError:
相关文章
- selenium+eclipse 打开网页时报错
- Call non-static methods on custom Unity Android Pl
- Eclipse failing to open
- Eclipse how can I indent C++ preprocessor macros
- Why is FindBugs ignoring my check for null?
- java.lang.NoClassDefFoundError: javax/servlet/http
- Eclipse cleanup - what are the “.index” files - ca
- Eclipse plugin to find out unused methods in a cla
Project Properties -> Java Build Path -> Add External jars. Is this what you are looking for?
I think I found a proper solution; the trick is that you have to implement all the files via Eclipse. I just copy here the solution which was posted to news.eclipse.platform:
Include the jars in a plugin:
What is a self-written jar?
Normally you turn 3rd party jars into bundles using an OSGi MANIFEST.MF (See New>Plug-in Development>Plug-in from Existing JAR archive) or you include them in your plugin.jar and add extra Bundle-ClassPath entries as mentioned by TomaC.
If you mean at runtime your plugin will create a new jar and needs to load it, that's different, though.