On 16 December 2013 18:26, Yuri Z <vega...@gmail.com> wrote: > Try to add the startupUrl like this: > > <target name="hosted-gwt" depends="compile" > description="Runs the hosted mode server, for debugging the GWT > client in a JVM."> > <java failonerror="true" fork="true" > classname="com.google.gwt.dev.DevMode"> > <classpath> > <pathelement location="${src.dir}"/> > <pathelement location="${gen.dir}/messages"/> > <path refid="libpath"/> > </classpath> > <jvmarg value="-Xmx512M"/> > <jvmarg value="-ea"/> > <jvmarg > > value="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8001"/> > <arg value="-noserver" /> > <arg line="-bindAddress 0.0.0.0" /> > <arg line="${gwt.args}"/> > <arg line="-startupUrl http://localhost:9898"/> > <arg value="org.waveprotocol.box.webclient.WebClientProd"/> >
Progress, but still no luck. My XML now seems identical to you, with the exception of <jvmarg value="-Xmx512M"/> is <jvmarg value="-Xmx1024M"/>. I assume that's just mine having more memory assigned though. On running "ant hosted-gwt" I now get a startupurl , but no connection to it (enclosed screenshot, hope it works); Could it be something with port numbers? I notice theres a parameter there "address=8001", dunno if that has any connection with my lack of connection. Only other thing I can think of is I have to run something else first before "http://localhost:9898" exists?