Skip to main content

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


Please ask questions in the eclipse.platform newsgroup.
--

eclipse-dev-admin@xxxxxxxxxxx wrote on 01/19/2004 09:03:23 AM:

> 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
>
> _______________________________________________
> eclipse-dev mailing list
> eclipse-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit
> http://dev.eclipse.org/mailman/listinfo/eclipse-dev

Back to the top