Ok, I see now that in RunMojo.java there is a hostedWebapp parameter,
I set that and now the -war argument is getting the right path:
<configuration>
<logLevel>ALL</logLevel>
<extraJvmArgs>-Xss32M -Xmx512m -Denv=${env}</extraJvmArgs>
<module>com.company.EntryPoint</module>
<runTarget>com.company.EntryPoint.html</runTarget>
<webXml>${basedir}/src/main/webapp/WEB-INF/web.xml</webXml>
<hostedWebapp>${basedir}/src/main/webapp</hostedWebapp>
<port>8080</port>
That works like a charm.
-Dave
On Apr 28, 10:06 am, David <[email protected]> wrote:
> How should the output parameter work? I expected that if I set it
> like
> <output>${basedir}/src/main/webapp/dave</output>
> Then my war files would be generated in that directory, but they are
> not. Instead they go in ${basedir}/war.
>
> I'm getting an error, a 404, when my client makes an rpc request, and
> this started happening when the gwt:run or gwt:compile, started
> putting files in ${basedir}/war.
>
> I'd like to have the files generated in src/main/webapp, I think they
> used to be. If I build the gwt-maven-plugin from source from the
> trunk as of 4/16, the files go in src/main/webapp/<module name>
>
> I tried doing: mvn war:inplace then mvn gwt:run still same problem.
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"gwt-maven" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/gwt-maven?hl=en
-~----------~----~----~----~------~----~------~--~---