summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2006-06-01 08:47:18 (EDT)
committerpelder2006-06-01 08:47:18 (EDT)
commitaf73f4910d881feecac30c0b825779f5ec3b2bfa (patch)
tree24aeddc608a3f333dc754d436d6cf4f02a4b41fd
parent14241acf0ba40f2020a055c568512a3fa6781a26 (diff)
downloadorg.eclipse.jet-af73f4910d881feecac30c0b825779f5ec3b2bfa.zip
org.eclipse.jet-af73f4910d881feecac30c0b825779f5ec3b2bfa.tar.gz
org.eclipse.jet-af73f4910d881feecac30c0b825779f5ec3b2bfa.tar.bz2
[144873] Anticipate that plug-ins might not have Manifest.MF files
-rw-r--r--plugins/org.eclipse.jet/src/org/eclipse/jet/internal/extensionpoints/PluginProjectMonitor.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/extensionpoints/PluginProjectMonitor.java b/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/extensionpoints/PluginProjectMonitor.java
index 1322cfc..40787bd 100644
--- a/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/extensionpoints/PluginProjectMonitor.java
+++ b/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/extensionpoints/PluginProjectMonitor.java
@@ -16,6 +16,7 @@
*/
package org.eclipse.jet.internal.extensionpoints;
+import java.io.FileNotFoundException;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
@@ -218,6 +219,11 @@ public class PluginProjectMonitor implements IResourceChangeListener
{
JETActivatorWrapper.INSTANCE.log(e);
}
+ catch (FileNotFoundException e)
+ {
+ // arises when we cannot find MANIFEST.MF. In this case, we'll
+ // just assume the plug-in does not contain JET tags
+ }
catch (IOException e)
{
JETActivatorWrapper.INSTANCE.log(e);