Return-Path: Delivered-To: apmail-cassandra-dev-archive@www.apache.org Received: (qmail 54550 invoked from network); 20 Sep 2010 06:25:53 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Sep 2010 06:25:53 -0000 Received: (qmail 39693 invoked by uid 500); 20 Sep 2010 06:25:52 -0000 Delivered-To: apmail-cassandra-dev-archive@cassandra.apache.org Received: (qmail 39533 invoked by uid 500); 20 Sep 2010 06:25:50 -0000 Mailing-List: contact dev-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list dev@cassandra.apache.org Received: (qmail 39525 invoked by uid 99); 20 Sep 2010 06:25:49 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 06:25:49 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jbellis@gmail.com designates 209.85.212.44 as permitted sender) Received: from [209.85.212.44] (HELO mail-vw0-f44.google.com) (209.85.212.44) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 06:25:28 +0000 Received: by vws10 with SMTP id 10so3440117vws.31 for ; Sun, 19 Sep 2010 23:25:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=MdQZRjhdpPIoAIOBnd/Upj/m6fAXjo0oyI9e8ffg55Y=; b=RlIoDapXjkjIW9STZik3A04jkBzlLn/n+JL51gYi5mOaM5FJoCA+IxWoJAu/hPxZen K63vuQNwWd4WESSeXAz+u+AIYTWOpXv2d/DNMqzC1xFDu4/CQ97w7u9Z1EDtadUIJ9o9 bKibOYnhwsiLNcIz2Mj0N9KN2iac21hPcrbZg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=k5hXaJDx1mrHYRZ0IMHsEoCQLbqukcnmUVnMBe21Q1fSC4dkPyQd+4YjRa8Kv2Wfy7 /MuZq3YBzSkwGhgQccNMgP17kwwOGfaMiSLtX21JZ85FySyx4PXB4wuK0Cn2csKtiRam uSrU5dzmw7hrsNEJXUF2hJ0ln7UJRnS2/QBsQ= MIME-Version: 1.0 Received: by 10.220.126.150 with SMTP id c22mr4658504vcs.92.1284963907290; Sun, 19 Sep 2010 23:25:07 -0700 (PDT) Received: by 10.220.178.5 with HTTP; Sun, 19 Sep 2010 23:25:07 -0700 (PDT) In-Reply-To: <035f01cb588b$f230e460$0a1aa8c0@ZQ> References: <035f01cb588b$f230e460$0a1aa8c0@ZQ> Date: Mon, 20 Sep 2010 01:25:07 -0500 Message-ID: Subject: Re: how to gen java interface source code in cassandra0.6.5? From: Jonathan Ellis To: dev Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org thrift generated code changes frequently. check out the same revision of the thrift compiler that the jar in lib/ uses. On Mon, Sep 20, 2010 at 1:20 AM, summer.xie wrote: > Hi, > > I run "thrift -o thrift/ --gen java cassandra.thrift" =A0to generate the = java > code. =A0But I can't not complie the source code. > > Thrift version is 0.4.0-dev, =A0My generated code are different from the = code > from svn. =A0Why? > > =A0 =A0 =A0 =A0 How to generate the interface source code =A0to > "apache-cassandra-0.6.5-src/interface/thrift/gen-java" > > > > --=20 Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com