From user-return-35479-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Mon Jul 22 20:07:18 2013 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 A926210CF1 for ; Mon, 22 Jul 2013 20:07:18 +0000 (UTC) Received: (qmail 58302 invoked by uid 500); 22 Jul 2013 20:07:15 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 58196 invoked by uid 500); 22 Jul 2013 20:07:15 -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 58181 invoked by uid 99); 22 Jul 2013 20:07:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jul 2013 20:07:15 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of a.e.cobley@dundee.ac.uk designates 216.32.181.181 as permitted sender) Received: from [216.32.181.181] (HELO ch1outboundpool.messaging.microsoft.com) (216.32.181.181) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jul 2013 20:07:10 +0000 Received: from mail126-ch1-R.bigfish.com (10.43.68.237) by CH1EHSOBE007.bigfish.com (10.43.70.57) with Microsoft SMTP Server id 14.1.225.22; Mon, 22 Jul 2013 20:06:47 +0000 Received: from mail126-ch1 (localhost [127.0.0.1]) by mail126-ch1-R.bigfish.com (Postfix) with ESMTP id E7ABAC01B2 for ; Mon, 22 Jul 2013 20:06:46 +0000 (UTC) X-Forefront-Antispam-Report: CIP:157.56.249.53;KIP:(null);UIP:(null);IPV:NLI;H:AMSPRD0411HT001.eurprd04.prod.outlook.com;RD:none;EFVD:NLI X-SpamScore: -1 X-BigFish: PS-1(zz98dIc85dh4015Izz1f42h208ch1ee6h1de0h1d18h1fdah2073h1202h1e76h1d1ah1d2ah1fc6hz31iz1de098h18c673h1de097h1de096h8275bh8275dhz2fh2a8h668h839hd25he5bhf0ah1288h12a5h12bdh137ah1441h1504h1537h153bh162dh1631h1758h18e1h1946h19b5h1ad9h1b0ah1bceh1d0ch1d2eh1d3fh1dfeh1dffh1e1dh1155h) Received-SPF: pass (mail126-ch1: 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=AMSPRD0411HT001.eurprd04.prod.outlook.com ;.outlook.com ; Received: from mail126-ch1 (localhost.localdomain [127.0.0.1]) by mail126-ch1 (MessageSwitch) id 1374523605360865_26937; Mon, 22 Jul 2013 20:06:45 +0000 (UTC) Received: from CH1EHSMHS040.bigfish.com (snatpool3.int.messaging.microsoft.com [10.43.68.228]) by mail126-ch1.bigfish.com (Postfix) with ESMTP id 52CFC100048 for ; Mon, 22 Jul 2013 20:06:45 +0000 (UTC) Received: from AMSPRD0411HT001.eurprd04.prod.outlook.com (157.56.249.53) by CH1EHSMHS040.bigfish.com (10.43.69.249) with Microsoft SMTP Server (TLS) id 14.16.227.3; Mon, 22 Jul 2013 20:06:45 +0000 Received: from AMSPRD0411MB437.eurprd04.prod.outlook.com ([169.254.4.178]) by AMSPRD0411HT001.eurprd04.prod.outlook.com ([10.255.62.164]) with mapi id 14.16.0329.000; Mon, 22 Jul 2013 20:06:43 +0000 From: Andrew Cobley To: "" Subject: Re: Cassandra 2.0 : Ant build issue Thread-Topic: Cassandra 2.0 : Ant build issue Thread-Index: AQHOhxA3x7nYRNEDIk6cPKBAnGILiZlxH9YA Date: Mon, 22 Jul 2013 20:06:43 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: multipart/alternative; boundary="_000_B4C56EB51B5A4A92835FA36A23BCD847dundeeacuk_" MIME-Version: 1.0 X-OriginatorOrg: dundee.ac.uk X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% X-Virus-Checked: Checked by ClamAV on apache.org --_000_B4C56EB51B5A4A92835FA36A23BCD847dundeeacuk_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 --_000_B4C56EB51B5A4A92835FA36A23BCD847dundeeacuk_ Content-Type: text/html; charset="iso-8859-1" Content-ID: <3CC040420B49D6469956EE178FB0776E@eurprd04.prod.outlook.com> Content-Transfer-Encoding: quoted-printable 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 to= day subject "Cassandra 2 vs Java 1.6 fo= r 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 cassan= dra trunk using ant. I am getting the error as below. I can see a related b= ug that fixed a similar issue for debian (https://issues.apache.org/jira/browse/CASSA= NDRA-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 --_000_B4C56EB51B5A4A92835FA36A23BCD847dundeeacuk_--