org.mmbase
Class Version

java.lang.Object
  |
  +--org.mmbase.Version

public class Version
extends java.lang.Object

MMBase version reporter

Version:
$Id: Version.java,v 1.16.2.11 2003/09/02 11:51:49 gerard Exp $
Author:
Daniel Ockeloen

Constructor Summary
Version()
           
 
Method Summary
static void createManifest(java.lang.String path, java.lang.String targetfile, java.lang.String versionfile)
           
static java.lang.String get()
          Returns the version of this MMBase.
static java.lang.String getBuildDate()
          Returns the build date of this MMBase.
static java.lang.String getMainMMBaseVersion(java.lang.String versionfile)
           
static int getMajor()
          Returns the major version number of this MMBase.
static java.lang.String getManifestCVS(java.lang.String filename)
           
static java.lang.String getManifestFile(java.lang.String path)
           
static int getMinor()
          Returns the minor version number of this MMBase.
static java.lang.String getName()
          Returns the 'name' part of the MMBase version.
static java.lang.String getNumber()
          Returns the version number of this MMBase.
static int getPatchLevel()
          Returns the patch level numer of this MMBase.
static boolean isRelease()
          Returns if this is a release version of MMBase.
static void main(java.lang.String[] args)
           
static void performCheck(java.lang.String file, java.lang.String checkurl)
           
static void performCheckList(java.lang.String file, java.lang.String checkurl, boolean newonly)
           
static void performList(java.lang.String file)
           
static boolean saveFile(java.lang.String filename, java.lang.String value)
           
static void showHelp()
           
 
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

getName

public static java.lang.String getName()
Returns the 'name' part of the MMBase version. This will normall be 'MMBase'.
Since:
MMBase-1.6

getMajor

public static int getMajor()
Returns the major version number of this MMBase.
Since:
MMBase-1.6

getMinor

public static int getMinor()
Returns the minor version number of this MMBase.
Since:
MMBase-1.6

getPatchLevel

public static int getPatchLevel()
Returns the patch level numer of this MMBase.
Since:
MMBase-1.6

getBuildDate

public static java.lang.String getBuildDate()
Returns the build date of this MMBase. During the build, the value of this is stored in builddate.properties.
Since:
MMBase-1.6

getNumber

public static java.lang.String getNumber()
Returns the version number of this MMBase.
Since:
MMBase-1.6

isRelease

public static boolean isRelease()
Returns if this is a release version of MMBase. If this is false this MMBase is only a CVS snapshot.
Since:
MMBase-1.6

get

public static java.lang.String get()
Returns the version of this MMBase.
Since:
MMBase-1.6

showHelp

public static void showHelp()

createManifest

public static void createManifest(java.lang.String path,
                                  java.lang.String targetfile,
                                  java.lang.String versionfile)

getMainMMBaseVersion

public static java.lang.String getMainMMBaseVersion(java.lang.String versionfile)

getManifestCVS

public static java.lang.String getManifestCVS(java.lang.String filename)

getManifestFile

public static java.lang.String getManifestFile(java.lang.String path)

performCheck

public static void performCheck(java.lang.String file,
                                java.lang.String checkurl)

performCheckList

public static void performCheckList(java.lang.String file,
                                    java.lang.String checkurl,
                                    boolean newonly)

performList

public static void performList(java.lang.String file)

saveFile

public static boolean saveFile(java.lang.String filename,
                               java.lang.String value)

main

public static void main(java.lang.String[] args)


MMBase build 1.6.5.20030923