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

查看:138
本文介绍了com.google.gwt.dev.Compiler和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

Compiler

这篇关于com.google.gwt.dev.Compiler和com.google.gwt.dev.GWTCompiler之间的区别是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆