Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/org.eclipse.emf.ecore.xcore.exporter/src/org/eclipse/emf/ecore/xcore/exporter/XcoreExporter.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.ecore.xcore.exporter/src/org/eclipse/emf/ecore/xcore/exporter/XcoreExporter.java b/plugins/org.eclipse.emf.ecore.xcore.exporter/src/org/eclipse/emf/ecore/xcore/exporter/XcoreExporter.java
index 8c28e76ed..9f573d958 100644
--- a/plugins/org.eclipse.emf.ecore.xcore.exporter/src/org/eclipse/emf/ecore/xcore/exporter/XcoreExporter.java
+++ b/plugins/org.eclipse.emf.ecore.xcore.exporter/src/org/eclipse/emf/ecore/xcore/exporter/XcoreExporter.java
@@ -390,6 +390,7 @@ public class XcoreExporter extends ModelExporter
//
Map<URI, URI> uriMap = resourceSet.getURIConverter().getURIMap();
Map<URI, URI> copyiedURIMap = new HashMap<URI, URI>(uriMap);
+ uriMap.clear();
outputResource.save(options);
uriMap.putAll(copyiedURIMap);
}

Back to the top