If you have a mixture of *.css and *.gss files referenced in @Source then 
you can not convert the css files one by one because a css file might not 
contain @def rules if they are defined in a different file. As you must 
also honor css rule ordering the only right thing to do is to merge all 
these referenced files in the same order they are referenced in the @Source 
annotation and then convert it.

However when doing so the in-memory css2gss converter would get a mixture 
of gss and css syntax as input but it only understands normal css as input 
(it builds a AST from the input and recognizes CssResource features during 
parsing). So at the end the converter requires pure css input. It does not 
understand any gss features.

I would create a branch, run the Css2Gss class to convert all css files to 
gss and then start updating @Source annotations and/or String constants 
pointing to old css files.

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to