Yeah, the version on Precise is really old, 1.0, and on Trusty is 1.4.
Using the PPA version worked fine for me on Trusty.

-Ewen

On Thu, Oct 23, 2014, at 10:02 AM, Joe Stein wrote:
> hmmm.
> 
> I just launched a bootstrap clean room (per release docs). Installed
> latest
> gradle
> 
> sudo add-apt-repository ppa:cwchien/gradle
> sudo apt-get update
> sudo apt-get install gradle
> 
> wget
> https://people.apache.org/~joestein/kafka-0.8.2-beta-candidate1/kafka-0.8.2-beta-src.tgz
> tar -xvf kafka-0.8.2-beta-src.tgz
> cd kafka-0.8.2-beta-src/
> gradle
> 
> ...
> 
> Building project 'core' with Scala version 2.10.1
> :downloadWrapper
> 
> BUILD SUCCESSFUL
> 
> Total time: 22.066 secs
> 
> so it works, I use the source upload to build the binaries. odd.
> 
> *****
> 
> Maybe the gradle version you have is too old or something? I am using
> 
> vagrant@precise64:~/kafka-0.8.2-beta-src$ gradle -version
> 
> ------------------------------------------------------------
> Gradle 2.1
> ------------------------------------------------------------
> 
> Build time:   2014-09-08 10:40:39 UTC
> Build number: none
> Revision:     e6cf70745ac11fa943e19294d19a2c527a669a53
> 
> Groovy:       2.3.6
> Ant:          Apache Ant(TM) version 1.9.3 compiled on December 23 2013
> JVM:          1.6.0_45 (Sun Microsystems Inc. 20.45-b01)
> OS:           Linux 3.2.0-23-generic amd64
> 
> 
> 
> /*******************************************
>  Joe Stein
>  Founder, Principal Consultant
>  Big Data Open Source Security LLC
>  http://www.stealth.ly
>  Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop>
> ********************************************/
> 
> On Thu, Oct 23, 2014 at 12:49 PM, Neha Narkhede <neha.narkh...@gmail.com>
> wrote:
> 
> > Joe,
> >
> > I downloaded the source distro and ran into this error. Followed the steps
> > listed on the release process wiki to validate the release.
> >
> > vagrant@precise64:~/kafka-0.8.2-beta-src$ gradle
> >
> > FAILURE: Build failed with an exception.
> >
> > * Where:
> > Script '/home/vagrant/kafka-0.8.2-beta-src/scala.gradle' line: 2
> >
> > * What went wrong:
> > A problem occurred evaluating script.
> > Cause: Could not find property 'ext' on settings 'kafka-0.8.2-beta-src'.
> >
> > * Try:
> > Run with --stacktrace option to get the stack trace. Run with --info or
> > --debug option to get more log output.
> >
> > BUILD FAILED
> >
> > Total time: 1.565 secs
> > vagrant@precise64:~/kafka-0.8.2-beta-src$ cat scala.gradle
> > if (!hasProperty('scalaVersion')) {
> >   ext.scalaVersion = '2.10.1'
> > }
> > ext.defaultScalaVersion = '2.10.1'
> > if (scalaVersion.startsWith('2.10')) {
> >     ext.baseScalaVersion = '2.10'
> > } else if (scalaVersion.startsWith('2.11')) {
> >     ext.baseScalaVersion = '2.11'
> > } else {
> >     ext.baseScalaVersion = scalaVersion
> > }
> >
> > On Tue, Oct 21, 2014 at 1:58 PM, Joe Stein <joe.st...@stealth.ly> wrote:
> >
> > > This is the first candidate for release of Apache Kafka 0.8.2-beta
> > >
> > > Release Notes for the 0.8.2-beta release
> > >
> > >
> > https://people.apache.org/~joestein/kafka-0.8.2-beta-candidate1/RELEASE_NOTES.html
> > >
> > > *** Please download, test and vote by Friday, October 24th, 2pm PT
> > >
> > > Kafka's KEYS file containing PGP keys we use to sign the release:
> > > https://svn.apache.org/repos/asf/kafka/KEYS in addition to the md5, sha1
> > > and sha2 (SHA256) checksum.
> > >
> > > * Release artifacts to be voted upon (source and binary):
> > > https://people.apache.org/~joestein/kafka-0.8.2-beta-candidate1/
> > >
> > > * Maven artifacts to be voted upon prior to release:
> > > https://repository.apache.org/content/groups/staging/
> > >
> > > * scala-doc
> > >
> > https://people.apache.org/~joestein/kafka-0.8.2-beta-candidate1/scala-doc/
> > >
> > > * java-doc
> > >
> > https://people.apache.org/~joestein/kafka-0.8.2-beta-candidate1/java-doc/
> > >
> > > * The tag to be voted upon (off the 0.8.2 branch) is the 0.8.2-beta tag
> > >
> > >
> > https://git-wip-us.apache.org/repos/asf?p=kafka.git;a=tag;h=2b2c3da2c52bc62a89d60f85125d3723c8410fa0
> > >
> > > /*******************************************
> > >  Joe Stein
> > >  Founder, Principal Consultant
> > >  Big Data Open Source Security LLC
> > >  http://www.stealth.ly
> > >  Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop>
> > > ********************************************/
> > >
> >

Reply via email to