On Sat, Oct 25, 2014 at 2:27 AM, Julien Dramaix <julien.dram...@gmail.com>
wrote:

> For the time being, you have to use the converter externally, see
> https://github.com/jDramaix/gss.gwt/wiki/Migration-guide#the-converter
> (Now the support of GSS is included in GWT, you don't need any other
> dependencies than gwt-user.jar)
>
> I've proposed to store the result of the conversion on disk id the -extra
> flag is set, but I don't have any reaction about that:
> > Another idea: In order to ease the conversion of existing CssResource to
> GSS, we could maybe during the compilation convert every .css file with the
> converter and write the result on disk (in the "extra" directory) if the
> -extra flag is set.
>
>
I am not sure if we need that. I think all we need to able to run the
converter tool on a directory including subdirectories. That gives enough
flexibility for projects to gradually convert while for others it gives a
simple one shot conversion.



> On Friday, October 24, 2014 4:34:32 PM UTC+2, Paul Stockley wrote:
>>
>> Is there a way to do an explicit one-time conversion to the new gss
>> format? I would want to do this on my major css files so I can take
>> advantage of the new features.
>>
>> On Friday, October 24, 2014 4:37:18 AM UTC-4, Thomas Broyer wrote:
>>>
>>>
>>>
>>> On Thursday, October 23, 2014 11:40:08 PM UTC+2, Julien Dramaix wrote:
>>>>
>>>> Just to summarize:
>>>> - GSS will be available in GWT 2.7
>>>> - GSS will use the CssResource interface and your file needs to end
>>>> with the .gss extension
>>>> - GSS will not be enabled by default. To enable it: add
>>>>  <set-configuration-property name="CssResource.enableGss" value="true"
>>>> /> in your module file.
>>>> - Once enabled, all the CssResource interfaces will be generated by the
>>>> new GssResourceGenerator
>>>> - If your app uses still old css file compatible with the GWT-CSS
>>>> syntax you will need to enable the automatic conversion of these files to
>>>> GSS. To do that: add <set-configuration-property
>>>> name="CssResource.legacy" value="true" /> in your module file.
>>>> - The GSS parser and compiler is more strict than the old one. If you
>>>> meet some issue in this automatic conversion, you can also enable the
>>>> lenient mode: <set-configuration-property name="CssResource.conversionMode"
>>>> value="lenient" />
>>>> - When GSS is enabled, we have to use an attribute gss="true" in your
>>>> uibinder inline style (<ui:style>) in order to enable GSS
>>>>
>>>
>>> Great summary! That should go into the release notes.
>>>
>>  --
> 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 google-web-toolkit-contributors+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-web-toolkit-contributors/b8776c8c-309a-440b-aba6-adc6d3ecdb84%40googlegroups.com
> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/b8776c8c-309a-440b-aba6-adc6d3ecdb84%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA0L5j2JRK67c%3DoxtQgYoQjxRFU1Gie%2B4kQT0pU%2BSmkMgw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to