summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-08-25 14:28:29 (EDT)
committerEike Stepper2007-08-25 14:28:29 (EDT)
commit4f7ad34a3beb24d2e4081bece71da22e9c8a7a87 (patch)
treec2b209ed60cef68bd9d94a4c9bc7f983c21e9d28
parent56e6de68a3dc2d281dd0d38f55f0609ba25531f9 (diff)
downloadcdo-4f7ad34a3beb24d2e4081bece71da22e9c8a7a87.zip
cdo-4f7ad34a3beb24d2e4081bece71da22e9c8a7a87.tar.gz
cdo-4f7ad34a3beb24d2e4081bece71da22e9c8a7a87.tar.bz2
*** empty log message ***
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/util/ModelUtil.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/util/ModelUtil.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/util/ModelUtil.java
index 21427df..4847fef 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/util/ModelUtil.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/util/ModelUtil.java
@@ -130,7 +130,8 @@ public final class ModelUtil
String packageURI = ePackage.getNsURI();
String name = ePackage.getName();
boolean dynamic = EMFUtil.isDynamicEPackage(ePackage);
- String ecore = EMFUtil.ePackageToString(ePackage);
+ String ecore = dynamic ? EMFUtil.ePackageToString(ePackage) : null;
+ // String ecore = EMFUtil.ePackageToString(ePackage);
CDOIDRange idRange = packageManager.getSession().registerEPackage(ePackage);
CDOPackageImpl cdoPackage = new CDOPackageImpl(packageManager, packageURI, name, ecore, dynamic, idRange);