Is it possible to deploy a GWT Module to a subdirectory of the /war folder? I tried using rename-to="folder/modulename" but that does not seem to work.
A:
It is possible. Don't change your rename-to attribute, keep it as-is. Just copy the generated folder to a sub-directory in your war.
For example, if your module is named as foo, GWT will create a top level folder named foo. This foo is usually inside the war directory, like this /war/foo. You can move it to a sub-directory like /war/my-sub-dir/foo and that's all there is to it.
sri
2010-04-19 19:44:26
It isn't possible to do this at gwt compile? We're in development of an GWT Application, and then we'll have to move it every time.
Ferdy
2010-04-20 10:00:46
You can use ant to move the directory. Or you can keep the gwt module at the base location but move the host html page to a sub-directory.
sri
2010-04-20 10:39:10