Skip to content

Apache Lucene open-source search software

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

Steven Rowe959f657848aa
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index be49f380e40..7afab6ec1d1 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -314,17 +314,17 @@
</target>
<target name="maven.ant.tasks-check">
- <fail unless="maven.ant.tasks.present">
- ##########################################################################
+ <fail unless="maven.ant.tasks.present">#
+ ##########################################################################
Maven ant tasks not found.
-
+
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"
+ 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>
+ </fail>
</target>
<macrodef name="m2-deploy" description="Builds a Maven artifact">
diff --git a/solr/common-build.xml b/solr/common-build.xml
index 77e83bfd7c5..7352c38e268 100644
--- a/solr/common-build.xml
+++ b/solr/common-build.xml
@@ -561,14 +561,14 @@
</target>
<target name="maven.ant.tasks-check">
- <fail unless="maven.ant.tasks.present">
+ <fail unless="maven.ant.tasks.present">#
##########################################################################
Maven ant tasks not found.
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"
+ 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>