Java – how to start GWT super development mode

There is already an answer to this question: > 5 super dev modes in GWT

Now I can start using development mode, the classic development mode

Debug configuration through the eclipse arguments tab

When I debug the URL generated by eclipse

http://127.0.0.1:8888/index.html?gwt.codesvr=127.0.0.1:9997

Which is good, you can debug my code

The practical problem starts here:

I am eagerly waiting to launch my application with super dev mode

From Docs:

In GWT The following two lines have been added to the XML file

<add-linker name="xsiframe"/>
<set-configuration-property name="devModeRedirectEnabled" value="true"/>

I compiled the project, and then I published http: / / localhost: 9876 / nothing

Strangely, there is no configuration guide in the document

What am I missing here

Thank you for any clues

Solution

Have you configured a second initiator?

>Open the window run configuration > create a new launcher in Java application > in the main tab:

>Add your project ("Browse") > Add main class: "com. Google. GWT. Dev.codeserver. Codeserver"

>In the parameters tab:

>Add "- SRC Src / package_name. ProjectName" (fictional example "- SRC Src / com. Google. My_project")

>In the classpath tab:

>Select "user entry" and add the jar "GWT codeserver. Jar"

>Save this configuration

After that, you can start the server, then start the second initiator and visit the page: http: / / localhost: 9876 /

Source: http://www.badlogicgames.com/wordpress/?p=3073

I hope this will help you

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>