You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2012/09/26 15:00:03 UTC

svn commit: r1390453 - /lucene/dev/trunk/build.xml

Author: uschindler
Date: Wed Sep 26 13:00:03 2012
New Revision: 1390453

URL: http://svn.apache.org/viewvc?rev=1390453&view=rev
Log:
LUCENE-4432: Make top-level default ant task print -projecthelp

Modified:
    lucene/dev/trunk/build.xml

Modified: lucene/dev/trunk/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/build.xml?rev=1390453&r1=1390452&r2=1390453&view=diff
==============================================================================
--- lucene/dev/trunk/build.xml (original)
+++ lucene/dev/trunk/build.xml Wed Sep 26 13:00:03 2012
@@ -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" />