|Re: Add a URL as Classpath to "Java Project" Class Loading [message #261378 is a reply to message #261275]
||Mon, 27 July 2009 13:18
Registered: July 2009
> I am looking for a mechanism to add the classes from my Database to the |
> classpath of my Eclipse Project. I hope there is one.
That's not an easy task, since JDT currently depends on .class or .java
files being present somewhere in the file system.
The classpath of a Java project can be extended by a plug-in that
contributes to the org.eclipse.jdt.core.classpathContainerInitializer
extension point, but the implementation again has to point to class
files or jars.
I guess the only way to implement this is to plug in your own file
system, see the org.eclipse.core.filesystem.filesystems extension point
and the help (Platform Plug-in Developer Guide > Programmer's Guide >
Advanced resource concepts > Alternate file systems).
Powered by FUDForum
. Page generated in 0.01849 seconds