Posted By

salvadordiaz on 04/29/09


Tagged

gwt


Versions (?)


Advertising

Website Promotion DIRECTORY is a crucial factor for all websites that need to gain better organic search engine rankings and increase website traffic.
Submitting your website as part of your Web Promotion strategy to our SEO friendly and high traffic Business Directory for review is an excellent way to gain a valuable backlink and increase your websites visibility online.

Submit Site


GWT module declaration with rename-to attribute


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
  1. <?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">
  2. <module rename-to="Application">
  3.  
  4. <!-- Inherit the core Web Toolkit stuff. -->
  5. <inherits name='com.google.gwt.user.User'/>
  6.  
  7. <!-- inherit css based theme -->
  8. <inherits name='com.google.gwt.user.theme.standard.Standard'/>
  9.  
  10. <!-- Specify the app entry point class. -->
  11. <entry-point class='fr.salvadordiaz.gwt.sample.client.Application'/>
  12.  
  13. <!-- Specify the application specific style sheet. -->
  14. <stylesheet src='Application.css' />
  15.  
  16. </module>

Report this snippet 

You need to login to post a comment.