[Fedora-directory-commits] console/src/com/netscape/management/client/console VersionInfo.java, 1.2, 1.3 genverinfo.sh, 1.2, 1.3

Nathan Kinder (nkinder) fedora-directory-commits at redhat.com
Fri Mar 24 19:05:48 UTC 2006


Author: nkinder

Update of /cvs/dirsec/console/src/com/netscape/management/client/console
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19921/src/com/netscape/management/client/console

Modified Files:
	VersionInfo.java genverinfo.sh 
Log Message:
186612 - Console.getVersionNumber method needs to return version as major.minor


Index: VersionInfo.java
===================================================================
RCS file: /cvs/dirsec/console/src/com/netscape/management/client/console/VersionInfo.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- VersionInfo.java	26 Oct 2005 23:16:23 -0000	1.2
+++ VersionInfo.java	24 Mar 2006 19:05:37 -0000	1.3
@@ -37,7 +37,7 @@
      * @return  Console Version Number
      */
     public static String getVersionNumber() {
-        return _resource.getString("console","versionNumber");
+        return _resource.getString("console","majorVersionNumber");
     }
 
     /**


Index: genverinfo.sh
===================================================================
RCS file: /cvs/dirsec/console/src/com/netscape/management/client/console/genverinfo.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- genverinfo.sh	15 Sep 2005 22:06:49 -0000	1.2
+++ genverinfo.sh	24 Mar 2006 19:05:38 -0000	1.3
@@ -28,11 +28,12 @@
 #
 #
 
-if [ $# -ne 3 ]; then 
-	echo Usage: $0 outputFile versionNumber buildNumberFile
+if [ $# -ne 4 ]; then 
+	echo Usage: $0 outputFile versionNumber majorVersionNumber buildNumberFile
 	exit  1
 fi
 
 echo console-versionNumber=$2 > $1
-bld=`cat $3`
+echo console-majorVersionNumber=$3 > $1
+bld=`cat $4`
 echo console-buildNumber=`eval eval echo $bld` >> $1




More information about the Fedora-directory-commits mailing list