Java Reference
In-Depth Information
This task mirrors the command-line tool, so I won't explain it further except to mention that
the nested classpath element is a regular Ant path like any other. In order to use the <wsgen>
task, you need to point to the implementing class in your Ant build script:
<taskdef name="wsgen" classname="com.sun.tools.ws.ant.WsGen">
<classpath path="jaxws.classpath"/>
</taskdef>
Using wsgen in Maven 2
If you want to use wsgen as part of a Maven 2 build, you can get the plug-in at ht-
tp://mojo.codehaus.org/jaxws-maven-plugin/wsgen-mojo.html . It will automatically execute
during the generate-sources phase.
Search WWH ::




Custom Search