升级GWT 2.3.0后,编译和调试模式的变化(属个人备忘,非详细)
属个人备忘,非详细。
1、编译的变化:
编译时,由过去的 com.google.gwt.dev.GWTCompiler -out 变为: com.google.gwt.dev.Compiler -war
@echo off echo [INFO] GWT 2.3.0 Compiler to JavaScript set JAVA_HOME="D:\ProgramFiles\Java\jdk1.6.0_18" set path="%JAVA_HOME%\bin" set JAVA_OPTS='-Xms256m -Xmx512m' @echo off java -Xmx512M -cp "%~dp0\src\main\java;%~dp0\target\sample\WEB-INF\classes;%M2_REPO%\com\google\gwt\validation-api\1.0.0.GA\validation-api-1.0.0.GA.jar;%M2_REPO%\com\google\gwt\gwt-user\2.3.0\gwt-user-2.3.0.jar;%M2_REPO%\com\google\gwt\gwt-dev\2.3.0\gwt-dev-2.3.0.jar;" com.google.gwt.dev.Compiler -war "%~dp0\war" %* com.brofe.Sample if ERRORLEVEL 1 goto error if ERRORLEVEL 0 goto exit :error pause :exit
2、调试模式的变化:
Main Class:com.google.gwt.dev.DevMode args:-war target/noteside -startupUrl sample/Sample.html com.brofe.Sample -noserver -port 8088 VM:-Xms126m -Xmx512m 依赖:除项目Client包下的源码外,还需:gwt-dev-2.3.0.jar、gwt-user-2.3.0.jar、validation-api-1.0.0.jar
相关推荐
89384099 2012-08-22
84487906 2011-10-13
orangesdk 2012-01-12
84487906 2012-01-12
JimmyblyLee 2012-01-12
89384099 2012-01-12
shangsoft 2012-01-12
84487906 2014-08-17
JimmyblyLee 2016-08-10
84487906 2012-01-12
shangsoft 2011-10-22
orangesdk 2011-03-23
XuDTone 2011-03-22
JimmyblyLee 2011-01-07
heimeiyingwang 2010-08-12
84487906 2010-08-12