Skip to content

Apache Lucene open-source search software

Updated error message printed when maven-ant-tasks jar can't be found

Steven Roweca847ed85c3c
diff --git a/solr/common-build.xml b/solr/common-build.xml
index 9986f0f1dec..c43fdc63ccd 100644
--- a/solr/common-build.xml
+++ b/solr/common-build.xml
@@ -562,11 +562,15 @@
<target name="maven.ant.tasks-check">
<fail unless="maven.ant.tasks.present">
- ##################################################################
+ ##########################################################################
Maven ant tasks not found.
- Please make sure the maven-ant-tasks jar is in ANT_HOME/lib, or made
- available to Ant using other mechanisms like -lib or CLASSPATH.
- ##################################################################
+
+ Please download the Maven ant tasks JAR (maven-ant-tasks-2.1.1.jar)
+ from http://maven.apache.org/ant-tasks/download.html and add it to
+ your $HOME/.ant/lib/ directory, or to your ANT_HOME/lib/ directory, or
+ to your $CLASSPATH, or add "-lib /path/to/maven-ant-tasks-2.1.1.jar"
+ to the ant command.
+ ##########################################################################
</fail>
</target>