/ Published in: XML
GWT compiler and hosted mode put all of their generated files in a folder named like the module (in this example the module name is fr.salvadordiaz.gwt.sample.Application). The rename-to attribute changes the name of this folder to the given value (compiler and hosted mode will output files to a folder simply named Application in this example)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE module PUBLIC "//gwt-module/" "http://google-web-toolkit.googlecode.com/svn/tags/1.6.2/distro-source/core/src/gwt-module.dtd"> <module rename-to="Application"> <!-- Inherit the core Web Toolkit stuff. --> <inherits name='com.google.gwt.user.User'/> <!-- inherit css based theme --> <inherits name='com.google.gwt.user.theme.standard.Standard'/> <!-- Specify the app entry point class. --> <entry-point class='fr.salvadordiaz.gwt.sample.client.Application'/> <!-- Specify the application specific style sheet. --> <stylesheet src='Application.css' /> </module>