mirror of https://github.com/apache/lucene.git
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:
parent
d290df514a
commit
e84ba16dd7
|
@ -1,14 +1,14 @@
|
||||||
Lucene Build Instructions
|
Lucene Build Instructions
|
||||||
|
|
||||||
Basic steps:
|
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
|
1) Download Lucene from Apache and unpack it
|
||||||
2) Connect to the top-level of your Lucene installation
|
2) Connect to the top-level of your Lucene installation
|
||||||
3) Install JavaCC (optional)
|
3) Install JavaCC (optional)
|
||||||
4) Run ant
|
4) Run ant
|
||||||
|
|
||||||
Step 0) Set up your development environment (JDK 1.6 or greater,
|
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
|
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
|
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.
|
JDK 1.6 and later.
|
||||||
|
|
||||||
Like many Open Source java projects, Lucene uses Apache Ant for build
|
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
|
Ant is "kind of like make without make's wrinkles". Ant is
|
||||||
implemented in java and uses XML-based configuration files. You can
|
implemented in java and uses XML-based configuration files. You can
|
||||||
|
|
|
@ -944,6 +944,8 @@ Documentation
|
||||||
|
|
||||||
Build
|
Build
|
||||||
|
|
||||||
|
* LUCENE-4016: Require ANT 1.8.2+ for the build.
|
||||||
|
|
||||||
* LUCENE-3808: Refactoring of testing infrastructure to use randomizedtesting
|
* LUCENE-3808: Refactoring of testing infrastructure to use randomizedtesting
|
||||||
package: http://labs.carrotsearch.com/randomizedtesting.html (Dawid Weiss)
|
package: http://labs.carrotsearch.com/randomizedtesting.html (Dawid Weiss)
|
||||||
|
|
||||||
|
|
|
@ -236,6 +236,13 @@
|
||||||
<isset property="fetch.sources.javadocs"/>
|
<isset property="fetch.sources.javadocs"/>
|
||||||
</condition>
|
</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 custom ANT tasks. -->
|
||||||
<import file="${common.dir}/tools/custom-tasks.xml" />
|
<import file="${common.dir}/tools/custom-tasks.xml" />
|
||||||
|
|
||||||
|
|
|
@ -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
|
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.
|
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:
|
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_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
|
"ant -version" command from your shell (command prompt) and verify that Ant is
|
||||||
|
|
Loading…
Reference in New Issue