From 445eca12ec69bab5619bd77b55f8c42610847d0a Mon Sep 17 00:00:00 2001 From: Yoav Shapira Date: Sun, 24 Dec 2006 15:07:37 +0000 Subject: [PATCH] test for JUnit presence, and fail with an informative message if JUnit is not present for the build. Somewhat surprisingly, we need JUnit for the core compile target, as opposed to just the compileTests target, so do that test in compile as well. Also a minor language improvement in tutorial.xml for the web site. git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@490031 13f79535-47bb-0310-9956-ffa450edef68 --- README.txt | 7 ++++++- build.xml | 18 ++++++++++++++++-- .../documentation/content/xdocs/tutorial.xml | 2 +- 3 files changed, 23 insertions(+), 4 deletions(-) diff --git a/README.txt b/README.txt index 247e1f35c73..3f31bd57914 100644 --- a/README.txt +++ b/README.txt @@ -93,7 +93,12 @@ Instructions for Building Apache Solr from Source 4. Navigate to that folder and issue an "ant" command to see the available options for building, testing, and packaging Solr. - + + NOTE: + Solr uses JUnit (http://www.junit.org/index.htm) for unit testing. You will need + the JUnit library in your Ant classpath in order to compile and run the unit tests. + See http://ant.apache.org/manual/OptionalTasks/junit.html for instructions. + NOTE: To see Solr in action, you may want to use the "ant example" command to build and package Solr into the example/webapps directory. See also example/README.txt. diff --git a/build.xml b/build.xml index d9f1e995d95..7cfbac10d01 100644 --- a/build.xml +++ b/build.xml @@ -160,7 +160,11 @@ + description="Compile the source code." + depends="checkJunitPresence"> + + + + + + + + depends="compile,checkJunitPresence"> + +
  • FireFox or Mozilla is the preferred browser to view the admin pages... - the current stylesheet doesn't currently look good on IE. + The current stylesheet doesn't look good on Internet Explorer.