kafka 源码 导入eclipse中

来源:互联网 发布:java 泛型 t 编辑:程序博客网 时间:2024/05/16 23:55

转载自: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 allhuffs and puffs, I gave up getting it loaded in Intellij IDEA. However, Icould 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 theend:addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.2.0")- Ran: "./sbt clean package eclipse"- Imported the project using "File" -> "Import" -> "Existing projects intoworkspace"[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/sbteclipseThanks,Tejas Patilhttp://www.linkedin.com/in/tejaspatil1

1 0