summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorMarkus Alexander Kuppe2013-06-11 15:13:58 (EDT)
committer Gerrit Code Review @ Eclipse.org2013-08-14 10:46:32 (EDT)
commitb73428f4646dab3d3b50f277e76c4c264fca5c01 (patch)
tree84c702ccab8478caa55caaa1187d5d7c021a2e69
parentdfc610de940f59ff2091d43a79b01a431496c496 (diff)
downloadeclipse.platform.ui-b73428f4646dab3d3b50f277e76c4c264fca5c01.zip
eclipse.platform.ui-b73428f4646dab3d3b50f277e76c4c264fca5c01.tar.gz
eclipse.platform.ui-b73428f4646dab3d3b50f277e76c4c264fca5c01.tar.bz2
Bug 403331 - ModelAssembler fails silently if fragment cannot be appliedrefs/changes/04/15304/2
and does not print name of offending bundle https://bugs.eclipse.org/403331 Signed-off-by: Markus Alexander Kuppe <bugs.eclipse.org@lemmster.de>
-rw-r--r--bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/ModelAssembler.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/ModelAssembler.java b/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/ModelAssembler.java
index be217ba..0d9d8db 100644
--- a/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/ModelAssembler.java
+++ b/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/ModelAssembler.java
@@ -118,7 +118,7 @@ public class ModelAssembler {
try {
resource = resourceSet.getResource(uri, true);
} catch (RuntimeException e) {
- logger.warn(e, "Unable to read model extension"); //$NON-NLS-1$
+ logger.warn(e, "Unable to read model extension from " + uri.toString()); //$NON-NLS-1$
continue;
}
@@ -169,6 +169,8 @@ public class ModelAssembler {
if (merged.size() > 0) {
evalImports = true;
addedElements.addAll(merged);
+ } else {
+ logger.info("Nothing to merge for \"{0}\"", uri); //$NON-NLS-1$
}
}