|
Eclipse is a widely used open-source IDE for Java.
The main strengths are the powerful support for refactoring and Java coding in general.
This article describes in a few steps how to setup Eclipse for Subversion access to RapidMiner,
how to build RapidMiner from source code, and how to run RapidMiner directly from Eclipse.
Attention: As of September 21, 2010 we have changed the old unix name "yale" to "rapidminer" on our hosting system at SourceForge. Please update your paths accordingly!
There are three phases in setting up Eclipse for RapidMiner: installing
Subclipse - a Subversion client for Eclipse - using the Subversion client in order to download
RapidMiner and defining the correct settings for running RapidMiner directly from Eclipse.
Installing a Subversion
client: Subclipse
For Eclipse 3.2 - 3.5 start Eclipse and click on "Help -> Install New Software...".
Type in the update site for subclipse ( http://subclipse.tigris.org/update_1.6.x ) into the "Work with" field.
After a few dialogs and a Eclipse restart you have successfully installed Subclipse. Please visit the Subclipse homepage for a more detailed instruction.
Setting up Subversion access
1.) You start by adding a new project from the file menu. Then you
should select "Checkout projects from SVN":
2.) In the following dialog you should select "Create a new
repository location" before you proceed with
"Next":
3.) In the next dialog you should fill in the Subversion repository URL ( https://rapidminer.svn.sourceforge.net/svnroot/rapidminer ):
4.) After proceeding with "Next" you have to specify the
project which should be checked out. Please choose the Unuk branch for the current version of RapidMiner.
5.) In the next dialog you can change the project name. The default
value is "RapidMiner_Unuk". You can start downloading RapidMiner by pressing
"Finish":
6.) Now you have to wait until Eclipse has completely downloaded
RapidMiner. That might take some minutes.
It should not be necessary to define further project settings in order
to edit or compile RapidMiner. Eclipse should now build your
workspace.
Important notes:
- If the compilation process leads to errors (several thousands), you
might have to change the compiler compliance level to "5.0"
since RapidMiner requires at least Java 5. The default for current Eclipse
installations seems to be compliance level "1.4" which will lead
to a huge amount of errors.
Running RapidMiner from
Eclipse
7.) If everything has been compiled you might want to run
RapidMiner directly from Eclipse. Select "Run Configurations" from the
"Run" menu. There you can create a new Java application and specify the main class
"com.rapidminer.gui.RapidMinerGUI":
8.) You might want to increase the amount
of usable memory. For more information visit our Wiki site:
|