Dependency issue [message #65055] |
Mon, 16 May 2005 23:44  |
Eclipse User |
|
|
|
Originally posted by: bgruenba.progress.com
Eclipse 3.0.2
Sun JDK 1.4.2
I have a plugin project and a java project in the same workspace. The plugin
project depends on code in the java project. I have no problem with the
dependencies at design-time, but at run-time, I'm running into a problem. If
I don't export the JAR from the java project and include it in the plugin
project, my plugin does not work in the run-time workbench. I know there
must be some really easy solution to this, but I have not been able to find
it. I want the plug-in to look at the JARs in the java project's bin
directory.
Any help would really be appreciated.
|
|
|
Re: Dependency issue [message #65605 is a reply to message #65055] |
Tue, 17 May 2005 19:13  |
Eclipse User |
|
|
|
Originally posted by: manahan.NOSPAM.ca.ibm.com
Bruce S Gruenbaum wrote:
> Eclipse 3.0.2
> Sun JDK 1.4.2
>
> I have a plugin project and a java project in the same workspace. The plugin
> project depends on code in the java project. I have no problem with the
> dependencies at design-time, but at run-time, I'm running into a problem. If
> I don't export the JAR from the java project and include it in the plugin
> project, my plugin does not work in the run-time workbench. I know there
> must be some really easy solution to this, but I have not been able to find
> it. I want the plug-in to look at the JARs in the java project's bin
> directory.
>
> Any help would really be appreciated.
>
>
Make the java project a plugin project would be simplest. Eclipse only
looks at code in plugins at runtime. If your code isn't in a plugin then
eclipse can't see it. In the eclipse.platform newsgroup there are lots
of posts on accessing third party libraries. Search on "third". This is
basically the problem you are experiencing except the third party jars
are your own :-)
Peter
|
|
|
Powered by
FUDForum. Page generated in 0.07101 seconds