Just tried and it worked fine, the only issue is that it doesn't work in
Dev configuration - need to compile the GWT in demo/prod configuration,
i.e. ant clean compile-gwt


On Tue, Dec 17, 2013 at 5:39 PM, Yuri Z <vega...@gmail.com> wrote:

> Make sure you have the server running when you run ant hosted-gwt
> Then you open the browser, navigate to wiab, i.e. http://localhost:9898,
> when the page is loaded you append the  ?gwt.codesvr=127.0.0.1:9997 to
> URL.
>
>
> On Tue, Dec 17, 2013 at 5:28 PM, Yuri Z <vega...@gmail.com> wrote:
>
>> Can't see the screenshot
>>
>>
>> On Tue, Dec 17, 2013 at 5:21 PM, Thomas Wrobel <darkfl...@gmail.com>wrote:
>>
>>>
>>>
>>> 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?
>>>
>>>
>>>
>>
>

Reply via email to