Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » [Kepler] exported packages don't show up for import in other plug-ins
[Kepler] exported packages don't show up for import in other plug-ins [message #1442893] Sat, 11 October 2014 21:34 Go to next message
Chris L. is currently offline Chris L.Friend
Messages: 11
Registered: September 2014
Junior Member
Hi there,

I have a number of plug-ins that use the same collection of jar files. To tidy things up and avoid dependency cycles, I've created another plug-in 'myproject.resources', which will contain the libraries to be shared with my plug-ins.

But when I try to import the packages for another plug-in, those packages that I intend to share do not appear in the list.

I feel that I tried everything in the plug-in 'myproject.resources' to make the packages available but this is not working. As for now,

In the plug-in 'myproject.resources' :
. I created a folder 'resources/jacop' where I put the jacop-4.0.0.jar
. I added the jar to the classpath
. I exported its packages

in the receiving plug-in:
. I added the plug-in 'myproject.resources' in the dependencies ('required plug-ins')
. none of the org.jacop.* packages appear in the list of possible imports.

What am I missing?

Thank you in advance.
Re: [Kepler] exported packages don't show up for import in other plug-ins [message #1447168 is a reply to message #1442893] Fri, 17 October 2014 22:25 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
to double check: when you say "I added the jar to the classpath" did you use the "Runtime" tab of the PDE editor?
Resulting in a Bundle-ClassPath entry in MANIFEST.MF?
Re: [Kepler] exported packages don't show up for import in other plug-ins [message #1447666 is a reply to message #1447168] Sat, 18 October 2014 18:00 Go to previous message
Chris L. is currently offline Chris L.Friend
Messages: 11
Registered: September 2014
Junior Member
Hi,

thank you for looking into this.

Stephan Herrmann wrote on Fri, 17 October 2014 23:25
to double check: when you say "I added the jar to the classpath" did you use the "Runtime" tab of the PDE editor?
Resulting in a Bundle-ClassPath entry in MANIFEST.MF?


Yes, that's what I mean. I'm not sure what happened then; I feel like I tried all combinations under the sun. I'll try to reproduce the error. (it's still not working but I'm working around it for the time being.)
Previous Topic:Need help wrapping third party to a bundle
Next Topic:import package from sibling can not be resolved
Goto Forum:
  


Current Time: Fri Dec 13 10:19:54 GMT 2024

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

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

Back to the top