You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by th...@apache.org on 2015/01/14 16:14:22 UTC

svn commit: r1651698 - /lucene/dev/trunk/solr/build.xml

Author: thelabdude
Date: Wed Jan 14 15:14:21 2015
New Revision: 1651698

URL: http://svn.apache.org/r1651698
Log:
SOLR-6926: Add example target with gentle prompt to start using ant server instead

Modified:
    lucene/dev/trunk/solr/build.xml

Modified: lucene/dev/trunk/solr/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/build.xml?rev=1651698&r1=1651697&r2=1651698&view=diff
==============================================================================
--- lucene/dev/trunk/solr/build.xml (original)
+++ lucene/dev/trunk/solr/build.xml Wed Jan 14 15:14:21 2015
@@ -738,4 +738,19 @@
     <ant dir="test-framework" target="-append-module-dependencies-properties" inheritAll="false"/>
     <contrib-crawl target="-append-module-dependencies-properties"/>
   </target>
+
+  <target name="example" depends="server">
+    <!-- no description so -p doesn't list it -->
+    <echo>
+
+    ! ! ! NOTICE NOTICE NOTICE ! ! !
+
+    'ant example' is no longer recomended
+
+    Use 'ant server' instead
+
+    'ant example' is going to be removed at some point
+
+    </echo>
+  </target>
 </project>