I am working on an eclipse plug-in and I tried to create another test project separately from the plug-in. The reason I'm doing this is to prevent the plug-in from depending on jUnit when it is exported. However, during testing, I cannot access the Eclipse plug-in API. Whenever I try to add plug-in dependencies, the import list is empty.
Does anyone know how to import the Eclipse plug-in API into an existing project? Currently, the layout of the workspace is as follows:
+- com.foo.myplugin
| |
| +- JRE System Library
| |
| +- Plug-in Dependencies
| |
| +- src
| |
| +- icons, META-INF, plugin.xml, etc...
|
+- com.foo.myplugin.test
|
+- JRE System Library
|
+- JUnit 4
|
+- src
source
share