You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by eh...@apache.org on 2007/09/21 21:08:03 UTC
svn commit: r578230 - in /lucene/solr/trunk: README.txt build.xml
lib/junit-4.3.jar
Author: ehatcher
Date: Fri Sep 21 12:08:03 2007
New Revision: 578230
URL: http://svn.apache.org/viewvc?rev=578230&view=rev
Log:
SOLR-362: add JUnit to Solr libraries
Added:
lucene/solr/trunk/lib/junit-4.3.jar (with props)
Modified:
lucene/solr/trunk/README.txt
lucene/solr/trunk/build.xml
Modified: lucene/solr/trunk/README.txt
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/README.txt?rev=578230&r1=578229&r2=578230&view=diff
==============================================================================
--- lucene/solr/trunk/README.txt (original)
+++ lucene/solr/trunk/README.txt Fri Sep 21 12:08:03 2007
@@ -85,11 +85,6 @@
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.
Modified: lucene/solr/trunk/build.xml
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/build.xml?rev=578230&r1=578229&r2=578230&view=diff
==============================================================================
--- lucene/solr/trunk/build.xml (original)
+++ lucene/solr/trunk/build.xml Fri Sep 21 12:08:03 2007
@@ -93,8 +93,6 @@
<property name="junit.output.dir" location="${dest}/test-results"/>
<property name="junit.reports" location="${dest}/test-results/reports"/>
<property name="junit.includes" value="**/Test*.java,**/*Test.java"/>
- <available property="junitPresent"
- classname="junit.framework.TestCase" />
<!-- Macro for compilation -->
<macrodef name="solr-javac">
@@ -385,6 +383,8 @@
<!-- Check that JUnit is present. -->
<target name="checkJunitPresence">
+ <available property="junitPresent"
+ classname="junit.framework.TestCase" classpathref="compile.classpath"/>
<!-- no description so it doesn't show up in -projecthelp -->
<fail unless="junitPresent">
##################################################################
Added: lucene/solr/trunk/lib/junit-4.3.jar
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/lib/junit-4.3.jar?rev=578230&view=auto
==============================================================================
Binary file - no diff available.
Propchange: lucene/solr/trunk/lib/junit-4.3.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream