@Override
@SuppressWarnings({"unchecked", "rawtypes"})
public void run(AppContext appContext, PathUtil file) {
GwtRecompileImpl gwtCompile = getCompilerSettings();
RequestResponseApi endpoint =
gwtCompile.isRecompile()
? appContext.getFrontendApi().RE_COMPILE_GWT
: appContext.getFrontendApi().COMPILE_GWT;
endpoint.send(gwtCompile , new ApiCallback<CompileResponse>() {
@Override
public void onMessageReceived(CompileResponse message) {
CompilerState state = message.getCompilerStatus();
X_Log.info("Gwt state",state);
if (state == CompilerState.RUNNING) {