According to the GWT doc ( http://code.google.com/intl/fr-FR/webtoolkit/doc/1.6/ReleaseNotes_1_6.html)<http://code.google.com/intl/fr-FR/webtoolkit/doc/1.6/ReleaseNotes_1_6.html> this is the expected behaviour :
" Switch from GWTShell to HostedMode the following program arguments: -out www com.google.gwt.TestApp/TestApp.html become: -startupUrl TestApp.html com.google.gwt.TestApp Open your module *.gwt.xml* file and add a rename-to attribute to the module definition. When your module is compiled, it will be output to a directory with this name. For example, the following would output your app to a directory called 'testapp' in the *war* directory. <module rename-to='testapp'> ... </module> " 2009/4/17 Christophe Lombart <christophe.lomb...@gmail.com> > Hi all, > I'm trying to use the maven gwt plugin with GWT 1.6.4 with the noserver > option. > When I'm executed the mvn command 'gwt:run', the url is not correct, it > forgets the module name. > > In my case it is > > http://localhost:8080/JcrBrowserApplication.html > > instead of > > > http://localhost:8080/org.apache.sling.browser.JcrBrowserApplication/JcrBrowserApplication.html > > > but I specify the module name in the runTarget option. Is it a bug or do I > have to use another setting ? > here is my plugin definition. > Thanks, > Christophe > > > <plugin> > > <groupId>org.codehaus.mojo</groupId> > > <artifactId>gwt-maven-plugin</artifactId> > > <version>1.1-SNAPSHOT</version> > > <configuration> > > <gwtVersion>${gwt.version}</gwtVersion> > > <noServer>${gwt.noserver}</noServer> > > <port>${gwt.port}</port> > > > <runTarget>org.apache.sling.browser.JcrBrowserApplication/JcrBrowserApplication.html</runTarget> > > <!-- i18nConstantsWithLookup>false</i18nConstantsWithLookup --> > > <extraJvmArgs>-Xmx512m -Xss1024k</extraJvmArgs> > > > > </configuration> > > <executions> > > <execution> > > <goals> > > <goal>compile</goal> > > <!-- goal>generateAsync</goal> > > <goal>eclipse</goal> > > <goal>eclipseTest</goal --> > > </goals> > > </execution> > > </executions> > > </plugin> > >