gwtgwt-compiler

What is the Difference between com.google.gwt.dev.Compiler and com.google.gwt.dev.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?


Solution

  •  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