GWT module declaration with rename-to attribute

/ Published in: XML
Save to your folder(s)

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)

Copy this code and paste it in your HTML
  1. <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE module PUBLIC "//gwt-module/" "">
  2. <module rename-to="Application">
  4. <!-- Inherit the core Web Toolkit stuff. -->
  5. <inherits name=''/>
  7. <!-- inherit css based theme -->
  8. <inherits name=''/>
  10. <!-- Specify the app entry point class. -->
  11. <entry-point class='fr.salvadordiaz.gwt.sample.client.Application'/>
  13. <!-- Specify the application specific style sheet. -->
  14. <stylesheet src='Application.css' />
  16. </module>

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.