[ https://issues.apache.org/jira/browse/MAHOUT-204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12781631#action_12781631 ]
Drew Farris edited comment on MAHOUT-204 at 11/23/09 9:34 PM: -------------------------------------------------------------- Specifically re: Jake's comments: This won't get us all of the way but maybe this will be useful. The following command will get us part of the way there by clean up the java and package.html files by doing the following: # removing all lines with author and version tags # converting each tab character to a pair of spaces # replacing cern.colt with org.apache.mahout.matrix # replacing cern.jet with org.apache.mahout.jet {noformat} find mahout/matrix/ -regextype posix-egrep -regex '(.*\.java|.*package\.html)' \ -exec perl -i -pe ' s/^[^\n]+(\...@author|\...@version)[^\n]+\n//; \ s/\t/ /g; \ s/cern\.colt/org.apache.mahout.matrix/g; \ s/cern\.jet/org.apache.mahout.jet/g; ' {} \; {noformat} I figured the command itself would be more helpful than a patch generated by using that command, but if a patch is preferred I can post it. was (Author: drew.farris): Specifically re: Jake's comments: This won't get us all of the way but maybe this will be useful. The following command will get us part of the way there by clean up the java and package.html files by doing the following: # removing all lines with author and version tags # converting each tab character to a pair of spaces # replacing cern.colt with org.apache.mahout.matrix # replacing cern.jet with org.apache.mahout.jet {noformat} find mahout/matrix/ -regextype posix-egrep -regex '(.*\.java|.*package\.html)' \ -exec perl -i -pe ' \ s/^[^\n]+(\...@author|\...@version)[^\n]+\n//; \ s/\t/ /g; \ s/cern\.colt/org.apache.mahout.matrix/g; \ s/cern\.jet/org.apache.mahout.jet/g; \ ' {} \; {noformat} I figured the command itself would be more helpful than a patch generated by using that command, but if a patch is preferred I can post it. > Better integration of Mahout matrix capabilities with Colt Matrix additions > --------------------------------------------------------------------------- > > Key: MAHOUT-204 > URL: https://issues.apache.org/jira/browse/MAHOUT-204 > Project: Mahout > Issue Type: Improvement > Affects Versions: 0.3 > Reporter: Grant Ingersoll > Fix For: 0.3 > > > Per MAHOUT-165, we need to refactor the matrix package structures a bit to be > more coherent and clean. For instance, there are two levels of matrix > packages now, so those should be rectified. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.