Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » plugin not loaded when I include XSD dependency
plugin not loaded when I include XSD dependency [message #48478] Tue, 29 June 2004 19:55 Go to next message
Eclipse UserFriend
Originally posted by: kharris.unveil.com

I have a plugin that provides an XML editor which extends TextEditor. This
worked fine in Eclipse 2.x. Now that I've moved to Eclipse 3.0, I can no
longer get my editor to work. My editor provides schema completion, which
relies on the EMF and XSD plugins. If I remove those plugins from my plugin
dependencies, my editor comes up fine. Of course, when I trigger the schema
completion, I get a class not found exception in EMF. All of this makes
sense. But when I add my dependencies, (and I've tried this with multiple
versions of Eclipse, XSD, and EMF), as soon as I add either EMF or XSD or
both to my dependencies, and then start up my runtime workspace, my editor
is gone. There are no error messages of any kind - it's just missing. If I
put a break point in my plugin constructor, I never get there. If no one has
an answer for me, can you please tell me where to begin trying to debug
this?

THANK YOU!!! (note the sound of desperation)
Karen
Re: plugin not loaded when I include XSD dependency [message #48508 is a reply to message #48478] Wed, 30 June 2004 01:59 Go to previous messageGo to next message
David Steinberg is currently offline David SteinbergFriend
Messages: 489
Registered: July 2009
Senior Member
Karen Harris wrote:

> ... My editor provides schema completion, which
> relies on the EMF and XSD plugins. If I remove those plugins from my plugin
> dependencies, my editor comes up fine. Of course, when I trigger the schema
> completion, I get a class not found exception in EMF. All of this makes
> sense. But when I add my dependencies, (and I've tried this with multiple
> versions of Eclipse, XSD, and EMF), as soon as I add either EMF or XSD or
> both to my dependencies, and then start up my runtime workspace, my editor
> is gone. There are no error messages of any kind - it's just missing.

Hi Karen,

Unfortunately, my psychic debugging skills don't compare to Ed's, so you
might have to wait a week until he gets back from JavaOne to get some better
advice.

My first thought is, might it just be the cached plug-in information in the
eclipse/configuration directory? That can sometimes make things fail when
the environment changes. Try removing that whole directory, and see if
things work better.

Otherwise, when you say there are no error messages of any kind, have you
tried looking in the workspace/.metadata/.log file?

I hope I'm not just suggesting the obvious.

Cheers,
Dave
Re: plugin not loaded when I include XSD dependency (FIXED) [message #48538 is a reply to message #48508] Thu, 01 July 2004 00:43 Go to previous message
Eclipse UserFriend
Originally posted by: kharris.unveil.com

Someone on the platform newsgroup led me to the osgi console, which turned
out to be a lifesaving debbugging aid. My plugin was installed but not
resolved due to unresolved emf.ecore and xsd plugins. By doing a "diag
[bundlenumber]" (in the osgi console) on my xsd plugin, I discovered that
the base emf plugin was missing. This was due simply to not having it
checked in my debug configuration. Ugh. In retrospect, it all seems so
obvious.

Thanks for your help!
Karen


"Dave Steinberg" <davidms@ca.ibm.com> wrote in message
news:cbt6pc$glt$1@eclipse.org...
> Karen Harris wrote:
>
> > ... My editor provides schema completion, which
> > relies on the EMF and XSD plugins. If I remove those plugins from my
plugin
> > dependencies, my editor comes up fine. Of course, when I trigger the
schema
> > completion, I get a class not found exception in EMF. All of this makes
> > sense. But when I add my dependencies, (and I've tried this with
multiple
> > versions of Eclipse, XSD, and EMF), as soon as I add either EMF or XSD
or
> > both to my dependencies, and then start up my runtime workspace, my
editor
> > is gone. There are no error messages of any kind - it's just missing.
>
> Hi Karen,
>
> Unfortunately, my psychic debugging skills don't compare to Ed's, so you
> might have to wait a week until he gets back from JavaOne to get some
better
> advice.
>
> My first thought is, might it just be the cached plug-in information in
the
> eclipse/configuration directory? That can sometimes make things fail when
> the environment changes. Try removing that whole directory, and see if
> things work better.
>
> Otherwise, when you say there are no error messages of any kind, have you
> tried looking in the workspace/.metadata/.log file?
>
> I hope I'm not just suggesting the obvious.
>
> Cheers,
> Dave
>
Re: plugin not loaded when I include XSD dependency [message #589535 is a reply to message #48478] Wed, 30 June 2004 01:59 Go to previous message
David Steinberg is currently offline David SteinbergFriend
Messages: 489
Registered: July 2009
Senior Member
Karen Harris wrote:

> ... My editor provides schema completion, which
> relies on the EMF and XSD plugins. If I remove those plugins from my plugin
> dependencies, my editor comes up fine. Of course, when I trigger the schema
> completion, I get a class not found exception in EMF. All of this makes
> sense. But when I add my dependencies, (and I've tried this with multiple
> versions of Eclipse, XSD, and EMF), as soon as I add either EMF or XSD or
> both to my dependencies, and then start up my runtime workspace, my editor
> is gone. There are no error messages of any kind - it's just missing.

Hi Karen,

Unfortunately, my psychic debugging skills don't compare to Ed's, so you
might have to wait a week until he gets back from JavaOne to get some better
advice.

My first thought is, might it just be the cached plug-in information in the
eclipse/configuration directory? That can sometimes make things fail when
the environment changes. Try removing that whole directory, and see if
things work better.

Otherwise, when you say there are no error messages of any kind, have you
tried looking in the workspace/.metadata/.log file?

I hope I'm not just suggesting the obvious.

Cheers,
Dave
Re: plugin not loaded when I include XSD dependency (FIXED) [message #589548 is a reply to message #48508] Thu, 01 July 2004 00:43 Go to previous message
Eclipse UserFriend
Originally posted by: kharris.unveil.com

Someone on the platform newsgroup led me to the osgi console, which turned
out to be a lifesaving debbugging aid. My plugin was installed but not
resolved due to unresolved emf.ecore and xsd plugins. By doing a "diag
[bundlenumber]" (in the osgi console) on my xsd plugin, I discovered that
the base emf plugin was missing. This was due simply to not having it
checked in my debug configuration. Ugh. In retrospect, it all seems so
obvious.

Thanks for your help!
Karen


"Dave Steinberg" <davidms@ca.ibm.com> wrote in message
news:cbt6pc$glt$1@eclipse.org...
> Karen Harris wrote:
>
> > ... My editor provides schema completion, which
> > relies on the EMF and XSD plugins. If I remove those plugins from my
plugin
> > dependencies, my editor comes up fine. Of course, when I trigger the
schema
> > completion, I get a class not found exception in EMF. All of this makes
> > sense. But when I add my dependencies, (and I've tried this with
multiple
> > versions of Eclipse, XSD, and EMF), as soon as I add either EMF or XSD
or
> > both to my dependencies, and then start up my runtime workspace, my
editor
> > is gone. There are no error messages of any kind - it's just missing.
>
> Hi Karen,
>
> Unfortunately, my psychic debugging skills don't compare to Ed's, so you
> might have to wait a week until he gets back from JavaOne to get some
better
> advice.
>
> My first thought is, might it just be the cached plug-in information in
the
> eclipse/configuration directory? That can sometimes make things fail when
> the environment changes. Try removing that whole directory, and see if
> things work better.
>
> Otherwise, when you say there are no error messages of any kind, have you
> tried looking in the workspace/.metadata/.log file?
>
> I hope I'm not just suggesting the obvious.
>
> Cheers,
> Dave
>
Previous Topic:plugin not loaded when I include XSD dependency
Next Topic:XML Encoding attribute
Goto Forum:
  


Current Time: Fri Apr 19 00:01:38 GMT 2024

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

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

Back to the top