rkellogg    2003/07/08 18:11:21

  Modified:    java/src/org/apache/axis/i18n resource.properties
               java/src/org/apache/axis Version.java
  Log:
  Added new getVersionText method and associated resources.  This method is intended 
for display within the Axis tools, etc.
  
  Revision  Changes    Path
  1.57      +2 -0      xml-axis/java/src/org/apache/axis/i18n/resource.properties
  
  Index: resource.properties
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/i18n/resource.properties,v
  retrieving revision 1.56
  retrieving revision 1.57
  diff -u -r1.56 -r1.57
  --- resource.properties       29 Jun 2003 22:48:28 -0000      1.56
  +++ resource.properties       9 Jul 2003 01:11:21 -0000       1.57
  @@ -735,6 +735,8 @@
   # DO NOT TOUCH THESE PROPERTIES - THEY ARE AUTOMATICALLY UPDATED BY THE BUILD
   # PROCESS.
   axisVersion=Apache Axis version: #axisVersion#
  +axisVersionRaw=#axisVersion#
  +axisBuiltOnRaw=#today#
   axisUserAgent=Axis/#axisVersion#
   builtOn=Built on #today#
   #############################################################################
  
  
  
  1.10      +10 -0     xml-axis/java/src/org/apache/axis/Version.java
  
  Index: Version.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/Version.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Version.java      22 Apr 2003 19:34:00 -0000      1.9
  +++ Version.java      9 Jul 2003 01:11:21 -0000       1.10
  @@ -74,6 +74,16 @@
       }
       
       /**
  +     *  Returns the Axis Version number and build date.
  +     *
  +     *  Example output: 1.1 Jul 08, 2003 (09:00:12 EDT)
  +     **/
  +    public static String getVersionText()
  +    {
  +        return Messages.getMessage("axisVersionRaw") + " " + 
Messages.getMessage("axisBuiltOnRaw");
  +    }
  +
  +    /**
        * Entry point.
        * 
        * Calling this with no arguments returns the version of the client-side
  
  
  

Reply via email to