4

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?

Naveed S
  • 5,106
  • 4
  • 34
  • 52
Abin Manathoor Devasia
  • 1,945
  • 2
  • 21
  • 47
  • Since you are just starting off with GWT, move to the latest edition of GWT i.e 2.5.1. The older legacy compiler is removed. Latest GWT - https://google-web-toolkit.googlecode.com/files/gwt-2.5.1.zip – appbootup Mar 11 '13 at 14:04

2 Answers2

4

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.

Thomas Broyer
  • 64,353
  • 7
  • 91
  • 164
2
 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

Suresh Atta
  • 120,458
  • 37
  • 198
  • 307