Sur*_*tta 9 java gwt gwt-2.5 gwt-dev-mode gwt-super-dev-mode
经过很多痛苦,终于安装GWT 2.5了我的Eclipse kepler
现在我可以使用Dev模式启动,即 Classic Dev Mode.
通过Eclipse aruguments选项卡中的调试配置.
-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
当我调试Eclipse生成的URL时
http://127.0.0.1:8888/index.html?gwt.codesvr=127.0.0.1:9997
Run Code Online (Sandbox Code Playgroud)
哪个好.能够调试我的代码.
实际问题从这里开始:
我急切地等待以超级开发模式启动我的应用程序.
超级开发模式在Web服务器中运行GWT编译器,Web服务器是开发人员可以从命令行运行的普通Java应用程序.服务器启动后,会打印其URL:
代码服务器已准备就绪.接下来,访问:
http://localhost:9876/
在gwt.xml文件中添加了以下两行
<add-linker name="xsiframe"/>
<set-configuration-property name="devModeRedirectEnabled" value="true"/>
Run Code Online (Sandbox Code Playgroud)
我编译了这个项目然后我http://localhost:9876/ 没有发生任何事情.
奇怪的是,没有在docs中建立配置指南.
我在这里缺少什么?
谢谢你的任何线索.
Gil*_*les 15
你配置了第二个发射器吗?如果不 :
"Run configurations""Java Application""main":
"browse")"com.google.gwt.dev.codeserver.CodeServer""argument":
"-src src/ PACKAGE_NAME.PROJECTNAME"(虚构的例子"-src src/ com.google.My_project")"classpath":
"User Entries",然后添加jar"gwt-codeserver.jar"Configuration之后,您可以启动服务器,然后启动第二个启动器并访问该页面:http://localhost:9876/.
来源:http://www.badlogicgames.com/wordpress/?p = 3073
希望这会帮助你.
| 归档时间: |
|
| 查看次数: |
14841 次 |
| 最近记录: |