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 AD0A98738 for ; Mon, 8 Aug 2011 15:22:59 +0000 (UTC) Received: (qmail 81952 invoked by uid 500); 8 Aug 2011 15:22:57 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 81904 invoked by uid 500); 8 Aug 2011 15:22:56 -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 81896 invoked by uid 99); 8 Aug 2011 15:22:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Aug 2011 15:22:56 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of alvinuw@gmail.com designates 209.85.210.48 as permitted sender) Received: from [209.85.210.48] (HELO mail-pz0-f48.google.com) (209.85.210.48) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Aug 2011 15:22:51 +0000 Received: by pzk34 with SMTP id 34so8554745pzk.21 for ; Mon, 08 Aug 2011 08:22:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=whxpkIzqyUOiChqS+96SO/xyUqUh5HzaPrtOvJDLPFE=; b=JLZKZTkvbG5qiY2kXq70aUBvssHrymXFlqFidsc3zwWf6ZWeZIY0ph6W3TA786MRCe gYfzFQohqXgJSnRERIc9xEu9QswDbQ0hg394k0QFGwXIdFd8SKEK2028p3sROeo163pu 0r9L+p7uwvu0OJiOe6FRH9p62qkgbuRpwCPxM= MIME-Version: 1.0 Received: by 10.142.136.18 with SMTP id j18mr6002513wfd.284.1312816950997; Mon, 08 Aug 2011 08:22:30 -0700 (PDT) Received: by 10.142.166.2 with HTTP; Mon, 8 Aug 2011 08:22:30 -0700 (PDT) In-Reply-To: References: Date: Mon, 8 Aug 2011 11:22:30 -0400 Message-ID: Subject: Re: Setup Cassandra0.8 in Eclipse From: Alvin UW To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=000e0cd1482c04f30204aa000497 --000e0cd1482c04f30204aa000497 Content-Type: text/plain; charset=ISO-8859-1 Thanks guys. After installing svn, it works. But when I followed the last step "If Eclipse still complains about compile errors it is because 'src' (and not 'src/java') is added as source folder. To fix this I recommend to remove 'src' from build path and add 'src/java' to the build path (just like you did for the thrift and avro generated code). " There are still some errors in the following packages. src/java org.apache.cassandra.service org.apache.cassandra.streaming org.apache.cassandra.thrift org.apache.cassandra.utils org.apache.cassandra.utils.obs The common error info is "The declared package "org.apache.cassandra.xxx" does not match the expected package "java.org.apache.cassandra.xxx" Alvin 2011/8/8 Jake Luciani > you can simply run: > > ant generate-eclipse-files > > then import the project > > > On Sun, Aug 7, 2011 at 5:39 PM, Alvin UW wrote: > >> Hello, >> >> I am trying to Setup Cassandra0.8 in Eclipse following >> http://wiki.apache.org/cassandra/RunningCassandraInEclipse >> After right clicking on the build.xml -> "Run As" -> "Ant Build". >> Error appeared as follows: >> >> Buildfile: /workspace/Cassandra0.8/build.xml >> maven-ant-tasks-localrepo: >> maven-ant-tasks-download: >> [echo] Downloading Maven ANT Tasks... >> [mkdir] Created dir: /workspace/Cassandra0.8/build >> [get] Getting: >> http://repo2.maven.org/maven2/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.jar >> [get] To: /workspace/Cassandra0.8/build/maven-ant-tasks-2.1.3.jar >> maven-ant-tasks-init: >> [mkdir] Created dir: /workspace/Cassandra0.8/build/lib >> scm-svn-info: >> >> BUILD FAILED >> /workspace/Cassandra0.83/build.xml:235: Execute failed: >> java.io.IOException: Cannot run program "svn": java.io.IOException: error=2, >> No such file or directory >> >> Total time: 992 milliseconds >> >> It seems svn wasn't installed, but i did install it. >> >> Thanks. >> >> Alvin >> > > > > -- > http://twitter.com/tjake > --000e0cd1482c04f30204aa000497 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks guys.
After installing svn, it works.

But when I followed = the last step
"If Eclipse still complains about compile errors it i= s because 'src' (and not 'src/java') is added as source folder. To fix this I recommend= to=20 remove 'src' from build path and add 'src/java' to the buil= d path (just=20 like you did for the thrift and avro generated code). "

There a= re still some errors in the following packages.
src/java
org.apache.c= assandra.service
org.apache.cassandra.streaming
org.apache.cassandra.= thrift
org.apache.cassandra.utils
org.apache.cassandra.utils.obs

The com= mon error info is "The declared package "org.apache.cassandra.xxx= " does not match the expected package
=A0"java.org.apache.cas= sandra.xxx"


Alvin

2011/8/8 Jake Luciani <jakers@gmail.com&g= t;
you can simply run:

ant generate-eclipse-files

then import the project

On Sun, Aug 7, 2011 at 5:39 PM, Alvin UW <= span dir=3D"ltr"><alvinuw@gmail.com> wrote:
Hello,

I = am trying to Setup Cassandra0.8 in Eclipse following http://w= iki.apache.org/cassandra/RunningCassandraInEclipse
After right clicking on the build.xml -> "Run As" -> "= Ant Build".
Error appeared as follows:

Buildfile: /workspace/Cassandra0.8/build.= xml
maven-ant-tasks-localrepo:
maven-ant-tasks-download:
=A0=A0=A0= =A0 [echo] Downloading Maven ANT Tasks...
=A0=A0=A0 [mkdir] Created dir:= /workspace/Cassandra0.8/build
=A0=A0=A0=A0=A0 [get] Getting: http://repo2.maven.org/maven2/org/apache/maven/maven-ant-tasks/2.1.3/= maven-ant-tasks-2.1.3.jar
=A0=A0=A0=A0=A0 [get] To: /workspace/Cassandra0.8/build/maven-ant-tasks-2.1= .3.jar
maven-ant-tasks-init:
=A0=A0=A0 [mkdir] Created dir: /workspac= e/Cassandra0.8/build/lib
scm-svn-info:

BUILD FAILED
/workspace= /Cassandra0.83/build.xml:235: Execute failed: java.io.IOException: Cannot r= un program "svn": java.io.IOException: error=3D2, No such file or= directory

Total time: 992 milliseconds

It seems svn wasn't installed, = but i did install it.

Thanks.

Alvin



--
= http://twitter.com/tjake

--000e0cd1482c04f30204aa000497--