Hi

To run code from Mahout in Action, you don't need to import source code
into Eclipse - either download code from book's site, or clone it from
https://github.com/tdunning/MiA (the master branch contains code from book,
while there are separate branches for use with Mahout 0.6 & 0.7). After
getting source code, just import existing maven project, and everything
should work.

On Mon, Jul 9, 2012 at 5:48 PM, huangjia <[email protected]> wrote:

> Hi all,
>
> I'm reading Mahout in Action and new to Mahout. Before I can run the code
> in 2.2.2 Creating a recommender, I think I need to import Mahout into
> Eclipse first.
>
> However,  encountered a problem when trying to import *Mahout*'s source
> code to eclipse. My steps are as follows.
>
> 1 Start Eclipse, click Help->Install new software: enter "m2e -
> http://download.eclipse.org/technology/m2e/releases";
> 2 downloaded the Mahout source zip file, unzip it, and put it under the
> workspace of Eclipse.
> 3 Start Eclipse, click File->Import->Maven->Existing Maven Projects. Then
> chose the Mahout source file as the Root Directory.
>
> However, when I first tried it, it popped out some errors as in this post
> http://stackoverflow.com/questions/11282737/errors-when-importing-mahouts-maven-resource-to-eclipse
> .
> [image: enter image description here]
>
> But when I tried it today, the "Next" button becomes gray, so I cannot
> proceed.
> [image: Inline image 1]
> Does anyone have an idea of what's going on?
>
> Info: I'm using Eclipse Helios, and mahout distribution 0.7. Is it because
> the Helios does not support Mahout?
> But it shouldn't, I think, since this person did it successfully.
> http://shuyo.wordpress.com/2011/02/01/mahout-development-environment-with-maven-and-eclipse-1/
> Or, instead of installing Maven in Eclipse, I should download it
> separately?
>
> Thanks very much!
>
> Jia
>
>


-- 
With best wishes,                    Alex Ott
http://alexott.net/
Tiwtter: alexott_en (English), alexott (Russian)
Skype: alex.ott

Reply via email to