|Re: plugin project that references a java project, running junit plugin class def not found problems [message #39242 is a reply to message #39150]
||Thu, 03 November 2005 21:31
| Marius Slavescu
Registered: July 2009
Here are some hints (project A is the plugin project, project B is the Java
- if you refer a project B from project A you will be able to compile
the code, but the plugin classloader won't find the classes from project B
at runtime, you should avoid the direct modification of the classpath on a
plugin project, always use PDE Tools -> Update Classpath action to update it
after you change the plugin.xml or MANIFEST.MF file.
- I would suggest converting the project B to a plugin project and add
it to the required plugins list of project A, make sure you export all the
Java packages in project B that you'll need in project A.
"Mike Boyersmith" <email@example.com> wrote in message
> I have a plugin project that references a java project.
> I want to test the plugin via a junit 'plugin' test.
> the problem is that when I go to run my junit plugin test, my java
> project code isn't found. Class def not found errors...uggg.
> So..... any idea how to solve this problem?
> note I want to debug and I want to change code often so exporting my jar
> to the plugin project isn't a good solution.
> Thanks for any ideas or help here.
Powered by FUDForum
. Page generated in 0.14079 seconds