List of usage examples for com.google.gwt.eclipse.core.compile GWTCompileSettings GWTCompileSettings
public GWTCompileSettings(IProject project)
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); } } }