Return-Path: Delivered-To: apmail-cassandra-dev-archive@www.apache.org Received: (qmail 25753 invoked from network); 17 Apr 2010 21:32:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Apr 2010 21:32:04 -0000 Received: (qmail 69508 invoked by uid 500); 17 Apr 2010 21:32:03 -0000 Delivered-To: apmail-cassandra-dev-archive@cassandra.apache.org Received: (qmail 69487 invoked by uid 500); 17 Apr 2010 21:32:03 -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 69479 invoked by uid 99); 17 Apr 2010 21:32:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Apr 2010 21:32:03 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of schildmeijer@gmail.com designates 209.85.219.225 as permitted sender) Received: from [209.85.219.225] (HELO mail-ew0-f225.google.com) (209.85.219.225) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Apr 2010 21:31:55 +0000 Received: by ewy25 with SMTP id 25so1256251ewy.27 for ; Sat, 17 Apr 2010 14:31:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:mime-version :content-type:subject:date:in-reply-to:to:references:message-id :x-mailer; bh=W2h2u6Uy0MQi8oWm6lGWw8SeR7JbeloTpKAucoDWqJg=; b=BH1DA/RLEeiwtVpAEdjVJuaQq/GvyKHdMx19D5or8M6E07UjKcBdg+zLxh6KKlPxLS MEka+K3C2OY7tDg9X/1JzVUtHa8t5zmpeI8Grlf2i4RmFHsd4+8S4lBjFGzAo2IppUs5 G002VWEFQzMEIJnnOZ0uiexCAn+4mqRzbloqc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; b=aTvqOaP4w+Ug7YVvi9XMlgpZ4+xuMRNXX7rcDPgqEFGWZvY9t+ZoQRSPPThZoDGPra PcN8FTDc44QMlILrkUOeP1ISEjVA8QoHEdxNoHCu4TgiEPmwzaDHFkmu7SuSyh4gFSSm gOMb1ZxYZGAf+gdqXJQKs0jg5W2vsHXZZ7XWM= Received: by 10.213.50.84 with SMTP id y20mr1298236ebf.74.1271539894936; Sat, 17 Apr 2010 14:31:34 -0700 (PDT) Received: from [192.168.1.36] (90-229-249-227-no34.tbcn.telia.com [90.229.249.227]) by mx.google.com with ESMTPS id 16sm2673820ewy.15.2010.04.17.14.31.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 17 Apr 2010 14:31:34 -0700 (PDT) From: Roger Schildmeijer Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: multipart/alternative; boundary=Apple-Mail-1--972567224 Subject: Re: need help regarding Cassandra Setup in eclipse Date: Sat, 17 Apr 2010 23:31:32 +0200 In-Reply-To: To: dev@cassandra.apache.org References: <87zl13zc1e.fsf@lifelogs.com> Message-Id: X-Mailer: Apple Mail (2.1078) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-1--972567224 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 17 apr 2010, at 23.27em, bilal ahmed wrote: > Thanks for your immediate help...after solving that issue an other = problem > comes into "*org.apache.cassandra.avro*" package. to me i think all = files > have't been commited coz when i update this package i get only 5 = files > which are mentioned below and u know these files are using other = classes > which have't been commited which is why i m getting compile > time errors in this package. I think you might have missed one step from the = RunningCassandraInEclipse wiki page: "The final step is to add the generated Java code to the Eclipse build = path. Expand and select interface/thrift/gen-java, right click -> "Build = Path" -> "Use as Source Folder". Do the same for interface/avro/gen-java = and src/gen-java."=20 >=20 > /cassandra/src/java/org/apache/cassandra/avro/AvroRecordFactory.java > /cassandra/src/java/org/apache/cassandra/avro/AvroValidation.java > /cassandra/src/java/org/apache/cassandra/avro/CassandraDaemon.java > /cassandra/src/java/org/apache/cassandra/avro/CassandraServer.java > = /cassandra/src/java/org/apache/cassandra/avro/KeyspaceNotDefinedException.= java >=20 > BR > jp // Roger Schildmeijer >=20 >=20 >=20 >=20 > 2010/4/16 Ted Zlatanov >=20 >> On Fri, 16 Apr 2010 18:17:48 +0500 bilal ahmed = >> wrote: >>=20 >> ba> hi >> ba> i have started playing with Cassandra from couple of days. i >> downloaded >> ba> its binary and configured it successfully now i want to = contribute in >> this >> ba> project but i m unable to configure >>=20 >> ba> its source code in eclipse. i followed same steps which were = written >> on >> ba> this page = "http://wiki.apache.org/cassandra/RunningCassandraInEclipse" >> but >> ba> i m facing some issues. >>=20 >> ba> issue is... >>=20 >> ba> when i check out the code its directory structure looks like = this... >>=20 >> ba> project-name >> ba> | >> ba> src -> java ->org -> apache ->cassandra >>=20 >> ba> but when i open any class its package statement looks like = this... >>=20 >> ba> package org.apache.cassandra.auth; or any other package >>=20 >> ba> so here eclipse gives me error "*org.apache.cassandra.auth" = does not >> match >> ba> the expected package "java.org.apache.cassandra.auth*" i tired a = lot >> but i m >> ba> unable to resolve it. >>=20 >> Your source folder should not be "src" but "src/java" >>=20 >> You also need to add the "interface/thrift/gen-java" and "test/unit" >> source folders (only the former is necessary but the latter is good = to >> have for code searches and to run the tests). >>=20 >> Ted >>=20 >>=20 --Apple-Mail-1--972567224--