com.google.gwt.dev.Compiler和com.google.gwt.dev.GWTCompiler之间有什么区别
当我浏览com.google.gwt.dev.Compiler和com.google.gwt.dev.GWTCompiler之间有什么区别,gwt,gwt-compiler,Gwt,Gwt Compiler,当我浏览com.google.gwt.dev包时,我发现com.google.gwt.dev中有两个编译器可用 我需要从Java应用程序中以编程方式编译GWT项目。哪一个合适 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.Compi
com.google.gwt.dev
包时,我发现com.google.gwt.dev
中有两个编译器可用
我需要从Java应用程序中以编程方式编译GWT项目。哪一个合适
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是旧的入口点。多年来,该课程一直被弃用,并从GWT 2.5.1-rc1开始使用。干杯2.5.1已经推出两天了-由于您刚刚开始使用GWT,请转到GWT的最新版本,即2.5.1。旧的旧版编译器将被删除。最新GWT-断开到javana的链接