Apache Lucene open-source search software
LUCENE-4199: cleanup filesets to check; disable Solr's DIH checking, as Locale/Charset support is broken (SOLR-1916)
Uwe Schindlere7437a7d0c59
diff --git a/lucene/build.xml b/lucene/build.xmlindex 99e2deae8f4..89e074048b8 100644--- a/lucene/build.xml+++ b/lucene/build.xml@@ -178,7 +178,7 @@<target name="check-forbidden-apis" depends="compile-tools,compile-test,load-custom-tasks" description="Check forbidden API calls in compiled class files."><forbidden-apis apiFile="${custom-tasks.dir}/forbiddenApis/jdk.txt">- <fileset dir="${basedir}" includes="**/build/**/*.class" />+ <fileset dir="${basedir}/build" includes="**/*.class" /></forbidden-apis></target>diff --git a/solr/build.xml b/solr/build.xmlindex d1715d4861a..0a6b5b8ed9f 100644--- a/solr/build.xml+++ b/solr/build.xml@@ -197,7 +197,11 @@<include name="jdk.txt" /><include name="commons-io.txt" /></apiFileSet>- <fileset dir="${basedir}" includes="**/build/**/*.class" />+ <fileset dir="${basedir}/build">+ <include name="**/*.class" />+ <!-- exclude DIH for now as it is broken with Locales and Encodings: SOLR-1916 -->+ <exclude name="contrib/solr-dataimporthandler*/**" />+ </fileset></forbidden-apis></target>