aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaloyan Raev2012-07-25 06:19:32 (EDT)
committerJohn Arthorne2012-07-25 16:14:45 (EDT)
commit2b9e2a5c67325bc20ec1de90c56b434e86d88d1f (patch)
treed4a79b654c82a5368b38eebffa268ac6a4b78c06
parent19ef3a1d60037756995e7687a78feef150927cae (diff)
downloadeclipse.pde.build-2b9e2a5c67325bc20ec1de90c56b434e86d88d1f.zip
eclipse.pde.build-2b9e2a5c67325bc20ec1de90c56b434e86d88d1f.tar.gz
eclipse.pde.build-2b9e2a5c67325bc20ec1de90c56b434e86d88d1f.tar.bz2
-rw-r--r--org.eclipse.pde.build/src/org/eclipse/pde/internal/build/site/BuildTimeSite.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/site/BuildTimeSite.java b/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/site/BuildTimeSite.java
index 7c0ffdc..34ce646 100644
--- a/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/site/BuildTimeSite.java
+++ b/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/site/BuildTimeSite.java
@@ -319,15 +319,17 @@ public class BuildTimeSite /*extends Site*/implements IPDEBuildConstants, IXMLCo
return null;
}
- private void resolveFeatureReferences() throws CoreException {
+ private void resolveFeatureReferences() {
FeatureReference[] features = getFeatureReferences();
for (int i = 0; i < features.length; i++) {
try {
//getting the feature for the first time will result in it being added to featureCache
features[i].getFeature();
} catch (CoreException e) {
+ // just log the exception, but do not re-throw it - let other features to be resolved
String message = NLS.bind(Messages.exception_featureParse, features[i].getURL());
- throw new CoreException(new Status(IStatus.ERROR, PI_PDEBUILD, EXCEPTION_FEATURE_MISSING, message, null));
+ IStatus status = new Status(IStatus.ERROR, PI_PDEBUILD, EXCEPTION_FEATURE_MISSING, message, e);
+ BundleHelper.getDefault().getLog().log(status);
}
}
featuresResolved = true;