Saturday, January 16, 2016

Re: migrating from css to gss (gwt 2.7) - CellWidgets compile errors ?

Hi!

I just had the same issue using this Vaadin library, or rather say while testing it. 
What does this mean exactly? That GWT 2.8.0 won't support CSS at all and that I will have to convert all the CSS into GSS? 

I am asking because in that case I wouldn't even start to use CSS.

BR; Stefan

On Wednesday, 6 May 2015 17:38:22 UTC+2, Thomas Broyer wrote:
Widgets have not yet been updated to GSS; it should be done by the 2.8 release (there was an attempt already –last week IIRC– but it had to be reverted)

On Wednesday, May 6, 2015 at 4:46:44 PM UTC+2, Thomas Lacroix wrote:
Hi,
I am migrating from css to gss using gwt 2.7 and the compile fails :

Computing all possible rebind results for 'com.google.gwt.resources.client.CommonResources.Bundle'
            Rebinding com.google.gwt.resources.client.CommonResources.Bundle
               Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
                  Preparing method inlineBlockStyle
                     [ERROR] Your ClientBundle is referencing css files instead of gss. You will need to either convert these files to gss using the converter tool or turn on auto convertion in your gwt.xml file. Note: Autoconversion will be removed in the next version of GWT, you will need to move to gss.Add this line to your gwt.xml file to temporary avoid this:<set-configuration-property name="CssResource.legacy" value="true" />
         [ERROR] Errors in 'com/google/gwt/resources/client/CommonResources.java'
            [ERROR] Line 57: Failed to resolve 'com.google.gwt.resources.client.CommonResources.Bundle' via deferred binding
         Computing all possible rebind results for 'com.google.gwt.user.cellview.client.CellList.Resources'
            Rebinding com.google.gwt.user.cellview.client.CellList.Resources
               Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
                  Preparing method cellListStyle
                     [ERROR] Your ClientBundle is referencing css files instead of gss. You will need to either convert these files to gss using the converter tool or turn on auto convertion in your gwt.xml file. Note: Autoconversion will be removed in the next version of GWT, you will need to move to gss.Add this line to your gwt.xml file to temporary avoid this:<set-configuration-property name="CssResource.legacy" value="true" />
         [ERROR] Errors in 'com/google/gwt/user/cellview/client/CellList.java'
            [ERROR] Line 147: Failed to resolve 'com.google.gwt.user.cellview.client.CellList.Resources' via deferred binding
         Computing all possible rebind results for 'com.google.gwt.user.cellview.client.CellBrowser.Resources'
            Rebinding com.google.gwt.user.cellview.client.CellBrowser.Resources
               Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
                  Preparing method cellBrowserStyle
                     [ERROR] Your ClientBundle is referencing css files instead of gss. You will need to either convert these files to gss using the converter tool or turn on auto convertion in your gwt.xml file. Note: Autoconversion will be removed in the next version of GWT, you will need to move to gss.Add this line to your gwt.xml file to temporary avoid this:<set-configuration-property name="CssResource.legacy" value="true" />
         [ERROR] Errors in 'com/google/gwt/user/cellview/client/CellBrowser.java'
            [ERROR] Line 896: Failed to resolve 'com.google.gwt.user.cellview.client.CellBrowser.Resources' via deferred binding

The errors goes away with the flag
<set-configuration-property name="CssResource.legacy" value="true" />

Am I doing something wrong or does it mean CellWidgets are not compatible with GSS for GWT 2.7 ? If do will it be for the next release ?
Thanks,
Thomas

--
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