[
https://issues.apache.org/jira/browse/STORM-243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14274709#comment-14274709
]
ASF GitHub Bot commented on STORM-243:
--------------------------------------
Github user caofangkun commented on the pull request:
https://github.com/apache/storm/pull/294#issuecomment-69695152
@revans2
if use bash shell saveVersion.sh, will be differect to run on all
platforms.
So when I come across this:
http://maven.apache.org/guides/plugin/guide-java-plugin-development.html
I'm thinking use Java Plugin Mojo may be a good choice for
platform-independent.
So please do have a review once again. Tanks for your patience.
eg:
java -cp ./storm-core/target/storm-core-0.10.0-SNAPSHOT.jar
backtype.storm.utils.VersionInfo
Storm 0.10.0-SNAPSHOT
URL https://github.com/caofangkun/apache-storm.git -r
802272ab1455763d649fdba647f167a3c8c87abd
Branch storm-243
Compiled by caokun on 2015-01-13T04:26Z
From source with checksum 2184521b30e34cbbc5530ff6e9ae02c
> Record version and revision information in builds
> --------------------------------------------------
>
> Key: STORM-243
> URL: https://issues.apache.org/jira/browse/STORM-243
> Project: Apache Storm
> Issue Type: Improvement
> Reporter: caofangkun
> Assignee: caofangkun
> Priority: Minor
> Attachments: STORM-243-1.patch, ui.png
>
>
> The effect shown below,
> For Subversion project :
> $ storm version
> Storm 0.9.2-incubating-SNAPSHOT
> Subversion https://github.com/apache/incubator-storm/trunk/storm-core -r 1959
> Compiled by somebody on Wed Feb 19 11:23:38 CST 2014
> From source with checksum 9347aded8a39f3ddf8e8f2f9bf56186f
> or
> $ java -classpath storm-core-0.9.2-incubating-SNAPSHOT.jar
> backtype.storm.utils.VersionInfo
> Storm 0.9.2-incubating-SNAPSHOT
> Subversion https://github.com/apache/incubator-storm/trunk/storm-core -r 1959
> Compiled by somebody on Wed Feb 19 11:23:38 CST 2014
> From source with checksum 9347aded8a39f3ddf8e8f2f9bf56186f
> For Git Project:
> $ storm version
> ➜ storm-current storm version
> Running: ... ...
> Storm 0.10.0-SNAPSHOT
> Subversion https://github.com/caofangkun/apache-storm.git -r
> ffba148cc47a92185fa1a5db11f72982de10f106
> Branch storm-243
> Compiled by caokun on Thu Jan 8 10:47:48 CST 2015
> From source with checksum 97e7c942939e3e82dcb854b497991a51
> For UI
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)