From: Martin S. <sch...@us...> - 2005-02-16 09:02:11
|
Update of /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/client/utils In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26785/src/net/sf/magicmap/client/utils Modified Files: Version.java Settings.java Log Message: + show version information Index: Settings.java =================================================================== RCS file: /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/client/utils/Settings.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Settings.java 15 Feb 2005 15:06:39 -0000 1.3 --- Settings.java 16 Feb 2005 09:02:03 -0000 1.4 *************** *** 20,23 **** --- 20,25 ---- public static String clientPassword = "test"; + public static String NIGHTLY = ""; + public static String hostname = "phl.informatik.hu-berlin.de"; public static int port = 80; *************** *** 76,79 **** --- 78,85 ---- WEBSERVICE_PATH = args[i]; } + if (arg.equals("--nightly")){ + i++; + NIGHTLY = args[i]; + } } } Index: Version.java =================================================================== RCS file: /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/client/utils/Version.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Version.java 13 Feb 2005 21:36:38 -0000 1.3 --- Version.java 16 Feb 2005 09:02:03 -0000 1.4 *************** *** 10,14 **** * */ ! public interface Version { public static final String PROTOCOL_VERSION = "0.3"; --- 10,14 ---- * */ ! public abstract class Version { public static final String PROTOCOL_VERSION = "0.3"; *************** *** 16,21 **** public static final int VERSION_MINOR = 4; public static final String VERSION_FLAVOR = "alpha"; ! ! public static final String VERSION = VERSION_MAJOR + "." + VERSION_MINOR + VERSION_FLAVOR; } \ No newline at end of file --- 16,23 ---- public static final int VERSION_MINOR = 4; public static final String VERSION_FLAVOR = "alpha"; ! ! public static String getVersion(){ ! return VERSION_MAJOR + "." + VERSION_MINOR + VERSION_FLAVOR + " " + Settings.NIGHTLY; ! } } \ No newline at end of file |