com.google.gwt.dev.Compiler和com.google.gwt.dev.GWTCompiler之间有什么区别

时间:2013-03-11 13:16:39

标签: gwt gwt-compiler

当我查看com.google.gwt.dev包时,我发现com.google.gwt.dev中有两个编译器可用。

我需要从我的Java应用程序以编程方式编译GWT项目。哪一个适合?

2 个答案:

答案 0 :(得分:3)

GWTCompiler是旧的切入点。该类已被弃用多年,并且从GWT 2.5.1-rc1开始finally been removed

答案 1 :(得分:1)

 Both the classes are the main executable entry point 
 for the GWT Java to JavaScript compiler. 

com.google.gwt.dev.GWTCompiler 已弃用

使用com.google.gwt.dev.Compiler(2.5中的最新编译器)

您可以在这里找到两个类api

GWTCompiler // 在这里您可以找到已弃用的

Compiler