The XSD was invalid but you should have got a red error symbol on the xsd in the Eclipse view and a list of problems should be visible in the Problems tab.
The type needs to be a simpleType or complexType :o)
I'll check with this file myself and see what happens.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes that's an issue with 0.0.2. I have since found a new build type AUTO_BUILD which the code was not aware of and this is responsible, at least in part, for it not building at times. Doing a clean causes a full build which is handled. 0.0.3 is nearing completion and this has many fixes, new features and has had alot more testing on it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When i select "generate" on an xsd file no files are generated.
What am i doing wrong.
Also the toggle button reacts just like a normal button. I would expect to see whether enabled or not.
The Properties Dialog of the Project is correctly showing the XMLBean Builder
This are the log file entries
!ENTRY uk.ltd.grian.eclipse.xmlbeans 1 1 Okt 13, 2004 17:10:54.197
!MESSAGE XMLBeanBuilder.prepareToSave()
!ENTRY uk.ltd.grian.eclipse.xmlbeans 1 1 Okt 13, 2004 17:10:54.197
!MESSAGE XMLBeanBuilder.prepareToSave()
!ENTRY uk.ltd.grian.eclipse.xmlbeans 1 1 Okt 13, 2004 17:10:54.197
!MESSAGE XMLBeanBuilder.saving()
!ENTRY uk.ltd.grian.eclipse.xmlbeans 1 1 Okt 13, 2004 17:10:54.207
!MESSAGE XMLBeanBuilder.saving()
!ENTRY uk.ltd.grian.eclipse.xmlbeans 1 1 Okt 13, 2004 17:10:54.357
!MESSAGE XMLBeanBuilder.doneSaving()
!ENTRY uk.ltd.grian.eclipse.xmlbeans 1 1 Okt 13, 2004 17:10:54.367
!MESSAGE XMLBeanBuilder.doneSaving()
I think this was because I took an xsd file in a format not expected -- it was
<?xml version='1.0'?>
<schema>
<element name="product">
<type content="elemOnly" order="seq">
<element ref="product-group" minOccurs="1" maxOccurs="1"/>
<element ref="product-inventory" minOccurs="1" maxOccurs="1"/>
<attribute name="id" type="ID" minOccurs="1"/>
<attribute name="name" type="string" minOccurs="1"/>
<attribute name="price" type="real" minOccurs="1"/>
</type>
</element>
<element name="product-group">
<type content="empty">
<attribute name="id" type="ID" minOccurs="1"/>
<attribute name="name" type="string" minOccurs="1"/>
</type>
</element>
<element name="product-inventory">
<type content="empty">
<attribute name="quantity" type="integer" minOccurs="1"/>
</type>
</element>
</schema>
The XSD was invalid but you should have got a red error symbol on the xsd in the Eclipse view and a list of problems should be visible in the Problems tab.
The type needs to be a simpleType or complexType :o)
I'll check with this file myself and see what happens.
You are correct does not generate or show errors I will investigate.
As to the Icon you are also correct you could raise it as a feature request :o) I agree it should be a toggle switch.
I had to "clean" and "generate" again -- then it worked
Yes that's an issue with 0.0.2. I have since found a new build type AUTO_BUILD which the code was not aware of and this is responsible, at least in part, for it not building at times. Doing a clean causes a full build which is handled. 0.0.3 is nearing completion and this has many fixes, new features and has had alot more testing on it.