Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] Access classes of Platform's parent ClassLoader

Hi!

I want to be able to load a class from a JAR file, without having to
reference it from the plugin.xml.
More in detail: 
- in my environment, the Eclipse plattform will be started from another Java
application, simply calling org.eclipse.core.launcher.Main
- the ClassLoader of this other Java application already knows a class, say
"a.b.MyClass"

Is it possible to access that class from inside a plugin in Eclipse, without
having to reference the JAR as run-time with the plugin.xml?
I mean, is it possible to trickle the Platform or Plugin- ClassLoader in
order to pass the calls to the caller's ClassLoader?

-> I am using Eclipse 2.1!

Thanks,
Bye.

Andrea Vicentini

-- 
+++ GMX - die erste Adresse für Mail, Message, More +++
Bis 31.1.: TopMail + Digicam für nur 29 EUR http://www.gmx.net/topmail



Back to the top