Import Lucene source code into eclipse

Prepare
  lucene source code, download address: https://github.com/apache/lucene-solr.git
- jdk 1.8
- eclipse
- apache-ant-1.9.11 Configure environment variables

-apache-ivy-2.5.0-rc1 Put ivy-2.5.0-rc1.jar in D:\softInstall\apache-ant-1.9.11\lib directory

Execute ant ivy-bootstrap

If the above steps are not performed, the following error will be reported. The specific reason is not clear:

Then go to the lucene project path to execute ant eclipse, wait for a long time, and after successful execution, you can see the file with the .project suffix and then you can import it. You can also execute ant idea

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325295672&siteId=291194637