簡體   English   中英

“ant eclipse”不適用於 Apache Nutch 存儲庫

[英]"ant eclipse" not working for Apache Nutch repository

我想在 Eclipse 中使用 Apache Nutch,我按照本網站https://cwiki.apache.org/confluence/display/nutch/RunNutchInEclipse 中的步驟操作,但是當我運行ant eclipse ,它總是在以下幾行重新啟動開始:

$ ant eclipse
Buildfile: /.../nutch/build.xml
Trying to override old definition of task javac
  [taskdef] Could not load definitions from resource org/apache/rat/anttasks/antlib.xml. It could not be found.

clean-build:
   [delete] Deleting directory /.../nutch/build

clean-default-lib:

clean-test-lib:

clean-lib:

clean-dist:

clean-eclipse:

ivy-probe-antlib:

ivy-download:
  [taskdef] Could not load definitions from resource org/apache/rat/anttasks/antlib.xml. It could not be found.

我不知道程序應該在哪里找到資源org/apache/rat/anttasks/antlib.xml因為沒有org文件夾。 你能幫助我嗎?

可以忽略關於缺少“rat/anttasks/antlib.xml”的警告。 如果通過執行ant rat-sources安裝Apache Rat jar,它將消失。 此任務僅用於源代碼維護(它驗證 LICENSE 標頭是否附加到所有源文件)。

目標ant eclipse執行一次並編寫 Eclipse 項目文件( .project.classpath ),允許將 Nutch 源代碼樹作為 Eclipse 項目導入。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM