You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2008/11/12 11:55:44 UTC

[jira] Resolved: (MAHOUT-96) grouplens-example erroneous path to .dat files

     [ https://issues.apache.org/jira/browse/MAHOUT-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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: https://issues.apache.org/jira/browse/MAHOUT-96
>             Project: Mahout
>          Issue Type: Bug
>          Components: Collaborative Filtering
>            Reporter: Jens Grivolla
>
> GroupLensDataModel.java 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 GroupLensDataModel.java and would need to be changed to conform to the current code organization.  A better solution would be not to hard-code the path.

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