Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change 
notification.

The following page has been changed by HossMan:
http://wiki.apache.org/solr/FAQ

------------------------------------------------------------------------------
  
  Bug reports, and [:HowToContribute: patch submissions] should be entered in 
[http://lucene.apache.org/solr/issue_tracking.html Solr's Bug Tracking Queue].
  
- == I can't compile Solr, ant says "JUnit not found" ==
+ == I can't compile Solr, ant says "JUnit not found" or "Could not create task 
or type of type: junit" ==
  
- Solr requires the JUnit JAR for compilation.   This JAR is not commited into 
the Solr lib directory like other dependencies because of the JUnit integration 
with Ant.  Please see the 
[http://ant.apache.org/manual/OptionalTasks/junit.html Ant documentation of 
JUnit] for notes about where Ant expects to find the JUnit JAR and Ant task 
JARs.  As of Sept. 21, 2007, JUnit's JAR is now part of Solr's source 
repository, so there is no need to install it separately to run Solr's unit 
tests.
+ As of September 21, 2007, JUnit's JAR is now included in Solr's source 
repository, so there is no need to install it separately to run Solr's unit 
tests.  If ant generates a warning that it doesn't understand the junit task, 
check that you have an "ant-junit.jar" in your ANT_LIB directory (it should be 
included when you install apache-ant).
+ 
+ If you are attempting to compile the Solr source tree from prior to September 
21, 2007 (including ["Solr1.2"]) you will need to include the junit.jar in your 
ant classpath.  Please see the 
[http://ant.apache.org/manual/OptionalTasks/junit.html Ant documentation of 
JUnit] for notes about where Ant expects to find the JUnit JAR and Ant task 
JARs.
  
  == How can I start the example application in Debug mode? ==
  

Reply via email to