These are my rough notes on building 0.8.1 building 0.8.1
https://cwiki.apache.org/confluence/display/KAFKA/Developer+Setup git clone https://github.com/apache/kafka.git cd kafka git checkout --track -b 0.8.1 origin/0.8.1 vim gradle.properties change to: scalaVersion=2.10.1 ./gradlew idea Open IntelliJ Open -> navigate to kafka dir, click open Delete Annotations_2.8.scala Build -> Rebuild Project ________________________________________ ➺ ./gradlew jar On 9/4/14, 8:10 AM, "Jun Rao" <jun...@gmail.com> wrote: >0.7.2 is quite old. The most recent 0.8.1.1 release has better ide support >through gradle. > >Thanks, > >Jun > > >On Tue, Sep 2, 2014 at 8:53 AM, Hemanth Yamijala <yhema...@gmail.com> >wrote: > >> To give some more details: >> >> * I used the src tarball of Kafka 0.7.2. >> * Ran sbt idea. This generated a bunch of *.iml files under various >>folders >> of Kafka. >> * I tried to open the project by pointing to the Kafka project >>directory. >> This opened an "Import Project from SBT project" dialog, and when I >> selected OK there, it came up with this error: >> >> [info] Building project Kafka 0.7.2 against Scala 2.9.2 >> [info] using KafkaProject with sbt 0.7.5 and Scala 2.7.7 >> java.io.FileNotFoundException: >> >> >>./private/var/folders/mt/51srrjc15wl3n829qkgnh2dm0000gp/T/sbt-commands791 >>7733856439007741.lst >> (No such file or directory) >> at java.io.FileInputStream.open(Native Method) >> at java.io.FileInputStream.<init>(FileInputStream.java:146) >> at xsbt.OpenResource$$anonfun$fileReader$1.apply(OpenResource.scala:83) >> at xsbt.OpenResource$$anonfun$fileReader$1.apply(OpenResource.scala:83) >> at xsbt.OpenResource$$anon$2.openImpl(OpenResource.scala:72) >> at xsbt.OpenFile$class.open(OpenResource.scala:46) >> at xsbt.OpenResource$$anon$2.open(OpenResource.scala:70) >> at xsbt.OpenResource$$anon$2.open(OpenResource.scala:70) >> at xsbt.OpenResource.apply(OpenResource.scala:24) >> at xsbt.FileUtilities$.readLines(FileUtilities.scala:389) >> at xsbt.FileUtilities$.readLines(FileUtilities.scala:386) >> at sbt.xMain.readLines(Main.scala:367) >> at sbt.xMain.process$1(Main.scala:227) >> at sbt.xMain.processArguments(Main.scala:266) >> at sbt.xMain.startProject(Main.scala:107) >> at sbt.xMain.run(Main.scala:84) >> at sbt.xMain.run0$1(Main.scala:35) >> at sbt.xMain.run(Main.scala:42) >> at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109) >> at xsbt.boot.Launch$.withContextLoader(Launch.scala:129) >> at xsbt.boot.Launch$.run(Launch.scala:109) >> at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:36) >> at xsbt.boot.Launch$.launch(Launch.scala:117) >> at xsbt.boot.Launch$.apply(Launch.scala:19) >> at xsbt.boot.Boot$.runImpl(Boot.scala:44) >> at xsbt.boot.Boot$.main(Boot.scala:20) >> at xsbt.boot.Boot.main(Boot.scala) >> [error] Error reading commands from file >> >> >>/Users/yhemanth/software/kafka-0.7.2-incubating-src/./private/var/folders >>/mt/51srrjc15wl3n829qkgnh2dm0000gp/T/sbt-commands7917733856439007741.lst: >> java.io.FileNotFoundException: >> >> >>./private/var/folders/mt/51srrjc15wl3n829qkgnh2dm0000gp/T/sbt-commands791 >>7733856439007741.lst >> (No such file or directory) >> [info] >> [info] Total session time: 1 s, completed 2 Sep, 2014 9:19:20 PM >> [error] Error during build. >> >> >> Consult IDE log for more details (Help | Show Log) >> === >> There was a note on setting the Scala version to 2.9.2 which I did, but >>it >> didn't seem to improve. >> >> Thanks >> Hemanth >> >> >> On Tue, Sep 2, 2014 at 5:50 PM, Hemanth Yamijala <yhema...@gmail.com> >> wrote: >> >> > Hi, >> > >> > I am trying to setup Kafka 0.7.2 project in Intellij Idea 13 CE. The >>wiki >> > instructions for developers seems to be pointing to trunk. Since the >> place >> > I'm working for is using the older version, I was thinking of setting >> that >> > version up in Intellij. >> > >> > Are there instructions on how to do that ? >> > >> > Thanks >> > Hemanth >> > >>
smime.p7s
Description: S/MIME cryptographic signature