Example usage for com.google.gwt.eclipse.core.compile GWTCompileSettings GWTCompileSettings

List of usage examples for com.google.gwt.eclipse.core.compile GWTCompileSettings GWTCompileSettings

Introduction

In this page you can find the example usage for com.google.gwt.eclipse.core.compile GWTCompileSettings GWTCompileSettings.

Prototype

public GWTCompileSettings(IProject project) 

Source Link

Usage

From source file:com.myeclipsedev.gdt.eclipse.ui.internal.wizard.WebComponentExportPage.java

License:Open Source License

public GWTCompileSettings getCompileSettings() {
    GWTCompileSettings settings = new GWTCompileSettings(project);
    settings.setOutputStyle(outputStyle);
    settings.setLogLevel(logLevel);//w w w .j  a va  2s .c o m
    return settings;
}

From source file:org.jboss.tools.maven.gwt.GWTProjectConfigurator.java

License:Open Source License

private void setErraiVmParams(IProject project, String path) {
    GWTCompileSettings settings = GWTProjectProperties.getGwtCompileSettings(project);
    if (settings == null) {
        settings = new GWTCompileSettings(project);
    }//from   w  ww.jav a  2  s  .  c o m
    String vmArgs = (settings.getVmArgs() == null) ? "" : settings.getVmArgs();
    if (!vmArgs.contains(ERRAI_MARSHALLING_SERVER_CLASS_OUTPUT)) {
        vmArgs += ERRAI_MARSHALLING_SERVER_CLASS_OUTPUT + path;
        settings.setVmArgs(vmArgs);

        try {
            GWTProjectProperties.setGwtCompileSettings(project, settings);
        } catch (BackingStoreException e) {
            logError("Exception in Maven GWT Configurator, cannot set VM Parameters for Errai", e);
        }
    }
}