LUCENE-4016: require ant 1.8.2 or later. Sorry Uwe.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1331284 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dawid Weiss 2012-04-27 08:02:53 +00:00
parent d290df514a
commit e84ba16dd7
4 changed files with 13 additions and 4 deletions

View File

@ -1,14 +1,14 @@
Lucene Build Instructions
Basic steps:
0) Install JDK 1.6 (or greater), Ant 1.7.1+ (not 1.6.x, not 1.8.x), Ivy 2.2.0
0) Install JDK 1.6 (or greater), Ant 1.8.2+, Ivy 2.2.0
1) Download Lucene from Apache and unpack it
2) Connect to the top-level of your Lucene installation
3) Install JavaCC (optional)
4) Run ant
Step 0) Set up your development environment (JDK 1.6 or greater,
Ant 1.7.1+, Ivy 2.2.0)
Ant 1.8.2+, Ivy 2.2.0)
We'll assume that you know how to get and set up the JDK - if you
don't, then we suggest starting at http://java.sun.com and learning
@ -16,7 +16,7 @@ more about Java, before returning to this README. Lucene runs with
JDK 1.6 and later.
Like many Open Source java projects, Lucene uses Apache Ant for build
control. Specifically, you MUST use Ant version 1.7.1+
control. Specifically, you MUST use Ant version 1.8.2+.
Ant is "kind of like make without make's wrinkles". Ant is
implemented in java and uses XML-based configuration files. You can

View File

@ -944,6 +944,8 @@ Documentation
Build
* LUCENE-4016: Require ANT 1.8.2+ for the build.
* LUCENE-3808: Refactoring of testing infrastructure to use randomizedtesting
package: http://labs.carrotsearch.com/randomizedtesting.html (Dawid Weiss)

View File

@ -236,6 +236,13 @@
<isset property="fetch.sources.javadocs"/>
</condition>
<!-- Check for minimum supported ANT version. -->
<fail message="Minimum supported ANT version is 1.8.2. Yours: ${ant.version}">
<condition>
<not><antversion atleast="1.8.2" /></not>
</condition>
</fail>
<!-- Import custom ANT tasks. -->
<import file="${common.dir}/tools/custom-tasks.xml" />

View File

@ -66,7 +66,7 @@ Instructions for Building Apache Solr from Source
folder included on your command path. To test this, issue a "java -version" command
from your shell (command prompt) and verify that the Java version is 1.6 or later.
2. Download the Apache Ant binary distribution (1.7.x, not 1.6.x, not 1.8.x) from
2. Download the Apache Ant binary distribution (1.8.2+) from
http://ant.apache.org/ You will need Ant installed and the $ANT_HOME/bin (Windows:
%ANT_HOME%\bin) folder included on your command path. To test this, issue a
"ant -version" command from your shell (command prompt) and verify that Ant is