Generate menu missing [message #227493] |
Fri, 30 January 2009 17:46  |
Eclipse User |
|
|
|
Originally posted by: nospam.example.com
I just downloaded the JEE edition of Ganymede Eclipse.
After editing an XSD file I right-clicked on the file, expecting to see
the "Generate" menu to I could select the "XML File" option to create a
file from the schema. The option is not there.
What do I need to add to get this back? It was there in prior versions.
Thanks,
T
|
|
|
|
|
|
|
|
|
|
|
Re: Generate menu missing [message #227540 is a reply to message #227538] |
Wed, 04 February 2009 15:10   |
Eclipse User |
|
|
|
Todd wrote:
> Nick Sandonato wrote:
>> Todd wrote:
>>> Nick Sandonato wrote:
>>>> Todd wrote:
>>>>> I just downloaded the JEE edition of Ganymede Eclipse.
>>>>> After editing an XSD file I right-clicked on the file, expecting to
>>>>> see the "Generate" menu to I could select the "XML File" option to
>>>>> create a file from the schema. The option is not there.
>>>>> What do I need to add to get this back? It was there in prior
>>>>> versions.
>>>>>
>>>>> Thanks,
>>>>> T
>>>> Hi Todd,
>>>>
>>>> I just checked if I could Generate an XML file from an XSD and was
>>>> able to get the menu to pop up using the JEE edition of Ganymede.
>>>>
>>>> Is the *.xsd extension still associated with the XSD content type
>>>> (not necessarily the XML Schema File content type)? You can check
>>>> this in Preferences > General > Content Types. The XSD content type
>>>> should be a descendant of Text > XML. This menu item is enabled
>>>> when the file is either of DTD or XSD content types.
>>>>
>>>> Nick
>>>
>>> Does it matter what perspective I am in?
>>> I still don't have the "Generate" option on the right-click menu and
>>> I really need it.
>>>
>>> Thanks.
>> The perspective shouldn't matter.
>>
>> As you mentioned in your other post, there is an XML (Illformed)
>> content type. If your XSD is illformed, this could be registering it
>> as a different content type than is associated with the Generate menu
>> item. If you bring up the properties of the file (select it and press
>> Alt+Enter) what does the Type field say? It should be something like
>> File (X).
>>
>> Have you noticed any errors in the .log file that might give us some
>> hints to why the Generate menu item might not be present?
>
> The file type in the Properties box says:
> Type: File (XML Schema File)
>
> There is nothing of note in the install.log file. Should I be looking
> somewhere else?
>
> I must be missing something obvious somewhere but I just don't see the
> "Generate" option on the menu.
>
> Thanks,
> T
As mentioned earlier, the Generate menu item is enabled when the content
type is XSD or DTD content types. From your Properties, the content type
is XML Schema File.
The log file you should be looking at is the .log file in the .metadata
directory of your workspace directory.
Could you also check to see if the org.eclipse.wst.xsd.core plugin is
loaded from Help > About Eclipse Platform > Plug-in Details. Without
this plugin, the XSD content type is not defined.
Also, are you able to bring up the Generate menu on any other XSDs or
DTDs in your workspace? Or is it one XSD in particular?
|
|
|
Re: Generate menu missing [message #227541 is a reply to message #227540] |
Wed, 04 February 2009 15:25  |
Eclipse User |
|
|
|
Originally posted by: nospam.example.com
Nick Sandonato wrote:
> Todd wrote:
>> Nick Sandonato wrote:
>>> Todd wrote:
>>>> Nick Sandonato wrote:
>>>>> Todd wrote:
>>>>>> I just downloaded the JEE edition of Ganymede Eclipse.
>>>>>> After editing an XSD file I right-clicked on the file, expecting
>>>>>> to see the "Generate" menu to I could select the "XML File" option
>>>>>> to create a file from the schema. The option is not there.
>>>>>> What do I need to add to get this back? It was there in prior
>>>>>> versions.
>>>>>>
>>>>>> Thanks,
>>>>>> T
>>>>> Hi Todd,
>>>>>
>>>>> I just checked if I could Generate an XML file from an XSD and was
>>>>> able to get the menu to pop up using the JEE edition of Ganymede.
>>>>>
>>>>> Is the *.xsd extension still associated with the XSD content type
>>>>> (not necessarily the XML Schema File content type)? You can check
>>>>> this in Preferences > General > Content Types. The XSD content type
>>>>> should be a descendant of Text > XML. This menu item is enabled
>>>>> when the file is either of DTD or XSD content types.
>>>>>
>>>>> Nick
>>>>
>>>> Does it matter what perspective I am in?
>>>> I still don't have the "Generate" option on the right-click menu and
>>>> I really need it.
>>>>
>>>> Thanks.
>>> The perspective shouldn't matter.
>>>
>>> As you mentioned in your other post, there is an XML (Illformed)
>>> content type. If your XSD is illformed, this could be registering it
>>> as a different content type than is associated with the Generate menu
>>> item. If you bring up the properties of the file (select it and press
>>> Alt+Enter) what does the Type field say? It should be something like
>>> File (X).
>>>
>>> Have you noticed any errors in the .log file that might give us some
>>> hints to why the Generate menu item might not be present?
>>
>> The file type in the Properties box says:
>> Type: File (XML Schema File)
>>
>> There is nothing of note in the install.log file. Should I be looking
>> somewhere else?
>>
>> I must be missing something obvious somewhere but I just don't see the
>> "Generate" option on the menu.
>>
>> Thanks,
>> T
> As mentioned earlier, the Generate menu item is enabled when the content
> type is XSD or DTD content types. From your Properties, the content type
> is XML Schema File.
>
> The log file you should be looking at is the .log file in the .metadata
> directory of your workspace directory.
>
> Could you also check to see if the org.eclipse.wst.xsd.core plugin is
> loaded from Help > About Eclipse Platform > Plug-in Details. Without
> this plugin, the XSD content type is not defined.
>
> Also, are you able to bring up the Generate menu on any other XSDs or
> DTDs in your workspace? Or is it one XSD in particular?
I checked the plug-in details and I do see the org.eclipse.wst.xsd.core
Id. The version is 1.1.301.v200807240448.
I cannot bring up the Generate menu for any schemas (XSD). However, I
can generate the XML file using the File -> New -> Other -> XML File
(Create XML file from XML schema file), as suggested in a separate post.
Thanks,
T
|
|
|
Powered by
FUDForum. Page generated in 0.04796 seconds