Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2013-05-08 04:30:50 -0400
committerHenrik Rentz-Reichert2013-05-08 04:30:50 -0400
commitd760368c7a859661ec79491c9468bd14c06407d1 (patch)
tree2eb873d0845f6b7432c5cffc0358a037c45d2025 /plugins/org.eclipse.etrice.generator.config/xtend-gen/org
parentef3dc2717ab9513c243493d6e9f882a672a155e1 (diff)
downloadorg.eclipse.etrice-d760368c7a859661ec79491c9468bd14c06407d1.tar.gz
org.eclipse.etrice-d760368c7a859661ec79491c9468bd14c06407d1.tar.xz
org.eclipse.etrice-d760368c7a859661ec79491c9468bd14c06407d1.zip
[generator.config] bug fix: run standalone setup only if not in Eclipse
Diffstat (limited to 'plugins/org.eclipse.etrice.generator.config/xtend-gen/org')
-rw-r--r--plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/DataConfiguration.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/DataConfiguration.java b/plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/DataConfiguration.java
index 07e9fa9c0..f81989c15 100644
--- a/plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/DataConfiguration.java
+++ b/plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/DataConfiguration.java
@@ -14,6 +14,7 @@ import com.google.common.base.Objects;
import com.google.inject.Inject;
import java.util.ArrayList;
import java.util.List;
+import org.eclipse.emf.common.EMFPlugin;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.resource.ResourceSet;
@@ -55,7 +56,10 @@ public class DataConfiguration implements IDataConfiguration {
protected ImportUriResolver uriResolver;
public void doSetup() {
- ConfigStandaloneSetup.doSetup();
+ boolean _not = (!EMFPlugin.IS_ECLIPSE_RUNNING);
+ if (_not) {
+ ConfigStandaloneSetup.doSetup();
+ }
}
public boolean setResources(final ResourceSet resource, final ILogger logger) {

Back to the top