From 5f64a470ebd7850f6fdb7f10034a21e8bfebf8f8 Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Thu, 16 May 2013 17:18:59 +0000 Subject: [PATCH] allow javax.servlet exception in lucene/replicator git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1483459 13f79535-47bb-0310-9956-ffa450edef68 --- dev-tools/scripts/smokeTestRelease.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev-tools/scripts/smokeTestRelease.py b/dev-tools/scripts/smokeTestRelease.py index 5f9a6000667..ab8f944f377 100644 --- a/dev-tools/scripts/smokeTestRelease.py +++ b/dev-tools/scripts/smokeTestRelease.py @@ -265,6 +265,9 @@ def checkAllJARs(topDir, project, svnRevision, version): if normRoot.endswith('/contrib/dataimporthandler/lib') and (file.startswith('mail-') or file.startswith('activation-')): print(' **WARNING**: skipping check of %s/%s: it has javax.* classes' % (root, file)) continue + else: + if normRoot.endswith('/replicator/lib') and file.startswith('javax.servlet'): + continue fullPath = '%s/%s' % (root, file) noJavaPackageClasses('JAR file "%s"' % fullPath, fullPath) if file.lower().find('lucene') != -1 or file.lower().find('solr') != -1: