Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » mangled schema path
mangled schema path [message #715409] Sat, 13 August 2011 19:32 Go to next message
Eclipse UserFriend
Originally posted by: rkwright

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<meta name="Generator" content="Cocoa HTML Writer">
<meta name="CocoaVersion" content="1038.36">
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Verdana}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 17.0px; font: 14.0px Verdana; min-height: 17.0px}
p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Lucida Sans Typewriter'; color: #0d9103}
p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Lucida Sans Typewriter'; color: #150b92}
p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Lucida Sans Typewriter'}
p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 17.0px; font: 14.0px Verdana}
span.s1 {color: #000000}
span.s2 {color: #150b92}
</style>
</head>
<body>
<p class="p1">I took a fairly large and complex project and converted it from a standard plugin to a RCP tool.<span class="Apple-converted-space">  </span>Basicallly replaced the "plugin" with a "application".<span class="Apple-converted-space">  </span>All is fine except that it can't resolve an extension point that I defined in my plugin.xml via the extension point wizard.<span class="Apple-converted-space">  </span>Everything looks OK, but I get the error that it can't find the extension point even though the plugin.xml code looks like:</p>
<p class="p2"><br></p>
<p class="p3"><span class="s1"><span class="Apple-converted-space">  </span></span><span class="s2">&lt;extension-point</span><span class="s1"> </span><span class="s2">id=</span>"com.geofx.gms.module"<span class="s1"> </span><span class="s2">name=</span>"GMS Module"<span class="s1"> </span><span class="s2">schema=</span>"schema/com.geofx.gms.module.exsd"<span class="s2">/&gt;</span></p>
<p class="p2"><br></p>
<p class="p4"><span class="Apple-converted-space">  </span>&lt;extension</p>
<p class="p3"><span class="s1"><span class="Apple-converted-space">          </span></span><span class="s2">point=</span>"com.geofx.gms.module"<span class="s2">&gt;</span></p>
<p class="p5"><span class="Apple-converted-space">       </span><span class="s2">&lt;module</span></p>
<p class="p3"><span class="s1"><span class="Apple-converted-space">             </span></span><span class="s2">class=</span>"com.geofx.gms.datasets.LoadDatasetModule"</p>
<p class="p3"><span class="s1"><span class="Apple-converted-space">             </span></span><span class="s2">id=</span>"com.geofx.gms.datasets.LoadDatasetModule"</p>
<p class="p3"><span class="s1"><span class="Apple-converted-space">             </span></span><span class="s2">name=</span>"Load Dataset"<span class="s2">&gt;</span></p>
<p class="p4"><span class="s1"><span class="Apple-converted-space">       </span></span>&lt;/module&gt;</p>
<p class="p4"><span class="Apple-converted-space">  </span>&lt;/extension&gt;</p>
<p class="p2"><br></p>
<p class="p6">The schema is valid and in the right place, but when I press the hypelink in the extensions tab to view the schema I get this bizarre error:</p>
<p class="p2"><br></p>
<p class="p6">"Extension point for schema for extension point com.geofx.gms.com.geofx.gms.module can't be found".</p>
<p class="p2"><br></p>
<p class="p6">So it looks like the project got mangled somehow. I tried deleting the schema an re-creating but same error.</p>
<p class="p2"><br></p>
<p class="p6">Does this ring any bells?<span class="Apple-converted-space">  </span>Suggestions?</p>
<p class="p2"><br></p>
<p class="p6">TIA, Ric</p>
</body>
</html>
Re: mangled schema path [message #715586 is a reply to message #715409] Sun, 14 August 2011 17:04 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Ric,<br>
<br>
I assume your bundle ID is com.geofx.gms.&nbsp; If you look at other
plugin.xml you'll see the ID is typically a simple name because it's
implicitly qualified with the bundle ID when it's used, e.g., this
or org.eclipse.core:<br>
<br>
&nbsp; &lt;extension-point id="preferences" name="%preferencesName"
schema="schema/preferences.exsd"/&gt;<br>
<br>
Maybe try that approach..<br>
<br>
<br>
On 13/08/2011 12:32 PM, rkwright wrote:
<blockquote cite="mid:j26irj$vpu$1@news.eclipse.org" type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<meta name="Generator" content="Cocoa HTML Writer">
<meta name="CocoaVersion" content="1038.36">
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Verdana}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 17.0px; font: 14.0px Verdana; min-height: 17.0px}
p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Lucida Sans Typewriter'; color: #0d9103}
p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Lucida Sans Typewriter'; color: #150b92}
p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Lucida Sans Typewriter'}
p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 17.0px; font: 14.0px Verdana}
span.s1 {color: #000000}
span.s2 {color: #150b92}
</style>
<p class="p1">I took a fairly large and complex project and
converted it from a standard plugin to a RCP tool.<span
class="Apple-converted-space">&nbsp; </span>Basicallly replaced
the "plugin" with a "application".<span
class="Apple-converted-space">&nbsp; </span>All is fine except
that it can't resolve an extension point that I defined in my
plugin.xml via the extension point wizard.<span
class="Apple-converted-space">&nbsp; </span>Everything looks OK,
but I get the error that it can't find the extension point even
though the plugin.xml code looks like:</p>
<p class="p2"><br>
</p>
<p class="p3"><span class="s1"><span class="Apple-converted-space">&nbsp;
</span></span><span class="s2">&lt;extension-point</span><span
class="s1"> </span><span class="s2">id=</span>"com.geofx.gms.module"<span
class="s1"> </span><span class="s2">name=</span>"GMS Module"<span
class="s1"> </span><span class="s2">schema=</span>"schema/com.geofx.gms.module.exsd"<span
class="s2">/&gt;</span></p>
<p class="p2"><br>
</p>
<p class="p4"><span class="Apple-converted-space">&nbsp; </span>&lt;extension</p>
<p class="p3"><span class="s1"><span class="Apple-converted-space">&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; </span></span><span class="s2">point=</span>"com.geofx.gms.module"<span
class="s2">&gt;</span></p>
<p class="p5"><span class="Apple-converted-space">&nbsp;&nbsp; &nbsp; &nbsp; </span><span
class="s2">&lt;module</span></p>
<p class="p3"><span class="s1"><span class="Apple-converted-space">&nbsp;&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span></span><span class="s2">class=</span>"com.geofx.gms.datasets.LoadDatasetModule"</p>
<p class="p3"><span class="s1"><span class="Apple-converted-space">&nbsp;&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span></span><span class="s2">id=</span>"com.geofx.gms.datasets.LoadDatasetModule"</p>
<p class="p3"><span class="s1"><span class="Apple-converted-space">&nbsp;&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span></span><span class="s2">name=</span>"Load
Dataset"<span class="s2">&gt;</span></p>
<p class="p4"><span class="s1"><span class="Apple-converted-space">&nbsp;&nbsp;
&nbsp; &nbsp; </span></span>&lt;/module&gt;</p>
<p class="p4"><span class="Apple-converted-space">&nbsp; </span>&lt;/extension&gt;</p>
<p class="p2"><br>
</p>
<p class="p6">The schema is valid and in the right place, but when
I press the hypelink in the extensions tab to view the schema I
get this bizarre error:</p>
<p class="p2"><br>
</p>
<p class="p6">"Extension point for schema for extension point
com.geofx.gms.com.geofx.gms.module can't be found".</p>
<p class="p2"><br>
</p>
<p class="p6">So it looks like the project got mangled somehow. I
tried deleting the schema an re-creating but same error.</p>
<p class="p2"><br>
</p>
<p class="p6">Does this ring any bells?<span
class="Apple-converted-space">&nbsp; </span>Suggestions?</p>
<p class="p2"><br>
</p>
<p class="p6">TIA, Ric</p>
</blockquote>
</body>
</html>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: mangled schema path [message #715587 is a reply to message #715409] Sun, 14 August 2011 17:04 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Ric,<br>
<br>
I assume your bundle ID is com.geofx.gms.&nbsp; If you look at other
plugin.xml you'll see the ID is typically a simple name because it's
implicitly qualified with the bundle ID when it's used, e.g., this
or org.eclipse.core:<br>
<br>
&nbsp; &lt;extension-point id="preferences" name="%preferencesName"
schema="schema/preferences.exsd"/&gt;<br>
<br>
Maybe try that approach..<br>
<br>
<br>
On 13/08/2011 12:32 PM, rkwright wrote:
<blockquote cite="mid:j26irj$vpu$1@news.eclipse.org" type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<meta name="Generator" content="Cocoa HTML Writer">
<meta name="CocoaVersion" content="1038.36">
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Verdana}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 17.0px; font: 14.0px Verdana; min-height: 17.0px}
p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Lucida Sans Typewriter'; color: #0d9103}
p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Lucida Sans Typewriter'; color: #150b92}
p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Lucida Sans Typewriter'}
p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 17.0px; font: 14.0px Verdana}
span.s1 {color: #000000}
span.s2 {color: #150b92}
</style>
<p class="p1">I took a fairly large and complex project and
converted it from a standard plugin to a RCP tool.<span
class="Apple-converted-space">&nbsp; </span>Basicallly replaced
the "plugin" with a "application".<span
class="Apple-converted-space">&nbsp; </span>All is fine except
that it can't resolve an extension point that I defined in my
plugin.xml via the extension point wizard.<span
class="Apple-converted-space">&nbsp; </span>Everything looks OK,
but I get the error that it can't find the extension point even
though the plugin.xml code looks like:</p>
<p class="p2"><br>
</p>
<p class="p3"><span class="s1"><span class="Apple-converted-space">&nbsp;
</span></span><span class="s2">&lt;extension-point</span><span
class="s1"> </span><span class="s2">id=</span>"com.geofx.gms.module"<span
class="s1"> </span><span class="s2">name=</span>"GMS Module"<span
class="s1"> </span><span class="s2">schema=</span>"schema/com.geofx.gms.module.exsd"<span
class="s2">/&gt;</span></p>
<p class="p2"><br>
</p>
<p class="p4"><span class="Apple-converted-space">&nbsp; </span>&lt;extension</p>
<p class="p3"><span class="s1"><span class="Apple-converted-space">&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; </span></span><span class="s2">point=</span>"com.geofx.gms.module"<span
class="s2">&gt;</span></p>
<p class="p5"><span class="Apple-converted-space">&nbsp;&nbsp; &nbsp; &nbsp; </span><span
class="s2">&lt;module</span></p>
<p class="p3"><span class="s1"><span class="Apple-converted-space">&nbsp;&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span></span><span class="s2">class=</span>"com.geofx.gms.datasets.LoadDatasetModule"</p>
<p class="p3"><span class="s1"><span class="Apple-converted-space">&nbsp;&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span></span><span class="s2">id=</span>"com.geofx.gms.datasets.LoadDatasetModule"</p>
<p class="p3"><span class="s1"><span class="Apple-converted-space">&nbsp;&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span></span><span class="s2">name=</span>"Load
Dataset"<span class="s2">&gt;</span></p>
<p class="p4"><span class="s1"><span class="Apple-converted-space">&nbsp;&nbsp;
&nbsp; &nbsp; </span></span>&lt;/module&gt;</p>
<p class="p4"><span class="Apple-converted-space">&nbsp; </span>&lt;/extension&gt;</p>
<p class="p2"><br>
</p>
<p class="p6">The schema is valid and in the right place, but when
I press the hypelink in the extensions tab to view the schema I
get this bizarre error:</p>
<p class="p2"><br>
</p>
<p class="p6">"Extension point for schema for extension point
com.geofx.gms.com.geofx.gms.module can't be found".</p>
<p class="p2"><br>
</p>
<p class="p6">So it looks like the project got mangled somehow. I
tried deleting the schema an re-creating but same error.</p>
<p class="p2"><br>
</p>
<p class="p6">Does this ring any bells?<span
class="Apple-converted-space">&nbsp; </span>Suggestions?</p>
<p class="p2"><br>
</p>
<p class="p6">TIA, Ric</p>
</blockquote>
</body>
</html>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: mangled schema path [message #715600 is a reply to message #715586] Sun, 14 August 2011 18:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rkwright

Ed,

Thanks for the reply. By bundle ID, do you mean the
Bundle-symbolicName? That IS com.geofx.gms. I'll try what you suggest,
but I am a little skeptical. The fact that really bothers me is that
all this worked fine with the plugin, it was only when I replaced the
plugin approach with an RCP app that I got these wierd errors. That's
all that changed. But I'll continue to poke at it as time permits...

Thanks,
RIc


On 2011-08-14 12:04:13 -0500, Ed Merks said:

> Ric,
>
> I assume your bundle ID is com.geofx.gms.  If you look at other
> plugin.xml you'll see the ID is typically a simple name because it's
> implicitly qualified with the bundle ID when it's used, e.g., this or
> org.eclipse.core:
>
>   <extension-point id="preferences" name="%preferencesName"
> schema="schema/preferences.exsd"/>
>
> Maybe try that approach..
>
>
> On 13/08/2011 12:32 PM, rkwright wrote:
> I took a fairly large and complex project and converted it from a
> standard plugin to a RCP tool. Basicallly replaced the "plugin" with a
> "application". All is fine except that it can't resolve an extension
> point that I defined in my plugin.xml via the extension point wizard.
> Everything looks OK, but I get the error that it can't find the
> extension point even though the plugin.xml code looks like:
>
> <extension-point id="com.geofx.gms.module" name="GMS Module"
> schema="schema/com.geofx.gms.module.exsd"/>
>
> <extension
> point="com.geofx.gms.module">
> <module
> class="com.geofx.gms.datasets.LoadDatasetModule"
> id="com.geofx.gms.datasets.LoadDatasetModule"
> name="Load Dataset">
> </module>
> </extension>
>
> The schema is valid and in the right place, but when I press the
> hypelink in the extensions tab to view the schema I get this bizarre
> error:
>
> "Extension point for schema for extension point
> com.geofx.gms.com.geofx.gms.module can't be found".
>
> So it looks like the project got mangled somehow. I tried deleting the
> schema an re-creating but same error.
>
> Does this ring any bells? Suggestions?
>
> TIA, Ric
(no subject) [message #715845 is a reply to message #715409] Mon, 15 August 2011 17:51 Go to previous message
Eclipse UserFriend
Originally posted by: rkwright

Well, on a hunch I upgraded from Helios to Indigo and, hey presto! the
problems disappeared. Unfortunately, I have no obvious
(read:non-onerous) way to tell if this result is because when I
switched to Indigo it did some sort of "upgrade cleanup" that fixed it,
or it was simply some obscure bug in Helios.

In any case, thanks for the advice, now I can get back to what I was
trying to do.

thanks
Ric

On 2011-08-13 14:32:02 -0500, rkwright said:

> I took a fairly large and complex project and converted it from a
> standard plugin to a RCP tool. Basicallly replaced the "plugin" with a
> "application". All is fine except that it can't resolve an extension
> point that I defined in my plugin.xml via the extension point wizard.
> Everything looks OK, but I get the error that it can't find the
> extension point even though the plugin.xml code looks like:
>
> <extension-point id="com.geofx.gms.module" name="GMS Module"
> schema="schema/com.geofx.gms.module.exsd"/>
>
> <extension
> point="com.geofx.gms.module">
> <module
> class="com.geofx.gms.datasets.LoadDatasetModule"
> id="com.geofx.gms.datasets.LoadDatasetModule"
> name="Load Dataset">
> </module>
> </extension>
>
> The schema is valid and in the right place, but when I press the
> hypelink in the extensions tab to view the schema I get this bizarre
> error:
>
> "Extension point for schema for extension point
> com.geofx.gms.com.geofx.gms.module can't be found".
>
> So it looks like the project got mangled somehow. I tried deleting the
> schema an re-creating but same error.
>
> Does this ring any bells? Suggestions?
>
> TIA, Ric
Previous Topic:Eclipse continually saving project
Next Topic:Installing feature .. free space 0KB?
Goto Forum:
  


Current Time: Thu Mar 28 13:45:19 GMT 2024

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

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

Back to the top