axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r559675 - in /webservices/axis2/branches/java/1_3/modules/codegen/src/org/apache/axis2/wsdl: WSDL2Code.java i18n/resource.properties
Date Thu, 26 Jul 2007 02:29:27 GMT
Author: dims
Date: Wed Jul 25 19:29:26 2007
New Revision: 559675

URL: http://svn.apache.org/viewvc?view=rev&rev=559675
Log:
cleanup Usage printout for WSDL2Java

Modified:
    webservices/axis2/branches/java/1_3/modules/codegen/src/org/apache/axis2/wsdl/WSDL2Code.java
    webservices/axis2/branches/java/1_3/modules/codegen/src/org/apache/axis2/wsdl/i18n/resource.properties

Modified: webservices/axis2/branches/java/1_3/modules/codegen/src/org/apache/axis2/wsdl/WSDL2Code.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_3/modules/codegen/src/org/apache/axis2/wsdl/WSDL2Code.java?view=diff&rev=559675&r1=559674&r2=559675
==============================================================================
--- webservices/axis2/branches/java/1_3/modules/codegen/src/org/apache/axis2/wsdl/WSDL2Code.java
(original)
+++ webservices/axis2/branches/java/1_3/modules/codegen/src/org/apache/axis2/wsdl/WSDL2Code.java
Wed Jul 25 19:29:26 2007
@@ -38,33 +38,11 @@
 
     private static void printUsage() {
 
+        System.out.println(CodegenMessages.getMessage("wsdl2code.arg"));
         System.out.println(CodegenMessages.getMessage("wsdl2code.arg1"));
-        System.out.println(CodegenMessages.getMessage("wsdl2code.arg2"));
-        System.out.println(CodegenMessages.getMessage("wsdl2code.arg3"));
-        System.out.println(CodegenMessages.getMessage("wsdl2code.arg4"));
-        System.out.println(CodegenMessages.getMessage("wsdl2code.arg5"));
-        System.out.println(CodegenMessages.getMessage("wsdl2code.arg6"));
-        System.out.println(CodegenMessages.getMessage("wsdl2code.arg7"));
-        System.out.println(CodegenMessages.getMessage("wsdl2code.arg8"));
-        System.out.println(CodegenMessages.getMessage("wsdl2code.arg9"));
-        System.out.println(CodegenMessages.getMessage("wsdl2code.arg10"));
-        System.out.println(CodegenMessages.getMessage("wsdl2code.arg11"));
-        System.out.println(CodegenMessages.getMessage("wsdl2code.arg12"));
-        System.out.println(CodegenMessages.getMessage("wsdl2code.arg13"));
-        System.out.println(CodegenMessages.getMessage("wsdl2code.arg14"));
-        System.out.println(CodegenMessages.getMessage("wsdl2code.arg15"));
-        System.out.println(CodegenMessages.getMessage("wsdl2code.arg16"));
-        System.out.println(CodegenMessages.getMessage("wsdl2code.arg17"));
-        System.out.println(CodegenMessages.getMessage("wsdl2code.arg18"));
-        System.out.println(CodegenMessages.getMessage("wsdl2code.arg19"));
-        System.out.println(CodegenMessages.getMessage("wsdl2code.arg20"));
-        System.out.println(CodegenMessages.getMessage("wsdl2code.arg21"));
-        System.out.println(CodegenMessages.getMessage("wsdl2code.arg22"));
-        System.out.println(CodegenMessages.getMessage("wsdl2code.arg23"));
-        System.out.println(CodegenMessages.getMessage("wsdl2code.arg24"));
-        System.out.println(CodegenMessages.getMessage("wsdl2code.arg24"));
-        System.out.println(CodegenMessages.getMessage("wsdl2code.arg24"));
-
+        for (int i = 2; i <= 31; i++) {
+            System.out.println("  " + CodegenMessages.getMessage("wsdl2code.arg" + i));
+        }
         System.exit(0);
     }
 

Modified: webservices/axis2/branches/java/1_3/modules/codegen/src/org/apache/axis2/wsdl/i18n/resource.properties
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_3/modules/codegen/src/org/apache/axis2/wsdl/i18n/resource.properties?view=diff&rev=559675&r1=559674&r2=559675
==============================================================================
--- webservices/axis2/branches/java/1_3/modules/codegen/src/org/apache/axis2/wsdl/i18n/resource.properties
(original)
+++ webservices/axis2/branches/java/1_3/modules/codegen/src/org/apache/axis2/wsdl/i18n/resource.properties
Wed Jul 25 19:29:26 2007
@@ -33,33 +33,38 @@
 #     will serve as a base for other translators.
 #
 ################## WSDL2Code ######################################
-wsdl2code.arg1=Usage: WSDL2Java -uri <url or path> : A url or path to a WSDL
-wsdl2code.arg2=\t  -o <path>                Specify a directory path for the generated
code.
-wsdl2code.arg3=\t  -a                       Generate async style code only (Default: off).
-wsdl2code.arg4=\t  -s                       Generate sync style code only (Default: off).
Takes precedence over -a.
-wsdl2code.arg5=\t  -p <pkg1>                Specify a custom package name for the generated
code.
-wsdl2code.arg6=\t  -l <language>            Valid languages are java and c (Default:
java).
-wsdl2code.arg7=\t  -t                       Generate a test case for the generated code.
-wsdl2code.arg8=\t  -ss                      Generate server side code (i.e. skeletons) (Default:
off).
-wsdl2code.arg9=\t  -sd                      Generate service descriptor (i.e. services.xml).
(Default: off). Valid with -ss.
-wsdl2code.arg10=\t  -d <databinding>         Valid databinding(s) are adb, xmlbeans,
jibx, jaxme and jaxbri (Default: adb).
-wsdl2code.arg11=\t  -g                       Generates all the classes. Valid only with -ss.
-wsdl2code.arg12=\t  -pn <port_name>          Choose a specific port when there are
multiple ports in the wsdl.
-wsdl2code.arg13=\t  -sn <service_name>       Choose a specific service when there are
multiple services in the wsdl.
-wsdl2code.arg14=\t  -u                       Unpacks the databinding classes
-wsdl2code.arg15=\t  -r <path>                Specify a repository against which code
is generated.
-wsdl2code.arg16=\t  -ns2p ns1=pkg1,ns2=pkg2  Specify a custom package name for each namespace
specified in the wsdl's schema.
-wsdl2code.arg17=\t  -ssi                     Generate an interface for the service implementation
(Default: off).
-wsdl2code.arg18=\t  -wv                      WSDL Version. Valid Options : 2, 2.0, 1.1
-wsdl2code.arg19=\t  -S                      Specify a directory path for generated source
-wsdl2code.arg20=\t  -R                      Specify a directory path for generated resources
-wsdl2code.arg21=\t  -em                      Specify an external mapping file
-wsdl2code.arg22=\t  -f                      Flattens the generated files
-wsdl2code.arg23=\t  -uw                      Switch on un-wrapping.
-wsdl2code.arg24=\t  -xsdconfig <path to file> Use XMLBeans .xsdconfig file. Valid only
with -d xmlbeans.
-wsdl2code.arg25=\t  -ap <all-ports> generate code for all ports
-wsdl2code.arg26=\t  -or <over-ride> override the existing classes
-#wsdl2code.arg19=\t  -b                       Generate Axis 1.x backword compatible code.
+wsdl2code.arg=Usage: WSDL2Java [options] -uri <url or path> : A url or path to a WSDL
+wsdl2code.arg1=\nwhere [options] include:
+wsdl2code.arg2=  -o <path>                Specify a directory path for the generated
code.
+wsdl2code.arg3=  -a                       Generate async style code only (Default: off).
+wsdl2code.arg4=  -s                       Generate sync style code only (Default: off). Takes
precedence over -a.
+wsdl2code.arg5=  -p <pkg1>                Specify a custom package name for the generated
code.
+wsdl2code.arg6=  -l <language>            Valid languages are java and c (Default:
java).
+wsdl2code.arg7=  -t                       Generate a test case for the generated code.
+wsdl2code.arg8=  -ss                      Generate server side code (i.e. skeletons) (Default:
off).
+wsdl2code.arg9=  -sd                      Generate service descriptor (i.e. services.xml).
(Default: off). Valid with -ss.
+wsdl2code.arg10=  -d <databinding>         Valid databinding(s) are adb, xmlbeans,
jibx, jaxme and jaxbri (Default: adb).
+wsdl2code.arg11=  -g                       Generates all the classes. Valid only with -ss.
+wsdl2code.arg12=  -pn <port_name>          Choose a specific port when there are multiple
ports in the wsdl.
+wsdl2code.arg13=  -sn <service_name>       Choose a specific service when there are
multiple services in the wsdl.
+wsdl2code.arg14=  -u                       Unpacks the databinding classes
+wsdl2code.arg15=  -r <path>                Specify a repository against which code
is generated.
+wsdl2code.arg16=  -ns2p ns1=pkg1,ns2=pkg2  Specify a custom package name for each namespace
specified in the wsdl's schema.
+wsdl2code.arg17=  -ssi                     Generate an interface for the service implementation
(Default: off).
+wsdl2code.arg18=  -wv <version>            WSDL Version. Valid Options : 2, 2.0, 1.1
+wsdl2code.arg19=  -S                       Specify a directory path for generated source
+wsdl2code.arg20=  -R                       Specify a directory path for generated resources
+wsdl2code.arg21=  -em                      Specify an external mapping file
+wsdl2code.arg22=  -f                       Flattens the generated files
+wsdl2code.arg23=  -uw                      Switch on un-wrapping.
+wsdl2code.arg24=  -xsdconfig <file path>   Use XMLBeans .xsdconfig file. Valid only
with -d xmlbeans.
+wsdl2code.arg25=  -ap                      Generate code for all ports
+wsdl2code.arg26=  -or                      Overwrite the existing classes
+wsdl2code.arg27=  -b                       Generate Axis 1.x backword compatible code.
+wsdl2code.arg28=  -sp                      Suppress namespace prefixes (Optimzation that
reduces size of soap request/response)
+wsdl2code.arg29=  --noBuildXML             Don't generate the build.xml in the output directory
+wsdl2code.arg30=  --noWSDL                 Don't generate WSDL's in the resources directory
+wsdl2code.arg31=  --noMessageReceiver      Don't generate a MessageReceiver in the generated
sources
 
 ################## prop file loader #################################
 propfileload.frameworkMismatch=Number of frameworks and extension names do not match!



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message