tags:

views:

280

answers:

1

What does the rename-to attribute of the module tag in a GWT module mean? Is it optional?

+3  A: 

It "causes the compiler to behave as though the module had a different name than the long, fully-qualified name" (http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html). Yes, it's optional, and indeed only recommended for limited use cases.

Matthew Flaschen
Does this effect the host page? If I had <module rename-to="roflberry"> and my entry point was "PwnCakes.java"> what would the host page entry for with the .nocache.js file look like?
Benju
I thought it affected the final dir of the compiled module. Does it?
helios
Yes, it does affect the directory name.
Matthew Flaschen