cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maki Watanabe <watanabe.m...@gmail.com>
Subject Re: Integration Error between Cassandra and Eclipse
Date Tue, 10 Jan 2012 04:29:18 GMT
Binary package doesn't include source code, which you need to run
cassandra in Eclipse.
If you want to run cassandra in Eclipse, you need to download Source package OR
git repository, and then integrate it with Eclipse.
If you just want to run cassandra, you don't need to checkout source.

To clone cassandra git repository:
  % git clone http://git-wip-us.apache.org/repos/asf/cassandra.git
then the git will make "cassandra" directory in the current working directory.

To checkout cassandra-1.0.6 release:
  % cd cassandra
  % git checkout cassandra-1.0.6

Before loading the tree as Eclipse project:
  % and build
  % and generate-eclipse-files

good luck!
maki

2012/1/8 dir dir <sikerasakti@gmail.com>:
> I am also beginner user in cassandra. Honestly I wonder, if we can download
> binary installer from  http://cassandra.apache.org/download/  but why we
> have to
> check out from: svn http://svn.apache.org/repos/asf/cassandra/trunk/
> cassandra-trunk ??
>
> What is the deference between them?  Can we perform cassandra installation
> process
> by using binary installer in http://cassandra.apache.org/download/ without
> have to
> check out from svn?? Can we integrate cassandra and eclipse IDE without have
> to
> perform ant generate-eclipse-files ??
>
> If cassandra project have already moved from svn to git, would you tell me
> how to
> check out cassandra project from git, please??
>
> Thank you.
>
>
> On Fri, Jan 6, 2012 at 11:03 AM, Yuki Morishita <mor.yuki@gmail.com> wrote:
>>
>> Also note that Cassandra project switched to git from svn.
>> See "Source control" section of http://cassandra.apache.org/download/ .
>>
>> Regards,
>>
>> Yuki
>>
>> --
>> Yuki Morishita
>>
>> On Thursday, January 5, 2012 at 7:59 PM, Maki Watanabe wrote:
>>
>> Sorry, ignore my reply.
>> I had same result with import. ( 1 error in unit test code & many warnings
>> )
>>
>> 2012/1/6 Maki Watanabe <watanabe.maki@gmail.com>:
>>
>> How about to use "File->Import..." rather than "File->New Java Project"?
>>
>> After extracting the source, ant build, and ant generate-eclipse-files:
>> 1. File->Import...
>> 2. Choose "Existing Project into workspace..."
>> 3. Choose your source directory as root directory and then push "Finish"
>>
>>
>> 2012/1/6 bobby saputra <zaibatshu@gmail.com>:
>>
>> Hi There,
>>
>> I am a beginner user in Cassandra. I hear from many people said
>> Cassandra is
>> a powerful database software which is used by Facebook, Twitter, Digg,
>> etc.
>> So I feel interesting to study more about Cassandra.
>>
>> When I performed integration process between Cassandra with Eclipse
>> IDE (in
>> this case I use Java as computer language), I get trouble and have many
>> problem.
>> I have already followed all instruction from
>> http://wiki.apache.org/cassandra/RunningCassandraInEclipse, but this
>> tutorial was not working properly. I got a lot of errors and warnings
>> while
>> creating Java project in eclipse.
>>
>> These are the errors and warnings:
>>
>> Error(X) (1 item):
>> Description Resource  Location
>> The method rangeSet(Range<T>...) in the type Range is not applicable for
>> the
>> arguments (Range[]) RangeTest.java line 178
>>
>> Warnings(!) (100 of 2916 items):
>> Description Resource Location
>> AbstractType is a raw type. References to generic type AbstractType<T>
>> should be parameterized AbstractColumnContainer.java line 72
>> (and many same warnings)
>>
>> These are what i've done:
>> 1. I checked out cassandra-trunk from given link using SlikSvn as svn
>> client.
>> 2. I moved to cassandra-trunk folder, and build with ant using "ant build"
>> command.
>> 3. I generate eclipse files with ant using "ant generate-eclipse-files"
>> command.
>> 4. I create new java project on eclipse, insert project name with
>> "cassandra-trunk", browse the location into cassandra-trunk folder.
>>
>> Do I perform any mistakes? Or there are something wrong with the tutorial
>> in
>> http://wiki.apache.org/cassandra/RunningCassandraInEclipse ??
>>
>> I have already googling to find the solution to solve this problem, but
>> unfortunately
>> I found no results. Would you want to help me by giving me a guide how to
>> solve
>> this problem? Please....
>>
>> Thank you very much for your help.
>>
>> Best Regards,
>> Wira Saputra
>>
>>
>>
>>
>> --
>> w3m
>>
>>
>>
>>
>> --
>> w3m
>>
>>
>



-- 
w3m

Mime
View raw message