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

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390453 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2012-09-26 13:00:03 +00:00
parent 654e89883b
commit c11771adde
1 changed files with 10 additions and 2 deletions

View File

@ -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" />