Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for 
change notification.

The "RunningCassandraInEclipse" page has been changed by DavidAllsopp:
http://wiki.apache.org/cassandra/RunningCassandraInEclipse?action=diff&rev1=21&rev2=22

  Right click on the build.xml (in your project root) -> "Run As" -> "Ant 
Build".
  This will do a whole lot of good things, eg. generate the CLI grammar with 
ANTLR, generate avro and thrift code.
  
- '''UPDATE''' New for Cassandra 0.7.1: Right click on the build.xml (in your 
project root) -> "Run As" -> "Ant Build..." and select 
"generate-eclipse-files". This will automatically build most of the jars in the 
right places. All that is left to do is to is the very next step in which you 
add all of the jars in the lib/ folder to the Build Path and all the 
dissociations should dissappear. If so, skip to the "Run Cassandra" section.
+ '''UPDATE''' New for Cassandra 0.7.1: Right click on the build.xml again (in 
your project root) -> "Run As" -> "Ant Build..." and this time select 
"generate-eclipse-files". This will automatically build most of the jars in the 
right places. All that is left to do is to is the very next step in which you 
add all of the jars in the lib/ folder to the Build Path and all the 
dissociations should dissappear. If so, skip to the "Run Cassandra" section.
  
  Next thing you want to do is to add all the needed third party libraries to 
the build path. 
  Expand the lib/ folder and find a bunch of jar files. Shift select all of 
them and right mouse click and choose "Build Path" -> "Add to Build Path".   
@@ -52, +52 @@

   * hadoop-streaming-0.20.2.320.jar 
   * jna-3.2.7.jar 
  
+ '''UPDATE UPDATE!''' as of 0.8.1, at least, all the jarfiles are added to the 
build path by generate-eclipse-files (although there may be a slight bug - see 
https://issues.apache.org/jira/browse/CASSANDRA-2854). The generated code in 
the next step is also added automatically. At the time of writing this didn't 
seem to work if checking out trunk, but worked for the 0.8.1 branch.
  
  {{attachment:AddToBuildPath-9.png}}
  

Reply via email to