mahout-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Lucene Mahout: BuildingMahout (page edited)
Date Wed, 04 Mar 2009 13:23:00 GMT
BuildingMahout (MAHOUT) edited by Grant Ingersoll
      Page: http://cwiki.apache.org/confluence/display/MAHOUT/BuildingMahout
   Changes: http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=93207&originalVersion=3&revisedVersion=4






Content:
---------------------------------------------------------------------

h1. Prerequisites for Building Mahout

* Java JDK 1.6
* Maven 2.0.9 or higher (http://maven.apache.org/)

h1. Get the Source Code

Use [Subversion|http://subversion.tigris.org] to check out the code:
{code}
svn co http://svn.apache.org/repos/asf/lucene/mahout/trunk
{code} 

h1. Compiling

* change directory to the checked out directory
* mvn install

This will run the default targets, which builds both the core and the examples, and also packages
them.

h2. Compile Core
* change to the core directory
* mvn compile

h2. Install Core

Note, you can do install instead of compile.

* change to the core directory
* mvn install 

h2. Compile Examples

*You must "mvn install" the core before you can build the examples.  For some reason Maven
doesn't know how to build sibling modules that are dependencies.*

* change to the examples directory
* mvn compile

h2. Compile Taste Web

* change to the taste-web directory
* Edit the recommender.properties value to add in your recommender class.  Make sure the recommender
class is available in the classpath (i.e. add it to the WAR that gets created)
* mvn package

---------------------------------------------------------------------
CONFLUENCE INFORMATION
This message is automatically generated by Confluence

Unsubscribe or edit your notifications preferences
   http://cwiki.apache.org/confluence/users/viewnotifications.action

If you think it was sent incorrectly contact one of the administrators
   http://cwiki.apache.org/confluence/administrators.action

If you want more information on Confluence, or have a bug to report see
   http://www.atlassian.com/software/confluence



Mime
View raw message