@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
分享到:
相关推荐
- `GWT-Advanced-Table-shell.cmd`:这可能是用于启动GWT开发服务器的批处理文件,以便在本地环境中进行测试和调试。 - `GWT-Advanced-Table-compile.cmd`:此文件可能是编译GWT项目的命令脚本,将Java源代码编译为...
- `GWT-Advanced-Table-shell.cmd` 和 `GWT-Advanced-Table-compile.cmd`:这两个批处理脚本分别用于启动 GWT 的超级浏览器模式(shell mode)进行调试和编译 GWT 项目。 - `GWT-Advanced-Table.launch`:这是 ...
`GWT-Advanced-Table-shell.cmd`和`GWT-Advanced-Table-compile.cmd`是批处理命令文件,分别用于启动GWT的开发模式(Shell模式)和编译GWT应用。开发模式允许开发者在浏览器中实时查看代码更改的效果,而编译模式则...
`RpcExample-compile.cmd`可能是一个批处理文件,用于触发GWT编译过程。 4. **服务端代码**:GWT应用通常需要一个服务端组件来处理与客户端的通信,如RPC(Remote Procedure Call)。`gwt-servlet.jar`可能是GWT...
`GWT-Advanced-Table-shell.cmd`和`GWT-Advanced-Table-compile.cmd`是启动和编译GWT项目的批处理脚本,`GWT-Advanced-Table.launch`是Eclipse中的运行配置。`src`目录则包含了源代码,你可以在此基础上进行开发和...
2. `GWT-Advanced-Table-shell.cmd`:这是一个批处理文件,用于启动GWT的Shell模式。Shell模式允许开发者在浏览器中实时查看和测试GWT应用的代码变化,而无需完整的编译和部署过程。 3. `GWT-Advanced-Table-...