Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Extensions mechanism
Extensions mechanism [message #15953] Fri, 08 February 2002 04:47 Go to next message
Eclipse UserFriend
Originally posted by: jpprost.ics.mq.edu.au

Hi,

I already posted a message 3 days ago but I still don't see it... Probably
lost somewhere so I try again.
I wanted to ask wether someone could explain me why I still need to
include in the classpath the jar files that already are in the lib/ext dir
of the JRE. I assume that Eclipse uses its own class loaders but does it
skip on purpose the installed extensions ?
By the way, I'm using R1.0 with J2SE 1.3.1

Regards,
Jean-Philippe
Re: Extensions mechanism [message #15989 is a reply to message #15953] Sun, 10 February 2002 10:58 Go to previous messageGo to next message
Eclipse UserFriend
Hi Jean,

I'm not sure which extension mechanism you're referring to. Are you
writing extensions specifically for the C/C++ development environment or
more generally for Eclipse?

If you're writing an extension for the CDT please be more specific about
the problem you face. An Eclipse loader determines it's classpath from
the "requires" tags of each plugin.xml file. For each plugin that is
required, the library tag determines what needs to be added to the
classpath(ie. jar file(s)). If you're writing a general plugin for
Eclipse then you should direct your question to the eclipse.tools
newsgroup rather than this one. Eclipse does use its own class loaders,
although you could always write your own.

Dave

Jean-Philippe Prost wrote:

> Hi,

> I already posted a message 3 days ago but I still don't see it... Probably
> lost somewhere so I try again.
> I wanted to ask wether someone could explain me why I still need to
> include in the classpath the jar files that already are in the lib/ext dir
> of the JRE. I assume that Eclipse uses its own class loaders but does it
> skip on purpose the installed extensions ?
> By the way, I'm using R1.0 with J2SE 1.3.1

> Regards,
> Jean-Philippe
Re: Extensions mechanism [message #16025 is a reply to message #15953] Sun, 10 February 2002 23:54 Go to previous messageGo to next message
Eclipse UserFriend
Jean, the plugin classloader is part of the Eclipse Platform Core component
and its experts are in the eclipse.tools newsgroup, but the short answer is
that your suspicion is correct. Using the supplied classloaders,
plugins can load from their own jars, or ones belonging to other plugins
they reference, or from the bootclasspath.
The classpath and JRE extension directory though are not used.

See the thread at news://www.eclipse.org/3B2FB198.E168FE5F@us.ibm.com
for some discussion of this.

Brian


Jean-Philippe Prost wrote:

> Hi,
>
> I already posted a message 3 days ago but I still don't see it... Probably
> lost somewhere so I try again.
> I wanted to ask wether someone could explain me why I still need to
> include in the classpath the jar files that already are in the lib/ext dir
> of the JRE. I assume that Eclipse uses its own class loaders but does it
> skip on purpose the installed extensions ?
> By the way, I'm using R1.0 with J2SE 1.3.1
>
> Regards,
> Jean-Philippe
>
>
Re: Extensions mechanism [message #17448 is a reply to message #15989] Mon, 11 February 2002 19:50 Go to previous message
Eclipse UserFriend
Originally posted by: jpprost.ics.mq.edu.au

Hi,
apparently this newsgroup wasn\'t the right destination for my question
because I\'m not developing extensions for the C/C++ environment: I was
talking about the JRE extension mechanism.
Anyway, I\'ve got an answer from Brian Thompson.
Thanks to both of you.

Jean-Philippe

David McKnight wrote:

> Hi Jean,

> I\'m not sure which extension mechanism you\'re referring to. Are you
> writing extensions specifically for the C/C++ development environment or
> more generally for Eclipse?

> If you\'re writing an extension for the CDT please be more specific about
> the problem you face. An Eclipse loader determines it\'s classpath from
> the \"requires\" tags of each plugin.xml file. For each plugin that is
> required, the library tag determines what needs to be added to the
> classpath(ie. jar file(s)). If you\'re writing a general plugin for
> Eclipse then you should direct your question to the eclipse.tools
> newsgroup rather than this one. Eclipse does use its own class loaders,
> although you could always write your own.

> Dave

> Jean-Philippe Prost wrote:

> > Hi,

> > I already posted a message 3 days ago but I still don\'t see it... Probably
> > lost somewhere so I try again.
> > I wanted to ask wether someone could explain me why I still need to
> > include in the classpath the jar files that already are in the lib/ext dir
> > of the JRE. I assume that Eclipse uses its own class loaders but does it
> > skip on purpose the installed extensions ?
> > By the way, I\'m using R1.0 with J2SE 1.3.1

> > Regards,
> > Jean-Philippe
Previous Topic:How to debug into source files of another project
Next Topic:Why create a new text editor?
Goto Forum:
  


Current Time: Sun Jun 01 12:25:19 EDT 2025

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

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

Back to the top