rkellogg 2003/07/08 18:25:36
Modified: java/src/org/apache/axis/wsdl/toJava JavaClassWriter.java
java/src/org/apache/axis/i18n resource.properties
Log:
Updated to include Axis version number and build information in Java classes
generated by JavaClassWriter which is used by the WSDL2Java utility.
Revision Changes Path
1.9 +2 -1
xml-axis/java/src/org/apache/axis/wsdl/toJava/JavaClassWriter.java
Index: JavaClassWriter.java
===================================================================
RCS file:
/home/cvs/xml-axis/java/src/org/apache/axis/wsdl/toJava/JavaClassWriter.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- JavaClassWriter.java 22 Apr 2003 19:36:24 -0000 1.8
+++ JavaClassWriter.java 9 Jul 2003 01:25:35 -0000 1.9
@@ -54,6 +54,7 @@
*/
package org.apache.axis.wsdl.toJava;
+import org.apache.axis.Version;
import org.apache.axis.utils.Messages;
import java.io.File;
@@ -210,7 +211,7 @@
pw.println(" * " + localFile);
pw.println(" *");
pw.println(" * " + Messages.getMessage("wsdlGenLine00"));
- pw.println(" * " + Messages.getMessage("wsdlGenLine01"));
+ pw.println(" * " +
Messages.getMessage("wsdlGenLine01",Version.getVersionText()));
pw.println(" */");
pw.println();
} // writeHeaderComments
1.58 +1 -1 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.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- resource.properties 9 Jul 2003 01:11:21 -0000 1.57
+++ resource.properties 9 Jul 2003 01:25:36 -0000 1.58
@@ -660,7 +660,7 @@
wsdlGenLine00=This file was auto-generated from WSDL
# NOTE: in wsdlGenLine01, do not translate "Apache Axis WSDL2Java"
-wsdlGenLine01=by the Apache Axis WSDL2Java emitter.
+wsdlGenLine01=by the Apache Axis {0} WSDL2Java emitter.
wsdlMissing00=Missing WSDL document