Author: jason.greene(a)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=<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
+ * </pre>
+ *
* @author <a href="mailto:jason.greene@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>
+ * <target name="test-wsgen"
depends="init">
+ * <taskdef name="wsgen"
classname="org.jboss.ws.tools.jaxws.ant.WSGenerate">
+ * <classpath refid="core.classpath"/>
+ * </taskdef>
+ * <wsgen
+ * fork="false"
+ * keep="true"
+ * destdir="out"
+ * resourcedestdir="out-resource"
+ * sourcedestdir="out-source"
+ * genwsdl="true"
+ * verbose="true"
+ *
sei="org.jboss.test.ws.jaxws.jsr181.soapbinding.DocWrappedServiceImpl">
+ * <classpath>
+ * <pathelement
path="${tests.output.dir}/classes"/>
+ * </classpath>
+ * </wsgen>
+ * </target>
+ * </pre>
+ *
* @author <a href="mailto:jason.greene@jboss.com">Jason T.
Greene</a>
+ * @version $Revision$
*/
public class WSGenerate extends Task
{
Show replies by date