Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Accessing classes from another plugin's JAR
Accessing classes from another plugin's JAR [message #325192] Tue, 12 February 2008 08:45 Go to next message
Eclipse UserFriend
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?
Re: Accessing classes from another plugin's JAR [message #325195 is a reply to message #325192] Tue, 12 February 2008 08:57 Go to previous message
Eclipse UserFriend
Originally posted by: torbjorn.ghostwriter.no

"Torbj
Previous Topic:Custom drawing of collapsed text
Next Topic:CVS Label Decoration has disappeared
Goto Forum:
  


Current Time: Fri May 02 15:01:25 EDT 2025

Powered by FUDForum. Page generated in 0.03970 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top