| Home » Archived » XML Schema Definition (XSD) » plugin not loaded when I include XSD dependency
 Goto Forum:| 
| plugin not loaded when I include XSD dependency [message #48478] | Tue, 29 June 2004 15:55  |  | 
| Eclipse User  |  |  |  |  | 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] | Tue, 29 June 2004 21:59   |  | 
| Eclipse User  |  |  |  |  | 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] | Wed, 30 June 2004 20:43  |  | 
| Eclipse User  |  |  |  |  | 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] | Tue, 29 June 2004 21:59  |  | 
| Eclipse User  |  |  |  |  | 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] | Wed, 30 June 2004 20:43  |  | 
| Eclipse User  |  |  |  |  | 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
 >
 |  |  |  | 
 
 
 Current Time: Fri Oct 31 04:34:58 EDT 2025 
 Powered by FUDForum . Page generated in 0.09968 seconds |