com.google.gwt.dev.Compiler和com.google.gwt.dev.GWTCompiler之间的区别是什么 [英] What is the Difference between com.google.gwt.dev.Compiler and com.google.gwt.dev.GWTCompiler
问题描述
当我浏览 com.google.gwt.dev
包时,发现 com.google.gwt中有两个编译器可用。 dev的
。
我的需求是从我的Java应用程序编程式地编译一个GWT项目。哪一个适合?
这两个类都是主可执行入口点$ b用于GWT Java to JavaScript编译器的$ b。
但是 com.google.gwt.dev.GWTCompiler
不推荐使用 使用 com.google.gwt.dev.Compiler
(来自2.5的最新编译器)
您可以在这里找到 api
:
GWTCompiler // 在这里您可以找到它已弃用的
When i go through the com.google.gwt.dev
package i found that there are two compilers available in com.google.gwt.dev
.
My need is to compile a GWT project programatically from my Java Application. Which one is suited?
Both the classes are the main executable entry point
for the GWT Java to JavaScript compiler.
But com.google.gwt.dev.GWTCompiler
is deprecated
Use com.google.gwt.dev.Compiler
(latest compiler from 2.5)
Here you can find the both classes api
:
GWTCompiler // here you can find that its deprecated
这篇关于com.google.gwt.dev.Compiler和com.google.gwt.dev.GWTCompiler之间的区别是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!