add quick test for manifest attribute
diff --git a/tests/org.eclipse.wtp.releng.tests/src/org/eclipse/wtp/releng/tests/QuickTestManifests.java b/tests/org.eclipse.wtp.releng.tests/src/org/eclipse/wtp/releng/tests/QuickTestManifests.java
index 188e3e1..438e619 100644
--- a/tests/org.eclipse.wtp.releng.tests/src/org/eclipse/wtp/releng/tests/QuickTestManifests.java
+++ b/tests/org.eclipse.wtp.releng.tests/src/org/eclipse/wtp/releng/tests/QuickTestManifests.java
@@ -16,9 +16,12 @@
import org.osgi.framework.BundleException;
/**
- * This simple utility was attached to bug
- * https://bugs.eclipse.org/bugs/show_bug.cgi?id=329376 and provides a simple
- * quick check on one form of incorrect headers.
+ * This simple utility was originally attached to bug 329376
+ * https://bugs.eclipse.org/bugs/show_bug.cgi?id=329376
+ * and provides a simple
+ * quick check on one form of incorrect headers. We do not run this test
+ * routinely, just tested some "old" code to see if they had that form of
+ * incorrect manifest.
*/
public class QuickTestManifests implements IApplication {
@@ -43,11 +46,16 @@
if (child.isDirectory()) {
processFolder(child);
}
+ // note, we check zip's probably only for orbit case?
else if (child.getName().endsWith(".jar") || child.getName().endsWith(".zip")) {
processJar(child);
}
else {
- error("Skipping unexpected file type: " + child);
+ // these common cases clutter the log. But print out other unexpected file types,
+ // to aide debugging or to spot invalid root directories
+ if (!(child.getName().endsWith(".jar.pack.gz") || child.getName().endsWith(".xml"))) {
+ error("Skipping unexpected file type: " + child);
+ }
}
}
}