Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Sievers2012-12-17 05:20:03 -0500
committerTobias Oberlies2013-01-25 08:23:42 -0500
commitae3f93aef90e280a1711da4ac11342c011ba480d (patch)
treea491f66a2bbb94d1cee53e0bd02d3306eca7ca2e /bundles/org.eclipse.equinox.p2.directorywatcher
parentc32f1112f9b3d28bd3208ddb11c54ef2010b5eac (diff)
downloadrt.equinox.p2-ae3f93aef90e280a1711da4ac11342c011ba480d.tar.gz
rt.equinox.p2-ae3f93aef90e280a1711da4ac11342c011ba480d.tar.xz
rt.equinox.p2-ae3f93aef90e280a1711da4ac11342c011ba480d.zip
331683 Publisher returns error status in case of invalid manifestv20130125-132342
- BundlesAction will now return a multi-status with severity error (and details in child message(s)) in case of invalid MANIFEST or IOException. - Static helper methods createBundleDescription(), loadManifest() and basicLoadManifest() now throw BundleException and IOException instead of ignoring them. - Added corresponding ...IgnoringExceptions() methods (and marked them as deprecated) which preserve old behaviour and allow to adapt users of these methods as they see fit. Bug 331683
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.directorywatcher')
-rw-r--r--bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/RepositoryListener.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/RepositoryListener.java b/bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/RepositoryListener.java
index 132e5f410..0f294aced 100644
--- a/bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/RepositoryListener.java
+++ b/bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/RepositoryListener.java
@@ -138,7 +138,7 @@ public class RepositoryListener extends DirectoryChangeListener {
}
private boolean processBundle(File file, boolean isDirectory, boolean isAddition) {
- BundleDescription bundleDescription = BundlesAction.createBundleDescription(file);
+ BundleDescription bundleDescription = BundlesAction.createBundleDescriptionIgnoringExceptions(file);
if (bundleDescription == null)
return false;

Back to the top