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
This commit is contained in:
Michael McCandless 2013-05-16 17:18:59 +00:00
parent a0328bedd1
commit 5f64a470eb
1 changed files with 3 additions and 0 deletions

View File

@ -265,6 +265,9 @@ def checkAllJARs(topDir, project, svnRevision, version):
if normRoot.endswith('/contrib/dataimporthandler/lib') and (file.startswith('mail-') or file.startswith('activation-')): 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)) print(' **WARNING**: skipping check of %s/%s: it has javax.* classes' % (root, file))
continue continue
else:
if normRoot.endswith('/replicator/lib') and file.startswith('javax.servlet'):
continue
fullPath = '%s/%s' % (root, file) fullPath = '%s/%s' % (root, file)
noJavaPackageClasses('JAR file "%s"' % fullPath, fullPath) noJavaPackageClasses('JAR file "%s"' % fullPath, fullPath)
if file.lower().find('lucene') != -1 or file.lower().find('solr') != -1: if file.lower().find('lucene') != -1 or file.lower().find('solr') != -1: