kafka build error scala 2.10

2013-12-18 Thread pushkar priyadarshi
While doing dev setup as described in
https://cwiki.apache.org/confluence/display/KAFKA/Developer+Setup

im getting following build errors.

immutable is already defined as class immutable Annotations_2.9+.scala
/KafkaEclipse/core/src/main/scala/kafka/utils line 38 Scala Problem

threadsafe is already defined as class threadsafe Annotations_2.9+.scala
/KafkaEclipse/core/src/main/scala/kafka/utils line 28 Scala Problem

nonthreadsafe is already defined as class nonthreadsafe
Annotations_2.9+.scala /KafkaEclipse/core/src/main/scala/kafka/utils
line 33 Scala
Problem


This error is coming from  a file
Util /kafka/src/main/scala/kafka/utils/Annotations_2.9+.scala

Please note that i had to install scala 2.10 eclipse plugin as Juno had
some problem with 2.9.


Regards,

Pushkar


Re: kafka build error scala 2.10

2013-12-18 Thread Jun Rao
You may have to exclude Annotations.scala.

Thanks,

Jun


On Wed, Dec 18, 2013 at 12:16 AM, pushkar priyadarshi 
priyadarshi.push...@gmail.com wrote:

 While doing dev setup as described in
 https://cwiki.apache.org/confluence/display/KAFKA/Developer+Setup

 im getting following build errors.

 immutable is already defined as class immutable Annotations_2.9+.scala
 /KafkaEclipse/core/src/main/scala/kafka/utils line 38 Scala Problem

 threadsafe is already defined as class threadsafe Annotations_2.9+.scala
 /KafkaEclipse/core/src/main/scala/kafka/utils line 28 Scala Problem

 nonthreadsafe is already defined as class nonthreadsafe
 Annotations_2.9+.scala /KafkaEclipse/core/src/main/scala/kafka/utils
 line 33 Scala
 Problem


 This error is coming from  a file
 Util /kafka/src/main/scala/kafka/utils/Annotations_2.9+.scala

 Please note that i had to install scala 2.10 eclipse plugin as Juno had
 some problem with 2.9.


 Regards,

 Pushkar



Re: kafka build error scala 2.10

2013-12-18 Thread pushkar priyadarshi
i see two files name Annotation_2.8.scala and Annotation_2.9.scala.
Excluding them does not help.Is this what you were referring to?

Regards,
Pushkar


On Wed, Dec 18, 2013 at 9:52 PM, Jun Rao jun...@gmail.com wrote:

 You may have to exclude Annotations.scala.

 Thanks,

 Jun


 On Wed, Dec 18, 2013 at 12:16 AM, pushkar priyadarshi 
 priyadarshi.push...@gmail.com wrote:

  While doing dev setup as described in
  https://cwiki.apache.org/confluence/display/KAFKA/Developer+Setup
 
  im getting following build errors.
 
  immutable is already defined as class immutable Annotations_2.9+.scala
  /KafkaEclipse/core/src/main/scala/kafka/utils line 38 Scala Problem
 
  threadsafe is already defined as class threadsafe Annotations_2.9+.scala
  /KafkaEclipse/core/src/main/scala/kafka/utils line 28 Scala Problem
 
  nonthreadsafe is already defined as class nonthreadsafe
  Annotations_2.9+.scala /KafkaEclipse/core/src/main/scala/kafka/utils
  line 33 Scala
  Problem
 
 
  This error is coming from  a file
  Util /kafka/src/main/scala/kafka/utils/Annotations_2.9+.scala
 
  Please note that i had to install scala 2.10 eclipse plugin as Juno had
  some problem with 2.9.
 
 
  Regards,
 
  Pushkar