[ 
https://issues.apache.org/jira/browse/MAHOUT-875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13156293#comment-13156293
 ] 

Oliver B. Fischer commented on MAHOUT-875:
------------------------------------------

To test the patch simply enter the directory {{core}} and enter {{mvn 
compile}}. The patch enhences the POM to copy the {{MahoutVersion.java}} file 
to {{target\generated-sources\version}}. While copying the file, Maven replaces 
all known properties in the file.

{{driver.classes.props}} contains now the key {{org.apache.mahout.version}}. It 
is set to the value of {{project.version}}. To replace the property by its 
value, I use the filterchain feature of ant.
                
> Allow to obtain Mahout version information through the Java API
> ---------------------------------------------------------------
>
>                 Key: MAHOUT-875
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-875
>             Project: Mahout
>          Issue Type: Improvement
>    Affects Versions: 0.6
>            Reporter: Oliver B. Fischer
>            Priority: Trivial
>             Fix For: 0.6
>
>         Attachments: MAHOUT-875.patch
>
>
> It would be nice to be able to obtain the used Mahout version through the 
> Java API. This enables users to output the version information for debugging 
> purposes or simple to document which Mahout version is used.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to