au.id.pbw.hyfo.version
Class Version

java.lang.Object
  extended by au.id.pbw.hyfo.version.Version

public class Version
extends Object

class representing the version of HyFo


Constructor Summary
Version()
           
 
Method Summary
static String getFormattedTag()
          Get the formatted tag version of HyFo.
static String getVersion()
          Get a displayable HyFo version string.
static void main(String[] args)
          main() exists as a convenience for retrieving the source version during Ant builds.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Version

public Version()
Method Detail

getFormattedTag

public static String getFormattedTag()
Get the formatted tag version of HyFo.

A dummy version until the procedure for naming versions is re-designed. RCS tags are no longer available, as HyFo is moving to Darcs for change management.

Returns:
the formatted CVS Tag string

getVersion

public static String getVersion()
Get a displayable HyFo version string.

Returns:
the display string

main

public static void main(String[] args)
main() exists as a convenience for retrieving the source version during Ant builds. Version.java can be compiled independently, and run as an Ant exec task, with the output captured to a temporary properties file.

Outputs the following text, which defines properties for the build.


 build.default.description="HyFo 0.1dev-build"
 build.default.tag="HyFo_0-1dev-build"
 

Parameters:
args -


Copyright © 2005-2006 Peter B. West.