Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Adding binary folders as classpath containers
Adding binary folders as classpath containers [message #259016] Mon, 09 March 2009 12:40
Eclipse UserFriend
Hi,

I have created an IClasspathContainer that should contain all the Java
classes users of my tool need. In the method getClasspathEntries() I
return a library entry pointing to a jar file of a plugin - and it works
nicely.

However, I also want to support the Eclipse runtime launching, when the
plugin containing the classes that should be on the classpath are not yet
in a jar file, but only exist in the /bin folder. For this case, I also
add a JavaCore.newLibraryEntry(...). It shows up in the package explorer,
pointing to the right directory, but it is EMPTY. No class files from this
binary folder are loaded.

Did I miss something? How do I make JDT load also the classes contained in
a folder into the classpath?

Thanks in advance,
Fredrik
Previous Topic:Loading class from project in my plugin
Next Topic:How can I programmatically format Java code?
Goto Forum:
  


Current Time: Thu Apr 17 21:47:30 EDT 2025

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

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

Back to the top