Well,

Error (1) is easy to fix.

I corrected the WARNING with the star sign. The *BaseAdminCssResource seems 
to compile fine* during incremental compilation :'

         Resolving com.klawt.screen.ui.BaseAdminCssResource
            Found type 'com.klawt.screen.ui.BaseAdminCssResource'
               Resolving method widget
                  Resolving annotation for 
com.google.gwt.resources.client.CssResource$ClassName
              <...skip...>
               Resolving method subnavbar
                  Resolving annotation for 
com.google.gwt.resources.client.CssResource$ClassName
               Resolving method subnavbar_inner
                  Resolving annotation for 
com.google.gwt.resources.client.CssResource$ClassName


But I am still left with this error :

         [ERROR] Errors in 
'gen/com/klawt/screen/ui/menu/InvoiceMenuViewImpl_InvoiceMenuUiBinderImpl.java'
            [ERROR] Line 108: Rebind result 
'com.klawt.screen.ui.BaseAdminCssResource' must be a class
        <...skip...>
        Compile with -strict or with -logLevel set to TRACE or DEBUG to see 
all errors.
         [ERROR] *Errors in 
'gen/com/klawt/screen/ui/menu/InvoiceMenuViewImpl_InvoiceMenuUiBinderImpl.java'*
            [ERROR] Line 108: Rebind result 
'com.klawt.screen.ui.BaseAdminCssResource' must be a class

When I check the generated sources this is what I find in the file 
*InvoiceMenuViewImpl_InvoiceMenuUiBinderImpl.java*

    /**
     * Getter for base called 0 times. Type: IMPORTED. Build precedence: 1.
     */
    private com.klawt.screen.ui.BaseAdminCssResource get_base() {
      return build_base();
    }
    private com.klawt.screen.ui.BaseAdminCssResource build_base() {
      // Creation section.
      final com.klawt.screen.ui.BaseAdminCssResource base = 
(com.klawt.screen.ui.BaseAdminCssResource) 
GWT.create(com.klawt.screen.ui.BaseAdminCssResource.class);
      // Setup section.

      return base;
    }


This is what the UiBinder file looks like that is causing the error :

<!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" 
xmlns:b="urn:import:com.github.gwtbootstrap.client.ui"
xmlns:m="urn:import:com.klawt.screen.ui.menu">

<ui:with type="com.klawt.screen.ui.BaseAdminCssResource" 
field="base"></ui:with>
<ui:with type="com.klawt.i18n.I18nConstants" field="constants"></ui:with>

<g:HTMLPanel tag="ul">
<m:SubNavbarTitle ui:field="title"></m:SubNavbarTitle>
<b:NavWidget ui:field="documents" icon="FILE_TEXT_ALT">
<g:HTMLPanel tag="span">
<ui:text from="{constants.DOCUMENTS}" />
</g:HTMLPanel>
</b:NavWidget>
<b:NavWidget ui:field="emails" icon="ENVELOPE">
<g:HTMLPanel tag="span">
<ui:text from="{constants.EMAILS}" />
</g:HTMLPanel>
</b:NavWidget>
</g:HTMLPanel>


</ui:UiBinder>

Any ideas ??

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/22d9a92a-af03-426c-ba22-975fa35e0c65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to