lucene源码构建-idea--eclipse--NetBeans

源码下载地址
选择对应的版本下载
源码编译环境需要 ant 和ivy ,版本请查看build.txt (6.3.0 可用ant-1.9.11 ivy-2.2.0 亲测可以 jdk1.8)
ant配置好环境变量后执行

ant compile

如果您在调用Ant时看到Ivy missing 的错误(例如,.ant/lib不存在),运行Ant ivy-bootstrap和重试。

ant ivy-bootstrap
//重试
ant compile
//支持三种开发工具
   ant eclipse
   ant idea    //亲测,可以生成工程
   ant netbeans

据我测试,目前只找到lucene-solr源码可编译成工程,Lucene官网的src源码包不支持 ant eclipse | idea

转载地址:https://blog.csdn.net/wangxilong1991/article/details/80363063

你可能感兴趣的:(solr,lucene)