webAppCreator
shell command (e.g. webAppCreator -out subdir com.example.myapp.MyApp
)
src/com.example.myapp.MyApp.gwt.xml
<inherits name='com.google.gwt.user.User'/>
(and potentially others)
<inherits name='com.extjs.gxt.ui.GXT'/>
war/gxt
/path/to/gxt/resources/*
to the Eclipse project's war/gxt
folder (i.e. there must be a file at war/gxt/css/gxt-all.css
now)
war/MyApp.html
head
part, where the CSS files are linked in (search for .css
in the file)
<link rel="stylesheet" type="text/css" href="gxt/css/gxt-all.css" />
)
In case this application will consist of a GUI only, you can get rid of the server specific parts. To remove the non-GUI parts from the Eclipse project do this:
com.example.myapp.server
and com.example.myapp.shared
packages
war/lib/gwt-servlet.jar
war/WEB-INF/web.xml
file and remove (or comment out) the servlet
and servlet-mapping
parts, so that only the default page section remains