cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alvin UW <alvi...@gmail.com>
Subject Re: Setup Cassandra0.8 in Eclipse
Date Mon, 08 Aug 2011 15:22:30 GMT
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 <jakers@gmail.com>

> you can simply run:
>
> ant generate-eclipse-files
>
> then import the project
>
>
> On Sun, Aug 7, 2011 at 5:39 PM, Alvin UW <alvinuw@gmail.com> 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
>

Mime
View raw message