Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2008-10-18 06:08:21 -0400
committerEike Stepper2008-10-18 06:08:21 -0400
commit6d0b95101271042988be1347404a975f64f7b216 (patch)
tree3e9863488f0672ea03062bcab5aa5522a42c869b
parent94c87068fccd44ccd344acde4cf1a4184654ab68 (diff)
downloadcdo-6d0b95101271042988be1347404a975f64f7b216.tar.gz
cdo-6d0b95101271042988be1347404a975f64f7b216.tar.xz
cdo-6d0b95101271042988be1347404a975f64f7b216.zip
[249847] Store resources in a hierarchical structure
https://bugs.eclipse.org/bugs/show_bug.cgi?id=249847
-rw-r--r--plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/model/resource/CDOResourcePackage.java2
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/util/ModelUtil.java5
2 files changed, 6 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/model/resource/CDOResourcePackage.java b/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/model/resource/CDOResourcePackage.java
index cd18184438..029e8dfa44 100644
--- a/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/model/resource/CDOResourcePackage.java
+++ b/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/model/resource/CDOResourcePackage.java
@@ -18,7 +18,7 @@ import org.eclipse.emf.cdo.common.model.CDOPackage;
*/
public interface CDOResourcePackage extends CDOPackage
{
- public static final String PACKAGE_URI = "http://www.eclipse.org/emf/CDO/resource/1.0.0";
+ public static final String PACKAGE_URI = "http://www.eclipse.org/emf/CDO/resource/2.0.0";
public static final String NAME = "cdoresource";
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 fc89625646..1384bea8a1 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
@@ -393,6 +393,11 @@ public final class ModelUtil
((InternalCDOClass)corePackage.getCDOObjectClass()).setClientInfo(EcorePackage.eINSTANCE.getEObject());
// Eresource
+ if (!ObjectUtil.equals(CDOResourcePackage.PACKAGE_URI, EresourcePackage.eNS_URI))
+ {
+ throw new ImplementationError();
+ }
+
CDOResourcePackage resourcePackage = packageManager.getCDOResourcePackage();
((InternalCDOPackage)resourcePackage).setClientInfo(EresourcePackage.eINSTANCE);

Back to the top