i see. thank you. How does this affect building a war?
On Fri, Apr 17, 2009 at 8:21 AM, nicolas de loof <nicolas.del...@gmail.com>wrote: > This is not what is required : you must set Maven to compile > into hostedWebApp/WEB-INF/classes : > <build> > <outputDirectory>${path_to_hotsed_mode_webapp}/WEB-INF/classes</> > > With this configuration, when running the hosted mode browser the hosted > mode folder will contain a ready-to-run webapp > > 2009/4/17 Nathaniel Auvil <nathaniel.au...@gmail.com> > >> I am running with the default settings....no configurations for the >> plug-in executions. >> I tried to set the hostedWebApp to point to the buildOutputDirectory but >> it still failed with the same exception >> >> >> >> <plugins> >> <plugin> >> <groupId>org.codehaus.mojo</groupId> >> <artifactId>gwt-maven-plugin</artifactId> >> <version>1.1-SNAPSHOT</version> >> <executions> >> <execution> >> <configuration> >> <extraJvmArgs>-Xmx512m -Xss1024k</extraJvmArgs> >> <hostedWebApp>${project.build.outputDirectory}</hostedWebApp> >> </configuration> >> <goals> >> <goal>eclipse</goal> >> <goal>compile</goal> >> <goal>generateAsync</goal> >> </goals> >> </execution> >> </executions> >> </plugin> >> </plugins> >> >> >> >> >> >> On Fri, Apr 17, 2009 at 7:47 AM, nicolas de loof < >> nicolas.del...@gmail.com> wrote: >> >>> As described by the log, you must configure your project outputDirectory >>> to compile into hosted mode WEB-INF/classes. If you don't do that you will >>> not execute your code in hosted mode >>> >>> 2009/4/17 Nathaniel Auvil <nathaniel.au...@gmail.com> >>> >>> Thanks Nicolas. >>>> That wiki was of some help. When i am trying to generate the eclipse >>>> runtime configuration via: mvn gwt:eclipse, i get the following error: >>>> >>>> ... >>>> [INFO] Preparing gwt:eclipse >>>> [INFO] [gwt:generateAsync {execution: default}] >>>> [INFO] [gwt:eclipse] >>>> [INFO] using GWT jars from project dependencies : 1.6.4 >>>> [WARNING] You should not declare gwt-dev as a project dependency. This >>>> may introduce complex dependency conflicts >>>> [INFO] Unpack native libraries required to run GWT >>>> [ERROR] Your POM <build><outputdirectory> must match your hosted webapp >>>> WEB-INF/classes folder for GWT Hosted browser to see your classes. >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [ERROR] BUILD ERROR >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Configuration does not match GWT Hosted mode requirements >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] For more information, run Maven with the -e switch >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Total time: 3 seconds >>>> [INFO] Finished at: Fri Apr 17 07:14:41 EDT 2009 >>>> [INFO] Final Memory: 10M/18M >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> >>>> >>>> >>>> >>>> >>>> On Fri, Apr 17, 2009 at 2:46 AM, nicolas de loof < >>>> nicolas.del...@gmail.com> wrote: >>>> >>>>> 1.1-SNAPSHOT allready works with gwt 1.6.4 (aka 1.6 "final")Documentation >>>>> still needs some improvements, and samples are to be rewritten :'( >>>>> >>>>> Let us know your migration issue, this will help improving the plugin >>>>> stability >>>>> >>>>> You may also have a look at >>>>> http://code.google.com/p/gwtx/wiki/GwtWithMaven >>>>> >>>>> >>>>> 2009/4/16 Nathaniel Auvil <nathaniel.au...@gmail.com> >>>>> >>>>>> When is the GWT plug-in, documentation, and most importantly the >>>>>> samples, going to be updated for 1.6? I understand there is a snapshot >>>>>> build but i am having issues migrating to 1.6. >>>>> >>>>> >>>>> >>>> >>> >> >