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:
File Systemto import the jar files into your plugin project, say in the
Add...button to add the jars to the classpath section of the
New...button to add "." library back (with no quotes, of course).
- Make sure your binary build exports the new jar files on the
- On the project, use
Update Classpathto correctly add the jars to the eclipse project classpath.
Project Properties -> Java Build Path -> Add External jars. Is this what you are looking for?
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.
- Adding jars to a Eclipse PlugIn
- Adding jars to an Eclipse plugin at runtime
- Adding license to new files when using Eclipse and the Copyright wizard plugin
- Developing an Eclipse Plugin and adding a submenu item to navigator
- Compatibility issue between the 'groovy-all' jars present in eclipse plugin and maven dependency
- Adding hibernate dependency in Eclipse with Maven and m2e plugin
- adding Maven dependencies of an Eclipse plugin project
- import error while adding TextEditor to eclipse plugin - Cannot find the class file for org.eclipse.jface.text.revisions.RevisionInformation
- Maven with m2e Eclipse plugin - push jars to repo
- adding external jars with bundles to project only in Eclipse
- Android project becomes terribly slow after adding HtmlUnit JARs to eclipse buildpath
- Eclipse plugin code can't find "javax.inject.Inject" class, plugin jars now not in plugins directory
- Eclipse plugin : add jar to classpath when adding custom nature to a project
- Adding jar from Eclipse plugin runtime tab
- Why Eclipse m2e plugin deploy wrong formatted jars to Tomcat server
- adding appengine eclipse plugin to ADT eclipse
- Eclipse including multiple jars from apache ivy IDE plugin in web deployment assembly
- Error updating jars with Eclipse GWT 2.0 plugin
- Adding eclipse plugin to marketplace
- eclipse gives error on start up after adding sbteclipse plugin
- Eclipse plugin to detect jars only needed for Test classes
- Eclipse Plugin Development: Adding items to a working set with the path of the item?
- Eclipse Java: missing jars from plugin library, recommend alternatives or solution?
- Eclipse Plugin - adding a jar used by eclipse itself
- Eclipse adding a project with jars to a new project
- TableViewer Adding data from ArrayLists Eclipse plugin
- Does anyone know if there is an eclipse plugin can point out incompatible jars in pom.xml?
- Eclipse glassfish plugin not publishing maven dependency jars to ear lib folder
- Jars are missing in eclipse plugin when changing computer
- Adding Android jars to Eclipse Build Path
More Query from same tag
- App Stopped Working After Clicking A Button
- How can I avoid name collisions when organizing imports or during autocomplete?
- Import shortcut does not work after installing STS
- "launching 'project' has encountered .." , project file does not exist
- Spring 4 TaskScheduler performance issue
- Can't see/select API 19 in Eclipse Indigo in project properties
- How to install Hibernate 5.2 in Eclipse Neon via Including Jar files?
- running a processing applet in eclipse
- Writing to a properties file does not work
- How can I split a String into a multidimensional Array - Java
- Import a Eclipse project using Java Code
- errors of non-consistent worker and driver python versions on databricks clusters
- Additional Refactoring for Eclipse CDT
- NullPointerException on TextView setText
- eclipse hotkey to paste predefined code
- Attempting to modify typesafe activator UI. How do I import/modify the activator jar files in eclipse scala IDE?
- how to pack external jar into output jar file in eclipse
- PhoneGap APK runs fine but crashes on each run after Google Play deployment
- Seam Runtime error in Eclipse
- How can I run script.js in Eclipse console?
- Import existing Android project results in a lot "bugs" in JNI folder
- Android Eclipse how create link addresses
- Java path for eclipse Rhostudio on OSX 10.6
- Eclipse IDE different languages configuration
- How to run java code through eclipse console?
- Why am I getting different java versions in different eclipse projects?
- Eclipse skip proxy for an IP address
- Strange quote characters around static java String (on android?)
- Why does Maven not compile the Guava Table code when Eclipse compiler does? (inferred type does not conform to upper bound(s))
- Fragment States do not save when device is rotated