axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r559668 - /webservices/axis2/branches/java/1_3/modules/java2wsdl/src/org/apache/ws/java2wsdl/Java2WSDL.java
Date Thu, 26 Jul 2007 01:44:01 GMT
Author: dims
Date: Wed Jul 25 18:44:00 2007
New Revision: 559668

URL: http://svn.apache.org/viewvc?view=rev&rev=559668
Log:
cleanup usage for java2wsdl and add the missing options

Modified:
    webservices/axis2/branches/java/1_3/modules/java2wsdl/src/org/apache/ws/java2wsdl/Java2WSDL.java

Modified: webservices/axis2/branches/java/1_3/modules/java2wsdl/src/org/apache/ws/java2wsdl/Java2WSDL.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_3/modules/java2wsdl/src/org/apache/ws/java2wsdl/Java2WSDL.java?view=diff&rev=559668&r1=559667&r2=559668
==============================================================================
--- webservices/axis2/branches/java/1_3/modules/java2wsdl/src/org/apache/ws/java2wsdl/Java2WSDL.java
(original)
+++ webservices/axis2/branches/java/1_3/modules/java2wsdl/src/org/apache/ws/java2wsdl/Java2WSDL.java
Wed Jul 25 18:44:00 2007
@@ -35,26 +35,29 @@
     }
 
     public static void printUsage() {
-        System.out.println("Usage java2wsdl -cn <fully qualified class name> : class
file name");
-        System.out.println("-o <output Location> : output file location");
-        System.out.println("-cp <class path uri> : list of classpath entries - (urls)");
-        System.out.println("-tn <target namespace> : target namespace");
-        System.out.println("-tp <target namespace prefix> : target namespace prefix");
-        System.out.println("-stn <schema target namespace> : target namespace for schema");
-        System.out.println("-stp <schema target namespace prefix> : target namespace
prefix for schema");
-        System.out.println("-sn <service name> : service name");
-        System.out.println("-of <output file name> : output file name for the WSDL");
-        System.out.println("-st <binding style> : style for the WSDL");
-        System.out.println("-u <binding use> : use for the WSDL");
-        System.out.println("-l <soap address> : address of the port for the WSDL");
-        System.out.println("-nsg <generator class name> : fully qualified name of the
class that implements NamespaceGenerator");
-        System.out.println("-p2n [<java package>,<namespace] [<java package>,<namespace]...
: java package to namespace mapping for argument and return types..." +
-                                "\t\t to assign all types to a single namespace : -p2n [all
, <namespace>] ...");
-        System.out.println("-efd <qualified/unqualified> : Setting for elementFormDefault
(defaults to qualified)");
-        System.out.println("-afd <qualified/unqualified> : Setting for attributeFormDefault
(defaults to qualified)");
-        System.out.println("-xc <extra class> : Extra class for which schematype must
be generated.  " +
-                           "\t\tUse as : -xc class1 -xc class2 ...");
-        
+        System.out.println("Usage: java2wsdl [options] -cn <fully qualified class name>");
+        System.out.println("\nwhere [options] include:");
+        System.out.println("  -o <output location>                    output directory");
+        System.out.println("  -of <output file name>                  output file name
for the WSDL");
+        System.out.println("  -sn <service name>                      service name");
+        System.out.println("  -l <soap address>                       address of the
port for the WSDL");
+        System.out.println("  -cp <class path uri>                    list of classpath
entries - (urls)");
+        System.out.println("  -tn <target namespace>                  target namespace
for service");
+        System.out.println("  -tp <target namespace prefix>           target namespace
prefix for service");
+        System.out.println("  -stn <schema target namespace>          target namespace
for schema");
+        System.out.println("  -stp <schema target namespace prefix>   target namespace
prefix for schema");
+        System.out.println("  -st <binding style>                     style for the
WSDL");
+        System.out.println("  -u <binding use>                        use for the WSDL");
+        System.out.println("  -nsg <class name>                       fully qualified
name of a class that implements NamespaceGenerator");
+        System.out.println("  -sg <class name>                        fully qualified
name of a class that implements SchemaGenerator");
+        System.out.println("  -p2n [<java package>,<namespace] [<java package>,<namespace]...
");
+        System.out.println("                                          java package to namespace
mapping for argument and return types");
+        System.out.println("  -p2n [all, <namespace>]                 to assign all
types to a single namespace");
+        System.out.println("  -efd <qualified/unqualified>            setting for elementFormDefault
(defaults to qualified)");
+        System.out.println("  -afd <qualified/unqualified>            setting for attributeFormDefault
(defaults to qualified)");
+        System.out.println("  -xc class1 -xc class2...                extra class(es) for
which schematype must be generated.  ");
+        System.out.println("  -wv <1.1/2.0>                           wsdl version
- defaults to 1.1 if not specified");
+        System.out.println("  -dlb                                    generate schemas conforming
to doc/lit/bare style");
         System.exit(0);
     }
 



---------------------------------------------------------------------
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