Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 88A3D10F72 for ; Mon, 22 Jul 2013 20:26:14 +0000 (UTC) Received: (qmail 3480 invoked by uid 500); 22 Jul 2013 20:26:12 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 3444 invoked by uid 500); 22 Jul 2013 20:26:12 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 3436 invoked by uid 99); 22 Jul 2013 20:26:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jul 2013 20:26:12 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of a.e.cobley@dundee.ac.uk designates 65.55.88.15 as permitted sender) Received: from [65.55.88.15] (HELO tx2outboundpool.messaging.microsoft.com) (65.55.88.15) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jul 2013 20:26:05 +0000 Received: from mail43-tx2-R.bigfish.com (10.9.14.249) by TX2EHSOBE007.bigfish.com (10.9.40.27) with Microsoft SMTP Server id 14.1.225.22; Mon, 22 Jul 2013 20:25:44 +0000 Received: from mail43-tx2 (localhost [127.0.0.1]) by mail43-tx2-R.bigfish.com (Postfix) with ESMTP id 7B06E4A02F2 for ; Mon, 22 Jul 2013 20:25:44 +0000 (UTC) X-Forefront-Antispam-Report: CIP:157.56.249.53;KIP:(null);UIP:(null);IPV:NLI;H:AMSPRD0411HT003.eurprd04.prod.outlook.com;RD:none;EFVD:NLI X-SpamScore: -3 X-BigFish: PS-3(zz98dI9371Ic85dh4015Izz1f42h208ch1ee6h1de0h1d18h1fdah2073h1202h1e76h1d1ah1d2ah1fc6hzz1de098h18c673h1de097h1de096h8275dhz2fh2a8h668h839hd25hf0ah1288h12a5h12bdh137ah1441h1504h1537h153bh15d0h162dh1631h1758h18e1h1946h19b5h1ad9h1b0ah1bceh1d07h1d0ch1d2eh1d3fh1de9h1dfeh1dffh1e1dh1155h) Received-SPF: pass (mail43-tx2: domain of dundee.ac.uk designates 157.56.249.53 as permitted sender) client-ip=157.56.249.53; envelope-from=a.e.cobley@dundee.ac.uk; helo=AMSPRD0411HT003.eurprd04.prod.outlook.com ;.outlook.com ; Received: from mail43-tx2 (localhost.localdomain [127.0.0.1]) by mail43-tx2 (MessageSwitch) id 1374524741195013_6747; Mon, 22 Jul 2013 20:25:41 +0000 (UTC) Received: from TX2EHSMHS035.bigfish.com (unknown [10.9.14.237]) by mail43-tx2.bigfish.com (Postfix) with ESMTP id 2B6BB2A0067 for ; Mon, 22 Jul 2013 20:25:41 +0000 (UTC) Received: from AMSPRD0411HT003.eurprd04.prod.outlook.com (157.56.249.53) by TX2EHSMHS035.bigfish.com (10.9.99.135) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 22 Jul 2013 20:25:41 +0000 Received: from AMSPRD0411MB437.eurprd04.prod.outlook.com ([169.254.4.178]) by AMSPRD0411HT003.eurprd04.prod.outlook.com ([10.255.62.166]) with mapi id 14.16.0329.000; Mon, 22 Jul 2013 20:25:39 +0000 From: Andrew Cobley To: "user@cassandra.apache.org" Subject: RE: Cassandra 2.0 : Ant build issue Thread-Topic: Cassandra 2.0 : Ant build issue Thread-Index: AQHOhxA3x7nYRNEDIk6cPKBAnGILiZlxH9YAgAAAxgCAAALPl4AAAHKAgAAAx9M= Date: Mon, 22 Jul 2013 20:25:39 +0000 Message-ID: <820ACB45DF4D1A4D84DFD9388D666CAF575831C9@AMSPRD0411MB437.eurprd04.prod.outlook.com> References: <820ACB45DF4D1A4D84DFD9388D666CAF575830B7@AMSPRD0411MB437.eurprd04.prod.outlook.com>, In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: multipart/alternative; boundary="_000_820ACB45DF4D1A4D84DFD9388D666CAF575831C9AMSPRD0411MB437_" MIME-Version: 1.0 X-OriginatorOrg: dundee.ac.uk X-Virus-Checked: Checked by ClamAV on apache.org --_000_820ACB45DF4D1A4D84DFD9388D666CAF575831C9AMSPRD0411MB437_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hmm, I'm not sure then, I built 2.0 beta 1 earlier today with 1.7.0_25. One las= t thing, what have you got JAVA_HOME set to ? Andy ________________________________ From: soumava@utexas.edu [soumava@utexas.edu] on behalf of Soumava Ghosh [s= oumava@cs.utexas.edu] Sent: 22 July 2013 21:21 To: user Subject: Re: Cassandra 2.0 : Ant build issue There you go: soumava$ javac -version javac 1.7.0_25 Thanks, Soumava On Mon, Jul 22, 2013 at 1:19 PM, Andrew Cobley > wrote: What version do you get with javac -version ? Andy ________________________________ From: soumava@utexas.edu [soumava@utexas.edu] on behalf of Soumava Ghosh [soumava@cs.utexas.edu<= mailto:soumava@cs.utexas.edu>] Sent: 22 July 2013 21:09 To: user@cassandra.apache.org Subject: Re: Cassandra 2.0 : Ant build issue I'm using 1.7.0_21 (not 25 though).. soumava$ java -version java version "1.7.0_21" Java(TM) SE Runtime Environment (build 1.7.0_21-b12) Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode) Thanks, Soumava On Mon, Jul 22, 2013 at 1:06 PM, Andrew Cobley > wrote: Are you using JDK 1.6. If so you'll need to get the 1.7 jdk (Java SE 7u25)= from oracle to do the compile. See my message thread earlier today subjec= t "Cassandra 2 vs Java 1.6 for a few more details. Andy On 22 Jul 2013, at 20:16, Soumava Ghosh > wrote: Hi, I'm working on a Mac OS 10.8 and trying to build the cassandra trunk using = ant. I am getting the error as below. I can see a related bug that fixed a = similar issue for debian (https://issues.apache.org/jira/browse/CASSANDRA-5= 688), but I can still repro this on Mac. Thanks, Soumava soumava$ git describe cassandra-2.0.0-beta1-100-ge0eacd2 ... soumava$ ant ... gen-cql3-grammar: [echo] Building Grammar /Users/soumava/Documents/src/git-cassandra/src= /java/org/apache/cassandra/cql3/Cql.g ... build-project: [echo] apache-cassandra: /Users/soumava/Documents/src/git-cassandra/bu= ild.xml [javac] Compiling 17 source files to /Users/soumava/Documents/src/git-c= assandra/build/classes/thrift [javac] javac: invalid target release: 1.7 [javac] Usage: javac [javac] use -help for a list of possible options BUILD FAILED /Users/soumava/Documents/src/git-cassandra/build.xml:636: Compile failed; s= ee the compiler error output for details. Total time: 7 seconds The University of Dundee is a registered Scottish Charity, No: SC015096 The University of Dundee is a registered Scottish Charity, No: SC015096 The University of Dundee is a registered Scottish Charity, No: SC015096 --_000_820ACB45DF4D1A4D84DFD9388D666CAF575831C9AMSPRD0411MB437_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hmm,

I'm not sure then, I built 2.0 beta 1 earlier today with 1.7.0_25.  On= e last thing, what have you got JAVA_HOME set to ?

Andy


From: soumava@utexas.edu [soumava@utexas.ed= u] on behalf of Soumava Ghosh [soumava@cs.utexas.edu]
Sent: 22 July 2013 21:21
To: user
Subject: Re: Cassandra 2.0 : Ant build issue

There you go:

soumava$ javac -version
javac 1.7.0_25

Thanks,
Soumava



On Mon, Jul 22, 2013 at 1:19 PM, Andrew Cobley <= span dir=3D"ltr"> <a.e.cobley= @dundee.ac.uk> wrote:
What versi= on do you get with

javac -version

?
Andy


Fro= m: soumava@utexas.edu [soumava@utexas.edu] on behalf of Soumava Ghosh [soumava@cs.utexas.edu]
Sent: 22 July 2013 21:09
To: u= ser@cassandra.apache.org
Subject: Re: Cassandra 2.0 : Ant build issue

I'm using 1.7.0_21 (not 25 though)..

soumava$ java -version
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b12)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)

Thanks,
Soumava


On Mon, Jul 22, 2013 at 1:06 PM, Andrew Cobley <= span dir=3D"ltr"> <a.e.cobley= @dundee.ac.uk> wrote:
Are you using JDK 1.6.  If so you'= ll need to get the 1.7 jdk (Java SE 7u25) from oracle to do the compile. &n= bsp;See my message thread earlier today subject "Cassandra 2 vs Java 1.6 for a few more details.

Andy


On 22 Jul 2013, at 20:16, Soumava Ghosh <soumava@cs.utexas.edu> wrote:

Hi,

I'm working on a Mac OS 10.8 and trying to build the cassandra trunk u= sing ant. I am getting the error as below. I can see a related bug that fix= ed a similar issue for debian (https://issues.apache.org/jira/brows= e/CASSANDRA-5688), but I can still repro this on Mac.

Thanks,
Soumava

soumava$ git describe
cassandra-2.0.0-beta1-100-ge0eacd2
...
soumava$ ant
...
gen-cql3-grammar:
     [echo] Building Grammar /Users/soumava/Documents/s= rc/git-cassandra/src/java/org/apache/cassandra/cql3/Cql.g  ...

build-project:
     [echo] apache-cassandra: /Users/soumava/Documents/= src/git-cassandra/build.xml
    [javac] Compiling 17 source files to /Users/soumava/Docu= ments/src/git-cassandra/build/classes/thrift
    [javac] javac: invalid target release: 1.7
    [javac] Usage: javac <options> <source files>= ;
    [javac] use -help for a list of possible options

BUILD FAILED
/Users/soumava/Documents/src/git-cassandra/build.xml:636: Compile fail= ed; see the compiler error output for details.

Total time: 7 seconds



The University of Dundee is a registered Sco= ttish Charity, No: SC015096


The University of Dundee is a registered Sco= ttish Charity, No: SC015096


The University of Dundee is a registered Sco= ttish Charity, No: SC015096 --_000_820ACB45DF4D1A4D84DFD9388D666CAF575831C9AMSPRD0411MB437_--