Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

LUCENE-4432: Make top-level default ant task print -projecthelp

Uwe Schindlerc11771adde5f
diff --git a/build.xml b/build.xml
index dcfde7b3837..5498b897c02 100644
--- a/build.xml
+++ b/build.xml
@@ -17,7 +17,15 @@
limitations under the License.
-->
-<project name="lucene-solr" default="test" basedir=".">
+<project name="lucene-solr" default="-projecthelp" basedir=".">
+ <target name="-projecthelp">
+ <java fork="false" classname="org.apache.tools.ant.Main" taskname="-">
+ <arg value="-projecthelp"/>
+ <arg value="-f"/>
+ <arg value="${ant.file}"/>
+ </java>
+ </target>
+
<target name="test-help" description="Test runner help">
<subant target="test-help" inheritall="false" failonerror="true">
<fileset dir="lucene" includes="build.xml" />
@@ -54,7 +62,7 @@
</sequential>
</target>
- <target name="documentation-lint">
+ <target name="documentation-lint" description="Validates the generated documentation (HTML errors, broken links,...)">
<sequential>
<subant target="documentation-lint" inheritall="false" failonerror="true">
<fileset dir="lucene" includes="build.xml" />