Hello everyone,
recently, after updating GWT master I wasn't able to neither compile nor 
debug my project in DevMode. I tracked the problem down to commit 779627ac 
after which I'm getting errors (see bellow) while generating UiBinder glue 
to one of my widgets it complains one of my interfaces isn't a type, but 
its there on the class path. The interface is a ClientBundle that I use 
from within the UiBinder template to load image from. Weird think is that I 
have similar ClientBundle placed elsewhere and used in another UiBinder 
template which works OK. This is not a problem with not having some modules 
included in my gwt.xml, the project setup remained the same. The app I'm 
compiling (I tried eclipse compile/DevMode and running the compiler from 
command line by hand as well) is a multi-project setup having two separate 
eclipse projects used as sources, but it never posed a problem. I tried to 
revert the changes from 779627ac and compiled on top of current HEAD 
(f6d098fc) and the project compiles OK.

The UiBinder template usage is pretty standard:
...
<ui:with field='res' type='com.promis.ui.client.bundles.Images'/>
...
<g:Image resource="{res.information}"/>

public class SplashFrm extends DecoratedPopupPanel implements 
CenterHelper.Client
{
    private static SplashFrmUiBinder uiBinder = 
GWT.create(SplashFrmUiBinder.class);
    interface SplashFrmUiBinder extends UiBinder<Widget, SplashFrm> {}
...

During compile this produces following error log:
      Validating units:
         Errors in 
'generated://5CF227F805D1F55776CDB49692D603C5/com/promis/weblink/client/ui/SplashFrm_SplashFrmUiBinderImpl.java'
            See snapshot: 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\com.promis.weblink.client.ui.SplashFrm_SplashFrmUiBinderImpl77307997322787911.java
         Ignored 1 unit with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all 
errors.
   [ERROR] Errors in 
'generated://5CF227F805D1F55776CDB49692D603C5/com/promis/weblink/client/ui/SplashFrm_SplashFrmUiBinderImpl.java'
      [ERROR] Line 15: com.promis.ui.client.bundles.Images cannot be 
resolved to a type
      [ERROR] Line 15: com.promis.ui.client.bundles.Images cannot be 
resolved to a type
      [ERROR] Line 15: com.promis.ui.client.bundles.Images cannot be 
resolved to a type
      See snapshot: 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\com.promis.weblink.client.ui.SplashFrm_SplashFrmUiBinderImpl4533299510520776392.java
   [ERROR] Errors in 'com/promis/weblink/client/ui/SplashFrm.java'
      [ERROR] Line 17: Rebind result 
'com.promis.weblink.client.ui.SplashFrm_SplashFrmUiBinderImpl' could not be 
found
   Adding '2' new generated units
      Validating units:
         Errors in 
'generated://488AE7991663EA6C1F032A3C1B0EE609/com/promis/ui/client/bundles/Images_cs_InlineClientBundleGenerator.java'
            See snapshot: 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\com.promis.ui.client.bundles.Images_cs_InlineClientBundleGenerator6947991448159430337.java
         Errors in 
'generated://F74F74BA6B19A984D800E9A65EDA2E2B/com/promis/ui/client/bundles/Images_en_InlineClientBundleGenerator.java'
            See snapshot: 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\com.promis.ui.client.bundles.Images_en_InlineClientBundleGenerator4281512586235817971.java
         Ignored 2 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all 
errors.
   [ERROR] Errors in 
'generated://488AE7991663EA6C1F032A3C1B0EE609/com/promis/ui/client/bundles/Images_cs_InlineClientBundleGenerator.java'
      [ERROR] Line 136: Referencing class 
'com.promis.ui.client.bundles.Images': unable to resolve class
      [ERROR] Line 137: Referencing class 
'com.promis.ui.client.bundles.Images': unable to resolve class
      [ERROR] Line 138: Referencing class 
'com.promis.ui.client.bundles.Images': unable to resolve class
      [ERROR] Line 139: Referencing class 
'com.promis.ui.client.bundles.Images': unable to resolve class
      [ERROR] Line 140: Referencing class 
'com.promis.ui.client.bundles.Images': unable to resolve class
      [ERROR] Line 6: com.promis.ui.client.bundles.Images cannot be 
resolved to a type
      See snapshot: 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\com.promis.ui.client.bundles.Images_cs_InlineClientBundleGenerator3324679282687144960.java
   [ERROR] Errors in 'com/promis/ui/client/bundles/Images.java'
      [ERROR] Line 9: Rebind result 
'com.promis.ui.client.bundles.Images_cs_InlineClientBundleGenerator' could 
not be found

The generated files both use absolute names to the 
com.promis.ui.client.bundles.Images type.

If more complete information is needed I'll be happy to provide it.

Thanks for any help in this matter.

Honza R.

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to