You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by Apache Wiki <wi...@apache.org> on 2010/12/24 22:44:41 UTC
[Cassandra Wiki] Update of "RunningCassandraInEclipse" by zznate
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 zznate.
http://wiki.apache.org/cassandra/RunningCassandraInEclipse?action=diff&rev1=16&rev2=17
--------------------------------------------------
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".
This will force Eclipse do update the entire workspace, so please be patient. Some of the errors should also have disappeared by now (not all though).
+ '''UPDATE''' There are several more jars required on the build path which will be available after successful completion of the Ant build described above. To add these jars, expand the build/lib/jars directory (if it is not there you may need to right-click the project directory and select "Refresh") add the following using the same method above:
+ * hadoop-core-0.20.2-320.jar
+ * hadoop-streaming-0.20.2.320.jar
+ * jna-3.2.7.jar
+
+
{{attachment:AddToBuildPath-9.png}}
The final step is to add the generated Java code to the Eclipse build path. Expand and select interface/thrift/gen-java, right click -> "Build Path" -> "Use as Source Folder". Do the same for interface/avro/gen-java and src/gen-java.
+
+ '''UPDATE''' Currently the source directories interface/avro/gen-java and src/gen-java have some naming conflicts. Unless you plan to do work on the Avro API (you probably do not), leave off interface/avro/gen-java from the build path.
{{attachment:AddThriftToBuildPath-10.png}}