After a lot of pain,Finally installed GWT 2.5
with my Eclipse kepler
Now I am able to launch with Dev mode ,i.e Classic Dev Mode.
By debug configuration in Eclipse aruguments tab is .
-remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -startupUrl index.html -logLevel INFO -codeServerPort 9997 -port 8888 -war E:\GWT2.5_Test\V4Workflow_V17\war com.suresh.V4Workflow
When I'm debugging Eclipse generated the URL
http://127.0.0.1:8888/index.html?gwt.codesvr=127.0.0.1:9997
Which is fine.And Able to debug my code.
Actual question begins here:
I am eagerly waiting to launch my application with Super Dev Mode.
From Docs:
Super Dev Mode runs the GWT compiler in a web server, which is an ordinary Java application that developers can run from the command line. After the server starts up, it prints its URL:
The code server is ready. Next, visit:
http://localhost:9876/
Added the below two lines in gwt.xml
file
<add-linker name="xsiframe"/>
<set-configuration-property name="devModeRedirectEnabled" value="true"/>
I compiled the project and then I launched with http://localhost:9876/
nothing to happened.
Strangely no configuration guidelines founded in docs.
What I'm missing here?
Thanks for any clues.
GWT Development Mode (Using the CodeServer Launcher) Using this Development Mode will start a code server that listens for requests from the browser to compile the application. When the CodeServer launches and moves the resources to the module directory. Then it adds a war/module/module. nocache.
Using GWT Development Mode will launch the CodeServer and a embedded Jetty web server by default. There will start two servers, the first being the Jetty web server and the CodeServer which will listen for compile requests from the browser.
Did you configure the second launcher ? If not :
"Run configurations"
"Java Application"
"main"
:
"browse"
)"com.google.gwt.dev.codeserver.CodeServer"
"argument"
:
"-src src/ PACKAGE_NAME.PROJECTNAME"
(fictive example "-src src/ com.google.My_project"
)"classpath"
:
"User Entries"
, and add the jar "gwt-codeserver.jar"
Configuration
After that, you can launch your server then launch this 2nd launcher and access to the page : http://localhost:9876/
.
source : http://www.badlogicgames.com/wordpress/?p=3073
Hope this will help you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With