Hi everybody, the following git hub project contains a pre configured eclipse project including m2eclipse configuration:
https://github.com/ManuelB/facebook-recommender-demo/blob/master/docs/EclipseWorkspace.png Including some well documented Mahout examples. Just clone it and then click on import existing project and point your eclipse to the root of the repository. It uses Mahout 0.6 bumping to 0.7 should be easy by just changing the version in the pom. https://github.com/ManuelB/facebook-recommender-demo/blob/master/pom.xml If somebody is interested in checking if the examples are still working on 0.7 feel free to send me a patch afterwards. /Manuel On 10.07.2012, at 11:33, Alex Ott wrote: > 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 -- Manuel Blechschmidt M.Sc. IT Systems Engineering Dortustr. 57 14467 Potsdam Mobil: 0173/6322621 Twitter: http://twitter.com/Manuel_B
