[jbossws-commits] JBossWS SVN: r2160 - in trunk/jbossws-core: src/main/java/org/jboss/ws/tools/jaxws and 1 other directories.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Sat Jan 27 01:40:28 EST 2007


Author: jason.greene at jboss.com
Date: 2007-01-27 01:40:27 -0500 (Sat, 27 Jan 2007)
New Revision: 2160

Modified:
   trunk/jbossws-core/build.xml
   trunk/jbossws-core/src/main/java/org/jboss/ws/tools/jaxws/WSGenerate.java
   trunk/jbossws-core/src/main/java/org/jboss/ws/tools/jaxws/ant/WSGenerate.java
Log:
Update javadoc
Add scripts to jbossws-client.jar


Modified: trunk/jbossws-core/build.xml
===================================================================
--- trunk/jbossws-core/build.xml	2007-01-27 06:21:28 UTC (rev 2159)
+++ trunk/jbossws-core/build.xml	2007-01-27 06:40:27 UTC (rev 2160)
@@ -164,6 +164,8 @@
         <include name="dtd/**"/>
       </fileset>
       <fileset dir="${etc.dir}">
+        <include name="wsgen.sh"/>
+        <include name="wsgen.bat"/>
         <include name="wstools.sh"/>
         <include name="wstools.bat"/>
         <include name="wstools-log4j.xml"/>

Modified: trunk/jbossws-core/src/main/java/org/jboss/ws/tools/jaxws/WSGenerate.java
===================================================================
--- trunk/jbossws-core/src/main/java/org/jboss/ws/tools/jaxws/WSGenerate.java	2007-01-27 06:21:28 UTC (rev 2159)
+++ trunk/jbossws-core/src/main/java/org/jboss/ws/tools/jaxws/WSGenerate.java	2007-01-27 06:40:27 UTC (rev 2160)
@@ -39,7 +39,21 @@
  * WSGenerate is a command line tool that generates portable JAX-WS artifacts
  * for a service endpoint implementation.
  * 
+ * <pre>
+ *  options: 
+ *  -h, --help                  Show this help message
+ *  -k, --keep                  Keep/Generate Java source
+ *  -w, --wsdl                  Enable WSDL file generation
+ *  -c. --classpath             The classpath that contains the endpoint
+ *  -o, --output=&lt;directory&gt;    The directory to put generated artifacts
+ *  -r, --resource=&lt;directory&gt;  The directory to put resource artifacts
+ *  -s, --source=&lt;directory&gt;    The directory to put Java source
+ *  -q, --quiet                 Be somewhat more quiet
+ *  -t, --show-traces           Show full exception stack traces
+ * </pre>
+ * 
  * @author <a href="mailto:jason.greene at jboss.com">Jason T. Greene</a>
+ * @version $Revision$
  */
 public class WSGenerate
 {

Modified: trunk/jbossws-core/src/main/java/org/jboss/ws/tools/jaxws/ant/WSGenerate.java
===================================================================
--- trunk/jbossws-core/src/main/java/org/jboss/ws/tools/jaxws/ant/WSGenerate.java	2007-01-27 06:21:28 UTC (rev 2159)
+++ trunk/jbossws-core/src/main/java/org/jboss/ws/tools/jaxws/ant/WSGenerate.java	2007-01-27 06:40:27 UTC (rev 2160)
@@ -38,7 +38,31 @@
 /**
  * Ant task which invokes WebServiceGenerate.
  * 
+ * Example:
+ * 
+ * <pre>
+ *  &lt;target name=&quot;test-wsgen&quot; depends=&quot;init&quot;&gt;
+ *    &lt;taskdef name=&quot;wsgen&quot; classname=&quot;org.jboss.ws.tools.jaxws.ant.WSGenerate&quot;&gt;
+ *      &lt;classpath refid=&quot;core.classpath&quot;/&gt;
+ *    &lt;/taskdef&gt;
+ *    &lt;wsgen
+ *      fork=&quot;false&quot;
+ *      keep=&quot;true&quot;
+ *      destdir=&quot;out&quot;
+ *      resourcedestdir=&quot;out-resource&quot;
+ *      sourcedestdir=&quot;out-source&quot;
+ *      genwsdl=&quot;true&quot; 
+ *      verbose=&quot;true&quot;
+ *      sei=&quot;org.jboss.test.ws.jaxws.jsr181.soapbinding.DocWrappedServiceImpl&quot;&gt;
+ *      &lt;classpath&gt;
+ *        &lt;pathelement path=&quot;${tests.output.dir}/classes&quot;/&gt;
+ *      &lt;/classpath&gt;
+ *    &lt;/wsgen&gt;
+ *  &lt;/target&gt;
+ * </pre>
+ * 
  * @author <a href="mailto:jason.greene at jboss.com">Jason T. Greene</a>
+ * @version $Revision$
  */
 public class WSGenerate extends Task
 {




More information about the jbossws-commits mailing list