mirror of https://github.com/apache/lucene.git
be specific about dependent versions for ant/junit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1138821 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a7a7108ec8
commit
f189febe29
|
@ -1,14 +1,14 @@
|
||||||
Lucene Build Instructions
|
Lucene Build Instructions
|
||||||
|
|
||||||
Basic steps:
|
Basic steps:
|
||||||
0) Install JDK 1.5 (or greater), Ant 1.7.0 (or greater)
|
0) Install JDK 1.5 (or greater), Ant 1.7.x (not 1.6.x, not 1.8.x)
|
||||||
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.5 or greater,
|
Step 0) Set up your development environment (JDK 1.5 or greater,
|
||||||
Ant 1.7.0 or greater)
|
Ant 1.7.x)
|
||||||
|
|
||||||
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.5 and later.
|
JDK 1.5 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.0 or greater.
|
control. Specifically, you MUST use Ant version 1.7.x
|
||||||
|
|
||||||
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
|
||||||
|
|
|
@ -22,6 +22,7 @@ lucene-core-XX-javadoc.jar
|
||||||
|
|
||||||
lucene-test-framework-XX.jar
|
lucene-test-framework-XX.jar
|
||||||
The compiled Lucene test-framework library.
|
The compiled Lucene test-framework library.
|
||||||
|
Depends on junit 4.7.x (not 4.6.x, not 4.8.x), and Apache Ant 1.7.x (not 1.6.x, not 1.8.x)
|
||||||
|
|
||||||
lucene-test-framework-XX-javadoc.jar
|
lucene-test-framework-XX-javadoc.jar
|
||||||
The Javadoc jar for the compiled Lucene test-framework library.
|
The Javadoc jar for the compiled Lucene test-framework library.
|
||||||
|
|
|
@ -69,7 +69,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.0 or greater) from http://ant.apache.org/
|
2. Download the Apache Ant binary distribution (1.7.x, not 1.6.x, not 1.8.x) from http://ant.apache.org/
|
||||||
You will need Ant installed and the $ANT_HOME/bin (Windows: %ANT_HOME%\bin) folder
|
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
|
included on your command path. To test this, issue a "ant -version" command from your
|
||||||
shell (command prompt) and verify that Ant is available.
|
shell (command prompt) and verify that Ant is available.
|
||||||
|
|
Loading…
Reference in New Issue