css file placement

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

css file placement

Postby hosszu » Thu Nov 11, 2010 4:55 pm

Where can I place my .css file (I will use it as CssResource in ClientBundle) so that gwt designer can see it ?

i found out that it works when .css file is in
- /war folder
- com.company/public folder

it doesnt work if in
- .client package

is there any recommended resource package/folder ?

thank you

T.H.
hosszu
 
Posts: 8
Joined: Tue Nov 09, 2010 3:40 pm

Re: css file placement

Postby Eric Clayberg » Thu Nov 11, 2010 5:04 pm

It should work in either of the two locations you identified.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: css file placement

Postby hosszu » Thu Nov 11, 2010 9:57 pm

and is there any other ? or can I specify it somewhere ?
I would like to use something like /src/resources... to put it outside code packages

thanks

T.H.
hosszu
 
Posts: 8
Joined: Tue Nov 09, 2010 3:40 pm

Re: css file placement

Postby Eric Clayberg » Fri Nov 12, 2010 10:07 am

For normal GWT projects, those are the two allowed places. It definitely won't find anything in the .client package.

If you are using a Maven style project, you should follow normal GWT/Maven conventions.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 2 guests

cron