您的位置:首页 > 编程语言 > Java开发

kafka 源码 导入eclipse中

2014-05-07 06:38 387 查看
转载自:http://mail-archives.apache.org/mod_mbox/kafka-users/201307.mbox/%3CCAFKhtFxGO1ZG-6kD0TZmmKaQ-J2J-_H2vB0ZuXoUn37CKGr0xg@mail.gmail.com%3E

Hi,

[0] is an old wiki entry for getting Scala setup for development. After all
huffs and puffs, I gave up getting it loaded in Intellij IDEA. However, I
could get it setup with Eclipse IDE.

Here is what I did:
- Downloaded the Scala IDE for Eclipse from [1]
- Checked out the codebase from git as per [2]
- As per [3], added this line in ${KAFKA_HOME}/project/plugins.sbt at the
end:
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.2.0")

- Ran: "./sbt clean package eclipse"
- Imported the project using "File" -> "Import" -> "Existing projects into
workspace"

[0] : https://cwiki.apache.org/KAFKA/developer-setup.html [1] : http://scala-ide.org/ [2] : http://kafka.apache.org/code.html [3] : https://github.com/typesafehub/sbteclipse 
Thanks,
Tejas Patil http://www.linkedin.com/in/tejaspatil1[/code] 
                                            
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: