Skip to content

Apache Lucene open-source search software

Simplify the one-api-file case

Uwe Schindler37210f0cd6a9
diff --git a/lucene/build.xml b/lucene/build.xml
index 540c213d00c..45eb767a681 100644
--- a/lucene/build.xml
+++ b/lucene/build.xml
@@ -189,10 +189,7 @@
</target>
<target name="-check-system-out">
- <forbidden-apis>
- <apiFileSet dir="${custom-tasks.dir}/forbiddenApis">
- <include name="system-out.txt" />
- </apiFileSet>
+ <forbidden-apis apiFile="${custom-tasks.dir}/forbiddenApis/system-out.txt">
<fileset dir="${basedir}/build">
<include name="**/classes/java/**/*.class"/>
<!-- this is basically tests -->