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." 

> 
> /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
> 
> BR
> jp

// Roger Schildmeijer
> 
> 
> 
> 
> 2010/4/16 Ted Zlatanov <t...@lifelogs.com>
> 
>> On Fri, 16 Apr 2010 18:17:48 +0500 bilal ahmed <jp.computer.g...@gmail.com>
>> wrote:
>> 
>> 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
>> 
>> 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.
>> 
>> ba>   issue is...
>> 
>> ba>   when i check out the code its directory structure looks like this...
>> 
>> ba>   project-name
>> ba>     |
>> ba>      src -> java ->org -> apache ->cassandra
>> 
>> ba>   but when i open any class its package statement looks like this...
>> 
>> ba>    package org.apache.cassandra.auth; or any other package
>> 
>> 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.
>> 
>> Your source folder should not be "src" but "src/java"
>> 
>> 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).
>> 
>> Ted
>> 
>> 

Reply via email to