incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yang <teddyyyy...@gmail.com>
Subject Re: Setup Cassandra0.8 in Eclipse
Date Mon, 08 Aug 2011 15:41:44 GMT
here is what I normally do:

I do not use the ant-generated eclipse files from the build.xml,
because that uses external ant build, and every time you make some
small code changes, the ant job is invoked, which is annoying.

I just create an eclipse java project, select the java sources to be
src/java test/unit src/gen-java interface/thrift/gen-java

these ignore some of the builds that are of no interest to me, but if
you want to build the others, it should be similar.

also you need to remove the apache-rat*.jar and commons-lang-2.1*.jar
from build path, should use commons-lang-2.4




On Sun, Aug 7, 2011 at 2: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
>

Mime
View raw message