That sounds like an even better solution. Thanks for posting it!

--
Ikai Lan
Developer Programs Engineer, Google App Engine
plus.ikailan.com | twitter.com/ikai



On Fri, Jul 29, 2011 at 12:09 PM, Kyle Baley <[email protected]> wrote:

> Yes, it's been suggested that we switch to a Linux server already. I'm
> still a recovering .NET developer so baby steps... Once we've made our first
> million, it'll be higher on the priority list.
>
> In any case, I have it working now using GWT DevMode. Here's what I did:
>
> - Added gwt-dev to my war/WEB-INF/libs folder
> - Created a stub .gwt.xml file
> - Created an Ant target that launches GWT DevMode
>
> Dev mode gives me some errors about not being able to link modules but it
> starts the server just fine.
>
> The stub .gwt.xml file is simple:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <module rename-to="gunton">
> </module>
>
> And the Ant targets (the same ones we use for our GWT project):
>
> <target name="devmode" depends="" description="Run development mode">
>  <java fork="true" classname="com.google.gwt.dev.DevMode"
> dir="${basedir}/war" spawn="true">
>  <classpath>
> <pathelement location="src" />
> <path refid="project.class.path" />
>  <path refid="tools.class.path" />
> </classpath>
> <jvmarg value="-Xmx512M" />
>  <jvmarg
> value="-javaagent:${appengine.folder}/lib/agent/appengine-agent.jar" />
> <jvmarg value="-Duser.dir=${basedir}/WAR" />
>  <arg line="-war" />
> <arg value="${basedir}/war" />
> <arg line="-logLevel" />
>  <arg value="INFO" />
> <arg value="-server" />
> <arg value="com.google.appengine.tools.development.gwt.AppEngineLauncher"
> />
>  <arg value="net.bookedin.gunton.GUNTON" />
>  </java>
>  </target>
>
> <target name="kill">
>   <exec executable="taskkill">
>      <arg value="/fi"/>
>     <arg value='"Windowtitle eq GWT Development Mode"'/>
>    </exec>
> </target>
>
> I'll tweak it further so that gwt-dev doesn't need to get deployed with the
> app.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine-java/-/w387hrtI-bUJ.
>
> 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/google-appengine-java?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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/google-appengine-java?hl=en.

Reply via email to