You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by Derek Chen-Becker <de...@precog.com> on 2012/07/02 17:34:49 UTC

Patch for SBT 0.11.3 / Scala 2.8.0,2.9.1,2.9.2 cross build

I've put together an preliminary patch (attached) against kafka to build using SBT 0.11.3 with a cross build against 2.8.0/2.9.x. This is based on the existing SBT 0.7 build and I think I translated everything, but it's easy to fix anything I've missed/mis-translated. A few sticking points for discussion:

1. The run-rat task assumes a lib in lib_managed, but that's not around in SBT 0.11.3. Options would be to modify the build to auto-download the lib and then have the script point to ~/.ivy2/... or to just bundle the lib under lib/. In this patch I assume the latter, but it would be easy to modify either way

2. The release zip task still doesn't work (time constraints on my end), but one the next few weeks I should be able to make some progress on it. Due to the cross-build/SBT update I'll have to modify the start/stop scripts a little to point to the correct JARs, but this shouldn't be onerous.

Thanks,

Derek



--
Derek Chen-Becker
Lead Infrastructure Engineer
derek@precog.com
303-752-1700


Re: Patch for SBT 0.11.3 / Scala 2.8.0,2.9.1,2.9.2 cross build

Posted by Jun Rao <ju...@gmail.com>.
Derek,

Thanks for your help. Could you attach the patch to this jira:
https://issues.apache.org/jira/browse/KAFKA-139?

Jun

On Mon, Jul 2, 2012 at 8:34 AM, Derek Chen-Becker <de...@precog.com> wrote:

> I've put together an preliminary patch (attached) against kafka to build
> using SBT 0.11.3 with a cross build against 2.8.0/2.9.x. This is based on
> the existing SBT 0.7 build and I think I translated everything, but it's
> easy to fix anything I've missed/mis-translated. A few sticking points for
> discussion:
>
> 1. The run-rat task assumes a lib in lib_managed, but that's not around in
> SBT 0.11.3. Options would be to modify the build to auto-download the lib
> and then have the script point to ~/.ivy2/... or to just bundle the lib
> under lib/. In this patch I assume the latter, but it would be easy to
> modify either way
>
> 2. The release zip task still doesn't work (time constraints on my end),
> but one the next few weeks I should be able to make some progress on it.
> Due to the cross-build/SBT update I'll have to modify the start/stop
> scripts a little to point to the correct JARs, but this shouldn't be
> onerous.
>
> Thanks,
>
> Derek
>
>
>
> --
> *Derek Chen-Becker*
> *Lead Infrastructure Engineer*
> derek@precog.com
> 303-752-1700
>
>
>