@java -cp "%~dp0\src;D:/Java/gwt/gwt-windows-1.4.62/gwt-user.jar;D:/Java/gwt/gwt-windows-1.4.62/gwt-dev-windows.jar" com.google.gwt.dev.GWTCompiler -out "%~dp0\www" %* com.sample.myProject.client.DemoClient
- @表示不显示当前输入的命令。
- java就不用解释了。
- %~dp0表示当前目录 所以%~dp0\src表示当前目录下的src子目录
- -out The directory to write output files into (defaults to current) 输出目录
GWTCompiler命令解释:
Google Web Toolkit 1.4.62
GWTCompiler [-logLevel level] [-gen dir] [-out dir] [-treeLogger] [-style style] module
where
-logLevel The level of logging detail: ERROR, WARN, INFO, TRACE, DEBUG, SPAM, or ALL
-gen The directory into which generated files will be written for review
-out The directory to write output files into (defaults to current)
-treeLogger Logs output in a graphical tree view
-style Script output style: OBF[USCATED], PRETTY, or DETAILED (defaults to OBF)
and
module Specifies the name of the module to compile