summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2008-04-26 05:27:05 (EDT)
committerEike Stepper2008-04-26 05:27:05 (EDT)
commit1590c62982806ffa5325741d803e5229fcb85591 (patch)
treed795408ee59870f7d0da06c85a1bd149c6158cc1
parent6b4a347ec29e546bf7ea6722d48df5d3529acddc (diff)
downloadcdo-1590c62982806ffa5325741d803e5229fcb85591.zip
cdo-1590c62982806ffa5325741d803e5229fcb85591.tar.gz
cdo-1590c62982806ffa5325741d803e5229fcb85591.tar.bz2
[226233] Issues with EPackages having inter-dependencies
https://bugs.eclipse.org/bugs/show_bug.cgi?id=226233
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/util/EMFUtil.java17
1 files changed, 9 insertions, 8 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/util/EMFUtil.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/util/EMFUtil.java
index 5771df5..c2f0131 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/util/EMFUtil.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/util/EMFUtil.java
@@ -260,14 +260,15 @@ public final class EMFUtil
{
Resource.Factory resourceFactory = new XMIResourceFactoryImpl();
ResourceSetImpl resourceSet = new ResourceSetImpl()
- {
- @Override
- protected Resource delegatedGetResource(URI uri, boolean loadOnDemand)
- {
- System.out.println("\nGET_RESOURCE: " + uri);
- return delegatedGetResource(uri, loadOnDemand);
- }
- };
+ // {
+ // @Override
+ // protected Resource delegatedGetResource(URI uri, boolean loadOnDemand)
+ // {
+ // System.out.println("\nGET_RESOURCE: " + uri);
+ // return delegatedGetResource(uri, loadOnDemand);
+ // }
+ // }
+ ;
resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put("*", resourceFactory);
resourceSet.getResourceFactoryRegistry().getProtocolToFactoryMap().put("*", resourceFactory);