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.
The common error info is "The declared package "org.apache.cassandra.xxx" does not match the expected package
you can simply run:ant generate-eclipse-filesthen import the project--On Sun, Aug 7, 2011 at 5:39 PM, Alvin UW <firstname.lastname@example.org> wrote:
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:
[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
[mkdir] Created dir: /workspace/Cassandra0.8/build/lib
/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.