List of usage examples for com.google.gwt.eclipse.core.compile GWTCompileSettings getVmArgs
public String getVmArgs()
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); }// www .j a v a 2s .com 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); } } }