Generate menu missing [message #227493] |
Fri, 30 January 2009 22: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 #227518 is a reply to message #227510] |
Tue, 03 February 2009 18:47 |
Eclipse User |
|
|
|
Originally posted by: nospam.example.com
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
I checked the preferences and both "XML Schema File" and XSD are listed
under the Text/XML file type. There is also an item named XML
(Illformed) that has *.xsd listed. Is there some other reason the
"Generate" menu option would not show?
Thanks,
T
|
|
|
Re: Generate menu missing [message #227521 is a reply to message #227510] |
Tue, 03 February 2009 18:47 |
Eclipse User |
|
|
|
Originally posted by: nospam.example.com
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
I checked the preferences and both "XML Schema File" and XSD are listed
under the Text/XML file type. There is also an item named XML
(Illformed) that has *.xsd listed. Is there some other reason the
"Generate" menu option would not show?
Thanks,
T
|
|
|
Re: Generate menu missing [message #227525 is a reply to message #227514] |
Tue, 03 February 2009 20:33 |
Eclipse User |
|
|
|
Originally posted by: nospam.example.com
Gabriel Indik 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.
>
> I downloaded the latest JEE edition of Ganymede Eclipse and was able to
> see the "Generate" -> "XML File" item in the popup menu when
> right-clicking on an XML schema file. Note there is another way of
> creating an XML document from a XSD file:
> "File" -> "New" -> "Other" -> "XML" -> "XML"
> This will bring up a wizard, in the first page select a name and
> location for the new XML document. In the following wizard page select:
> "Create XML file from an XML schema file" and click on "Next". Finally,
> select the schema file and click on "Finish".
> If these options are not available either, I would suggest downloading
> Eclipse again, there could be something wrong with the instance you have
> currently running.
>
I do have this option and could generate an XML file from an existing
schema (XSD) file.
|
|
|
Re: Generate menu missing [message #227533 is a reply to message #227510] |
Wed, 04 February 2009 16:35 |
Eclipse User |
|
|
|
Originally posted by: nospam.example.com
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.
|
|
|
|
Re: Generate menu missing [message #227538 is a reply to message #227534] |
Wed, 04 February 2009 19:30 |
Eclipse User |
|
|
|
Originally posted by: nospam.example.com
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
|
|
|
Re: Generate menu missing [message #227540 is a reply to message #227538] |
Wed, 04 February 2009 20:10 |
Nick Sandonato Messages: 126 Registered: July 2009 |
Senior Member |
|
|
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 20: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.03881 seconds