I have created the junit plugin "com.example.test.foo.testing" to test the code of "com.example.test.foo.testing" plugin, For which I have created the ant code, but while building the junit plugin its giving me following error message -
Do you use OSGI and Eclipse for development? Type of your project is "eclipse plugin"?
If I'm right, in target platform (see window->preferences->plugin development->target platform) you have junit dependeny (bundle).
You can see that manifest.mf contains import of junit packages. Hense junit contains in target platform.
But ant does not know about junit dependency and ant haven't it in classpath. Therefore ant can't compile your project and you get compilation error.
You must add junit into ant classpath
Joined: Feb 12, 2009
I am using the ant script to build the plugin. where to find the class path.
The structure of my project is