I have a simple login module, and I tried add <stylesheet
src="login.css"/> to my modules .gwt.xml file.  This seems to generate
code that assumes the login.css file is in my module's output folder,
in my case esf_login_gwt/login.css

But of course if I put the css file there, the next time I compile, it
removes everything in that module folder.  How do I get the compile to
rebuild everything and then put my login.css in there too?

Also, I tried using non-relative paths like in the .gwt.xml file, like
<stylesheet src="/static/login.css"/>  and that generated code in my
HTML looking for /static/login.css, which is not correct since my WAR
is deployed using a webapp name like 'gwttest', so when deployed, it
should be looking for /gwttest/static/login.css.  It doesn't make
sense to put the '/gwtest' path in the .gwt.xml file because it
wouldn't work when deployed using other webapp names.  It seems like
I'm missing something simple here, but I'm not sure what.

I am using GWT 1.7.1 with the Eclipse plugin (latest eclipse 3.5 with
java 6).

Thanks,
David

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to