It's strange:
- When I create a project inside eclipse, no error is shown in my *ui.xml file.
- When I create a project with maven and import it into eclipse, the same ui.xml file produces the validation error.
The validation settings are the same in both projects. I noticed some differences in the "Builders" section of the project settings, e. g. there is a builder called "Validation", which is enabled in the maven-created project and not enabled in the eclipse-created project.
However, even when I remove all ot the builders, the error remains (after building manually or refreshing)
However, even when I remove all ot the builders, the error remains (after building manually or refreshing)
This is an ui.xml-file which shows the error at the g:MenuItemSeparator element:
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent"><ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"xmlns:g="urn:import:com.google.gwt.user.client.ui"><ui:style>.important {font-weight: bold;}</ui:style><g:MenuBar ui:field="menuBar"><g:MenuItem ui:field="itm_Account" text="Account"><g:MenuBar vertical="true"><g:MenuItem ui:field="itm_Login" text="Login"/><g:MenuItem ui:field="itm_Logout" text="Logout"/><g:MenuItemSeparator ui:field="itm_Logou111" /><g:MenuItem ui:field="itm_Registration" text="Registration"/></g:MenuBar></g:MenuItem></g:MenuBar></ui:UiBinder>
I need a solution, because having the red error symbols in eclipse is boring and may hide real errors...
Magnus
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment