`

GWT中*-compile.cmd批处理文件的意思

    博客分类:
  • GWT
阅读更多

@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

  1. @表示不显示当前输入的命令。
  2. java就不用解释了。
  3. %~dp0表示当前目录 所以%~dp0\src表示当前目录下的src子目录
  4. -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

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics