What is the Difference between com.google.gwt.dev.Compiler and com.google.gwt.dev.GWTCompiler

StackOverflow https://stackoverflow.com/questions/15339600

  •  23-03-2022
  •  | 
  •  

Question

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?

Était-ce utile?

La solution 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

Autres conseils

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top