org.apache.zookeeper.version.util
Class VerGen

java.lang.Object
  extended by org.apache.zookeeper.version.util.VerGen

public class VerGen
extends Object


Constructor Summary
VerGen()
           
 
Method Summary
static void main(String[] args)
          Emits a org.apache.zookeeper.version.Info interface file with version and revision information constants set to the values passed in as command line parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerGen

public VerGen()
Method Detail

main

public static void main(String[] args)
Emits a org.apache.zookeeper.version.Info interface file with version and revision information constants set to the values passed in as command line parameters. The file is created in the current directory.
Usage: java org.apache.zookeeper.version.util.VerGen maj.min.micro rev buildDate

Parameters:
args -
  • maj - major version number
  • min - minor version number
  • micro - minor minor version number
  • rev - current SVN revision number
  • buildDate - date the build