cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Allsopp (Commented) (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-2854) Java Build Path is broken in Eclipse after running generate-eclipse-files Ant target
Date Sat, 22 Oct 2011 10:28:32 GMT


David Allsopp commented on CASSANDRA-2854:

Wasn't having much success getting Eclipse happy on Windows, so tried on Linux but similar
problems: after checking out trunk, running build.xml (runs OK) and then the generate-eclipse-files
target (runs OK), I refresh the project and get:

Errors occurred during the build.
Errors running builder 'Integrated External Tool Builder' on project 'Cassandra-trunk'.
Variable references non-existent resource : ${workspace_loc:/cassandra-trunk/build.xml}
Variable references non-existent resource : ${workspace_loc:/cassandra-trunk/build.xml}

This is easy to fix - the project name I chose in Eclipse (Cassandra-trunk) is capitalized
but the directory (cassandra-trunk) isn't. Go to Project->Properties->Builders, select
Cassandra-Ant-Builder, Edit, and fix the Build File and Base Directory to match the name in
Eclipse. This is probably caused by me checking out the code using SVN in the console rather
than using Subversive within Eclipse...

*However, Eclipse report 2153 errors in the project at this point.*

If someone has this working nicely, could they please update the wiki page (,
as it's got very outdated and confusing. Alternatively, if most Cassandra folks are using
an environment other than Eclipse that works better, could you describe it on the wiki?
> Java Build Path is broken in Eclipse after running generate-eclipse-files Ant target
> ------------------------------------------------------------------------------------
>                 Key: CASSANDRA-2854
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 0.8.1
>         Environment: Windows 7 64-bit, Eclipse Helios SR1, Subclipse
>            Reporter: David Allsopp
>            Priority: Minor
> Following the instructions in,
but checking out v0.8.1:
> After running the 'generate-eclipse-files' Ant target, the build path is set up to include
all the libraries in build/lib/jars, but each library has ;C (semicolon, letter C) appended
to it, so Eclipse can't find the libraries - there are about 55 errors like:
> Project 'cassandra-0.8.1' is missing required library: '\Users\David\eclipse_workspace\cassandra-0.8.1\build\lib\jars\commons-cli-1.2.jar;C'

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message