Re: compiling with 2.10

2013-11-05 Thread Ngu, Bob
Thanks for clarifying, I see what you are saying. I am able to cross-publish all the listed Scala versions to my local Maven repo with “sbt +publish" crossScalaVersions := Seq("2.8.0","2.8.2", "2.9.1", "2.9.2", "2.10.1"), Bob On 11/5/13, 11:05 AM, "Joe Stein" wrote: >When we are talking ab

Re: compiling with 2.10

2013-11-05 Thread Joe Stein
When we are talking about the setting in Build.scala there are two uses for it and we need to think of them separately. The first is building and running the broker. The default for this is 2.8.0 The second is for building your client library (for producers/consumers) to work with the Kafka brok

Re: compiling with 2.10

2013-11-05 Thread Kane Kane
Attached patch to upgrade sbt-assembly. On Tue, Nov 5, 2013 at 10:59 AM, Ngu, Bob wrote: > Just to clarify, I also already have it working with 2.10.2 via this > setting change in Build.scala > scalaVersion := “2.10.2" > > My question is if this should be the default setting going on forth. A

Re: compiling with 2.10

2013-11-05 Thread Ngu, Bob
Just to clarify, I also already have it working with 2.10.2 via this setting change in Build.scala scalaVersion := “2.10.2" My question is if this should be the default setting going on forth. Also since I am using Maven and not sbt, I am not sure that the cross publishing works as expected, d

Re: compiling with 2.10

2013-11-05 Thread Jun Rao
Kane, Would you mind attaching a patch to https://issues.apache.org/jira/browse/KAFKA-1116 to enable cross compilation to scala 2.10.2? Thanks, Jun On Mon, Nov 4, 2013 at 9:53 PM, Kane Kane wrote: > I'm using it with scala 2.10.2. > > On Mon, Nov 4, 2013 at 9:41 PM, Jun Rao wrote: > > Do yo

Re: compiling with 2.10

2013-11-04 Thread Kane Kane
I'm using it with scala 2.10.2. On Mon, Nov 4, 2013 at 9:41 PM, Jun Rao wrote: > Do you think our cross compilation can be extended to scala 2.10.2? > > Thanks, > > Jun > > > On Mon, Nov 4, 2013 at 9:48 AM, Ngu, Bob wrote: > >> Thanks, Kane I had the same problem with assembly-package-dependency

Re: compiling with 2.10

2013-11-04 Thread Jun Rao
Do you think our cross compilation can be extended to scala 2.10.2? Thanks, Jun On Mon, Nov 4, 2013 at 9:48 AM, Ngu, Bob wrote: > Thanks, Kane I had the same problem with assembly-package-dependency and > this fixes it. > > Jun, will scalaVersion be changed to 2.10.x? Currently it¹s set to 2.

Re: compiling with 2.10

2013-11-04 Thread Ngu, Bob
Thanks, Kane I had the same problem with assembly-package-dependency and this fixes it. Jun, will scalaVersion be changed to 2.10.x? Currently it¹s set to 2.8.0 and crossScalaVersions includes 2.10.1 but I believe that¹s to publish to local ivy repo but I publish to local maven repo and I need to

Re: compiling with 2.10

2013-11-01 Thread Kane Kane
Yes, I've had problem, which resolved with updating sbt-assembly. Will open a ticket and provide a patch. On Fri, Nov 1, 2013 at 8:43 PM, Jun Rao wrote: > Does the problem exist with trunk? If so, could you open a jira and submit > a patch? > > Thanks, > > Jun > > > On Fri, Nov 1, 2013 at 4:14 PM

Re: compiling with 2.10

2013-11-01 Thread Jun Rao
Does the problem exist with trunk? If so, could you open a jira and submit a patch? Thanks, Jun On Fri, Nov 1, 2013 at 4:14 PM, Kane Kane wrote: > I think > addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.8.8") > > Should be updated to 0.9.0 at least to successfully compile. I've had > an i