gwtbootstrap/gwt-bootstrap — pull request #465 by achan (2013-12-10 01:48:35+00:00)
Title: use GWT.getModuleBaseURL() to load resources in injectResourceCssAsFile.

I've updated ResourceInjector to use GWT.getModuleBaseURL() to load the css files. GWT.getModuleName() only includes the module name, which fails to load the css file if the project's servlet is not mapped to a top-level directory.

GWT.getModuleName() = mygwtproject/css/bootstrap.min.css
GWT.getModuleBaseURL() = http://myhost.com/more/dirs/mygwtproject/css/bootstrap.min.css

GWT.getModuleNameURL() also guarantees a trailing slash.