Author: richard.opalka(a)jboss.com
Date: 2010-03-03 06:45:47 -0500 (Wed, 03 Mar 2010)
New Revision: 11713
Modified:
spi/trunk/src/main/java/org/jboss/wsf/spi/tools/WSContractConsumer.java
spi/trunk/src/main/java/org/jboss/wsf/spi/tools/ant/WSConsumeTask.java
spi/trunk/src/main/java/org/jboss/wsf/spi/tools/cmd/WSConsume.java
spi/trunk/src/main/java/org/jboss/wsf/spi/tools/cmd/WSProvide.java
Log:
[JBWS-2950] documenting JAX-WS 2.2 target in wsconsume
Modified: spi/trunk/src/main/java/org/jboss/wsf/spi/tools/WSContractConsumer.java
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/tools/WSContractConsumer.java 2010-03-03
11:44:53 UTC (rev 11712)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/tools/WSContractConsumer.java 2010-03-03
11:45:47 UTC (rev 11713)
@@ -165,8 +165,8 @@
public abstract void setAdditionalCompilerClassPath(List<String> classPath);
/**
- * Set the target JAX-WS specification target. Defaults to
<code>2.0</code>
- * @param target the JAX-WS specification version. Allowed values are 2.0, 2.1
+ * Set the target JAX-WS specification target. Allowed values are 2.0, 2.1 and 2.2
+ * @param target the JAX-WS specification version.
*/
public abstract void setTarget(String target);
Modified: spi/trunk/src/main/java/org/jboss/wsf/spi/tools/ant/WSConsumeTask.java
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/tools/ant/WSConsumeTask.java 2010-03-03
11:44:53 UTC (rev 11712)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/tools/ant/WSConsumeTask.java 2010-03-03
11:45:47 UTC (rev 11713)
@@ -53,7 +53,7 @@
* <tr><td>destdir</td><td>The output directory for generated
artifacts.</td><td>"output"</td></tr>
* <tr><td>sourcedestdir</td><td>The output directory for Java
source.</td><td>value of destdir</td></tr>
* <tr><td>extension</td><td>Enable SOAP 1.2 binding
extension.</td><td>false</td></tr>
- * <tr><td>target</td><td>The JAX-WS specification
target</td><td>2.0 | 2.1</td></tr>
+ * <tr><td>target</td><td>The JAX-WS specification target.
Allowed values are 2.0, 2.1 and 2.2</td><td></td></tr>
* <tr><td>verbose</td><td>Enables more informational output
about cmd progress.</td><td>false</td><tr>
* <tr><td>wsdl*</td><td>The WSDL file or
URL</td><td>n/a</td><tr>
* </table>
Modified: spi/trunk/src/main/java/org/jboss/wsf/spi/tools/cmd/WSConsume.java
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/tools/cmd/WSConsume.java 2010-03-03 11:44:53
UTC (rev 11712)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/tools/cmd/WSConsume.java 2010-03-03 11:45:47
UTC (rev 11713)
@@ -39,19 +39,21 @@
* <pre>
* usage: WSConsumeTask [options] <wsdl-url>
* options:
- * -h, --help Show this help message
- * -b, --binding=<file> One or more JAX-WS or JAXB binding files
- * -k, --keep Keep/Generate Java source
- * -c --catalog=<file> Oasis XML Catalog file for entity resolution
- * -p --package=<name> The target package for generated source
- * -w --wsdlLocation=<loc> Value to use for @(a)WebService.wsdlLocation
- * -o, --output=<directory> The directory to put generated artifacts
- * -s, --source=<directory> The directory to put Java source
- * -t, --target=<2.0|2.1> The target specification target
- * -q, --quiet Be somewhat more quiet
- * -v, --verbose Show full exception stack traces
- * -l, --load-consumer Load the consumer and exit (debug utility)
- * -e, --extension Enable SOAP 1.2 binding extension
+ * <table>
+ * <tr><td>-h, --help </td><td>Show this
help message</td></tr>
+ * <tr><td>-b, --binding=<file> </td><td>One
or more JAX-WS or JAXB binding files</td></tr>
+ * <tr><td>-k, --keep
</td><td>Keep/Generate Java source</td></tr>
+ * <tr><td>-c, --catalog=<file>
</td><td>Oasis XML Catalog file for entity resolution</td></tr>
+ * <tr><td>-p, --package=<name> </td><td>The
target package for generated source</td></tr>
+ * <tr><td>-w, --wsdlLocation=<loc>
</td><td>Value to use for @(a)WebService.wsdlLocation</td></tr>
+ * <tr><td>-o, --output=<directory> </td><td>The
directory to put generated artifacts</td></tr>
+ * <tr><td>-s, --source=<directory> </td><td>The
directory to put Java source</td></tr>
+ * <tr><td>-t, --target=<2.0|2.1|2.2></td><td>The
target specification target</td></tr>
+ * <tr><td>-q, --quiet </td><td>Be somewhat
more quiet</td></tr>
+ * <tr><td>-v, --verbose </td><td>Show full
exception stack traces</td></tr>
+ * <tr><td>-l, --load-consumer </td><td>Load the
consumer and exit (debug utility)</td></tr>
+ * <tr><td>-e, --extension </td><td>Enable SOAP
1.2 binding extension</td></tr>
+ * </table>
* </pre>
*
* @author <a href="mailto:jason.greene@jboss.com">Jason T.
Greene</a>
@@ -264,7 +266,7 @@
out.println(" -w --wsdlLocation=<loc> Value to use for
@WebService.wsdlLocation");
out.println(" -o, --output=<directory> The directory to put
generated artifacts");
out.println(" -s, --source=<directory> The directory to put Java
source");
- out.println(" -t, --target=<2.0|2.1> The JAX-WS specification
target");
+ out.println(" -t, --target=<2.0|2.1|2.2> The JAX-WS specification
target");
out.println(" -q, --quiet Be somewhat more quiet");
out.println(" -v, --verbose Show full exception stack
traces");
out.println(" -l, --load-consumer Load the consumer and exit (debug
utility)");
Modified: spi/trunk/src/main/java/org/jboss/wsf/spi/tools/cmd/WSProvide.java
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/tools/cmd/WSProvide.java 2010-03-03 11:44:53
UTC (rev 11712)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/tools/cmd/WSProvide.java 2010-03-03 11:45:47
UTC (rev 11713)
@@ -41,17 +41,18 @@
* <pre>
* usage: WSProvideTask [options] <endpoint class name>
* options:
- * -h, --help Show this help message
- * -k, --keep Keep/Generate Java source
- * -w, --wsdl Enable WSDL file generation
- * -c, --classpath=<path< The classpath that contains the endpoint
- * -o, --output=<directory> The directory to put generated artifacts
- * -r, --resource=<directory> The directory to put resource artifacts
- * -s, --source=<directory> The directory to put Java source
- * -q, --quiet Be somewhat more quiet
- * -t, --show-traces Show full exception stack traces
- * -l, --load-provider Load the provider and exit (debug utility)
- * -e, --extension Enable SOAP 1.2 binding extension
+ * <table>
+ * <tr><td>-h, --help </td><td>Show this
help message</td></tr>
+ * <tr><td>-k, --keep
</td><td>Keep/Generate Java source</td></tr>
+ * <tr><td>-w, --wsdl </td><td>Enable WSDL
file generation</td></tr>
+ * <tr><td>-c, --classpath=<path< </td><td>The
classpath that contains the endpoint</td></tr>
+ * <tr><td>-o, --output=<directory> </td><td>The
directory to put generated artifacts</td></tr>
+ * <tr><td>-r, --resource=<directory></td><td>The
directory to put resource artifacts</td></tr>
+ * <tr><td>-s, --source=<directory> </td><td>The
directory to put Java source</td></tr>
+ * <tr><td>-q, --quiet </td><td>Be somewhat
more quiet</td></tr>
+ * <tr><td>-t, --show-traces </td><td>Show full
exception stack traces</td></tr>
+ * <tr><td>-l, --load-provider </td><td>Load the
provider and exit (debug utility)</td></tr>
+ * <tr><td>-e, --extension </td><td>Enable SOAP
1.2 binding extension</td></tr>
* </pre>
*
* @author <a href="mailto:jason.greene@jboss.com">Jason T.
Greene</a>