Hello, I would like to play with patch SOLR-69 and am trying to rebuild solr using ant with some difficulties. When I try to run ant, I get an error saying that it can't find junit, but junit is in the ant lib directory. I had a file called ant-junit.jar in the lib directory and copied it to junit.jar, but it still gave me the error. Any ideas as to what is causing this?

Thanks
Andrew

# ant example
Buildfile: build.xml

checkJunitPresence:

BUILD FAILED
/office/src/apache-solr-nightly/build.xml:240: ##################################################################
     JUnit not found.
     Please make sure junit.jar is in ANT_HOME/lib, or made available
     to Ant using other mechanisms like -lib or CLASSPATH.
     ##################################################################

Total time: 0 seconds

# echo $ANT_HOME
/usr/local/ant

# ls /usr/local/ant/lib/
ant-antlr.jar ant-apache-oro.jar ant-commons-net.jar ant-javamail.jar ant-junit.jar ant-starteam.jar ant-vaj.jar junit.jar ant-apache-bcel.jar ant-apache-regexp.jar ant-icontract.jar ant-jdepend.jar ant-launcher.jar ant-stylebook.jar ant-weblogic.jar README ant-apache-bsf.jar ant-apache-resolver.jar ant-jai.jar ant-jmf.jar ant-netrexx.jar ant-swing.jar ant-xalan1.jar xercesImpl.jar ant-apache-log4j.jar ant-commons-logging.jar ant.jar ant-jsch.jar ant-nodeps.jar ant-trax.jar ant-xslp.jar xml-apis.jar

Reply via email to