Skip to content

Apache Lucene open-source search software

LUCENE-2993: Add an overview.html specific to the Lucene Test Framework.

Steven Rowe22f35691d845
diff --git a/lucene/build.xml b/lucene/build.xml
index 426f8807048..4d245d595f2 100644
--- a/lucene/build.xml
+++ b/lucene/build.xml
@@ -662,6 +662,7 @@
<sequential>
<mkdir dir="${javadoc.dir}/test-framework"/>
<invoke-javadoc
+ overview="src/test-framework/overview.html"
destdir="${javadoc.dir}/test-framework"
title="${Name} ${version} Test Framework API">
<sources>
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index 74252f504be..38327fec496 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -764,12 +764,13 @@
<element name="sources" optional="yes"/>
<attribute name="destdir"/>
<attribute name="title" default="${Name} ${version} API"/>
+ <attribute name="overview" default="${src.dir}/overview.html"/>
<sequential>
<copy todir="@{destdir}/../prettify" overwrite="false">
<fileset dir="${prettify.dir}"/>
</copy>
<javadoc
- overview="${src.dir}/overview.html"
+ overview="@{overview}"
packagenames="org.apache.lucene.*"
destdir="@{destdir}"
access="${javadoc.access}"
diff --git a/lucene/src/test-framework/overview.html b/lucene/src/test-framework/overview.html
new file mode 100644
index 00000000000..d5c0077861c
--- /dev/null
+++ b/lucene/src/test-framework/overview.html
@@ -0,0 +1,28 @@
+<html>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<head>
+ <title>Apache Lucene Test Framework API</title>
+</head>
+<body>
+<p>
+ The Lucene Test Framework is used by Lucene as the basis for its tests.
+ The framework can also be used for testing third-party code that uses
+ the Lucene API.
+</p>
+</body>
+</html>