Accessing classes from another plugin's JAR [message #325192] |
Tue, 12 February 2008 08:45  |
Eclipse User |
|
|
|
Originally posted by: torbjorn.ghostwriter.no
I'm having this problem getting plugin B to access classes from one of
Plugin A's jars.
Here's the setup:
Plugin A has the jar in a folder called lib. The jar is on the plugin's
build path and on its classpath. Plugin A does in fact use a lot of the jar
classes without problems. Plugin A has "Eclipse-BuddyPolicy: dependent"
written in its manifest, and added all possible packages to its "Exported
Packages" list.
Plugin B needs to use classes from Plugin A, including the jar classes , and
has specified a dependency on Plugin A in its manifest.
Here's the problem:
While Plugin B can use internal classes from Plugin A without problems, the
jar classes aren't visible. I've double checked that the jar packages are on
Plugin A's "Exported Packages" list. Have I overlooked something?
|
|
|
|
Powered by
FUDForum. Page generated in 0.03970 seconds