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?
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?
GWTCompiler
is the old entry point. The class has been deprecated for years, and has finally been removed starting with GWT 2.5.1-rc1.
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