ant solr source code for eclipse

ant -p # print project help information        

ant ivy-bootstrap # Download and install Ivy in the users ant lib dir        

ant compile # Compile Lucene and Solr        

ant eclipse # Setup Eclipse configuration

cd $DIR/solr-4.8.1/solr

mkdir dist        

ant dist

cp dist/solr-4.8-SNAPSHOT.war example/webapps/solr.war

cd example

java -jar start.jar

这篇文章: 有用 无用