1 6 package org.logicalcobwebs.proxool; 7 8 import org.apache.commons.logging.Log; 9 import org.apache.commons.logging.LogFactory; 10 11 30 public class Version { 31 32 private static final Log LOG = LogFactory.getLog(Version.class); 33 34 38 private static final String VERSION = null; 39 40 private static final String BUILD_DATE = null; 41 42 private static final String CVS = "0.9.0RC3+"; 43 44 public static String getVersion() { 45 StringBuffer version = new StringBuffer (); 46 47 if (VERSION != null) { 48 version.append(VERSION); 49 } else { 50 54 version.append(CVS); 55 } 56 57 if (BUILD_DATE != null) { 58 version.append(" ("); 59 version.append(BUILD_DATE); 60 version.append(")"); 61 } 62 63 return version.toString(); 64 } 65 66 70 public static void main(String [] args) { 71 LOG.info("Version " + getVersion()); 72 } 73 74 } 75 76 | Popular Tags |