mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (JIRA)" <>
Subject [jira] Resolved: (MAHOUT-96) grouplens-example erroneous path to .dat files
Date Wed, 12 Nov 2008 10:55:44 GMT


Sean Owen resolved MAHOUT-96.

    Resolution: Fixed

It's not possible to share an Ant env variable into the Java code. At some level it kinda
has to be hard-coded, the path where the resource lives in the jar file.

However there was a problem with how these files were packaged -- they weren't getting put
into the .jar! I addressed this.

> grouplens-example erroneous path to .dat files
> ----------------------------------------------
>                 Key: MAHOUT-96
>                 URL:
>             Project: Mahout
>          Issue Type: Bug
>          Components: Collaborative Filtering
>            Reporter: Jens Grivolla
> tries to read from "src/example/org/apache/mahout/cf/taste/example/grouplens/ratings.dat"
whereas the file is included in taste-build.xml from "${grouplens-location}/ratings.dat".
> The location is hard-coded in and would need to be changed to
conform to the current code organization.  A better solution would be not to hard-code the

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message