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 2011/11/07 11:10:55 UTC
[Cassandra Wiki] Update of "RunningCassandraInEclipse" by DavidAllsopp
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=33&rev2=34
}}}
This probably means that the project name you chose in Eclipse doesn't match the top-level directory (must match exactly, including capitalisation). Go to `Project->Properties->Builders`, select `Cassandra-Ant-Builder`, `Edit`, and fix the `Build File` and `Base Directory` to match the name in Eclipse (the easiest way is just to browse to the right file/folder).
+
+ === Can't find javadoc.exe ===
+
+ On Windows, at least, if you try to run an Ant target that invokes javadoc (such as the `artifacts` target), then you may get an error like:
+
+ {{{
+ Javadoc failed: java.io.IOException: Cannot run program "javadoc.exe": CreateProcess error=2, The system cannot find the file specified
+ }}}
+
+ Like it says, Eclipse can't find Javadoc.exe because it's not on the path.
+
+ The simplest fix seems to be to go to External Tools Configurations, and edit your configuration for the Cassandra build.xml: go to the JRE tab and make sure that you have selected a JDK not a JRE.
+
+ See http://blog.darevay.com/2008/12/running-javadoc-ant-task-from-eclipse/ for some discussion of this issue and some alternative fixes.
=== Other compile errors ===