summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2006-03-22 21:35:59 (EST)
committer pelder2006-03-22 21:35:59 (EST)
commitf2b88c826250903470544f9886f3de43b0a68cab (patch)
tree4b98c194b07c8997a77106b959b94c072faba048
parent711b4490e6f4fb11d737e948803ce75057eb4d7e (diff)
downloadorg.eclipse.jet-f2b88c826250903470544f9886f3de43b0a68cab.zip
org.eclipse.jet-f2b88c826250903470544f9886f3de43b0a68cab.tar.gz
org.eclipse.jet-f2b88c826250903470544f9886f3de43b0a68cab.tar.bz2
[132933] Default to the EMF + XML loader if not loader can be determined from a file's extension.
-rw-r--r--plugins/org.eclipse.jet/src/org/eclipse/jet/internal/runtime/model/LoaderManager.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/runtime/model/LoaderManager.java b/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/runtime/model/LoaderManager.java
index 0201fc8..ecaf1d6 100644
--- a/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/runtime/model/LoaderManager.java
+++ b/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/runtime/model/LoaderManager.java
@@ -260,8 +260,9 @@ public class LoaderManager implements ILoaderManager
}
else if (candidateLoaders.length == 0)
{
- final String msg = MessageFormat.format("Could not find a loader for ''{0}''", new Object []{ url });
- throw new CoreJETException(new BasicDiagnostic(Diagnostic.ERROR, JET2Platform.PLUGIN_ID, IStatus.OK, msg, null));
+// final String msg = MessageFormat.format("Could not find a loader for ''{0}''", new Object []{ url });
+// throw new CoreJETException(new BasicDiagnostic(Diagnostic.ERROR, JET2Platform.PLUGIN_ID, IStatus.OK, msg, null));
+ loaderId = "org.eclipse.jet.emfxml"; //$NON-NLS-1$
}
else
{