How to disable default css

188 views
Skip to first unread message

Alex Luya

unread,
Nov 30, 2009, 2:49:16 AM11/30/09
to Google Web Toolkit
Alex Luya

Hi,I want to disable all css come with GWT,and have followed this
thread,and commented the entry "<inherits
name='com.google.gwt.user.theme.standard.Standard' />" in
Project.gwt.xml ,but seems that standard css still be generated in
directory /war/project/gwt,so how to disable it thoroughly.Thank you
in advanced.

Chris Moog

unread,
Nov 30, 2009, 4:38:15 AM11/30/09
to Google Web Toolkit
You're right. The file is there by default (at least if you create a
new project with the eclipse plugin).
If you uncomment the "<inherits...>" section in your module.xml as you
described it will not be interpreted by GWT and can be deleted.

Alex Luya

unread,
Dec 1, 2009, 6:56:42 AM12/1/09
to Google Web Toolkit
Yeah,I can delete it,but it will be generated automatically next time
when I refresh hosted.html,even I have removed the entry "<inherits
name='com.google.gwt.user.theme.standard.Standard' />",that is very
very very annoying.

On 30 nov, 10:38, Chris Moog <christopherm...@googlemail.com> wrote:
> You're right. The file is there by default (at least if you create a
> new project with the eclipse plugin).
> If you uncomment the "<inherits...>" section in your module.xml as you
> described it will not be interpreted by GWT and can be deleted.
>
> On 30 Nov., 08:49, Alex Luya <alexander.l...@gmail.com> wrote:
>
>
>
> > Alex Luya
>
> >  Hi,I want todisableallcsscome with GWT,and  have followed this
> > thread,and commented the entry "<inherits
> > name='com.google.gwt.user.theme.standard.Standard' />" in
> > Project.gwt.xml ,but seems thatstandardcssstill be generated in

Prashant

unread,
Dec 1, 2009, 7:42:33 AM12/1/09
to google-web-toolkit
it shouldn't happen, i am also not using gwt styles. try creating a new project and comment <inherit> tag before compiling it first time.

Alex Luya

unread,
Dec 9, 2009, 2:33:37 AM12/9/09
to Google Web Toolkit

But question is if referenced library uses <inherits
name='com.google.gwt.user.theme.standard.Standard' />,standard css
will still be generated,even I have commented it in my own module(Web
application).
Reply all
Reply to author
Forward
0 new messages