org.jboss.ws.tools.ant
public class WSProvideTask extends org.apache.tools.ant.Task
Attribute | Description | Default |
---|---|---|
fork | Whether or not to run the generation task in a separate VM. | true |
keep | Keep/Enable Java source code generation. | false |
destdir | The output directory for generated artifacts. | "output" |
resourcedestdir | The output directory for resource artifacts (WSDL/XSD). | value of destdir |
sourcedestdir | The output directory for Java source. | value of destdir |
genwsdl | Whether or not to generate WSDL. | false |
address | The generated port soap:address in wsdl. | |
extension | Enable SOAP 1.2 binding extension. | false |
verbose | Enables more informational output about cmd progress. | false |
sei | Service Endpoint Implementation. | |
classpath | The classpath that contains the service endpoint implementation. | "" |
Example:
<target name="test-wsproivde" depends="init"> <taskdef name="WSProvideTask" classname="org.jboss.ws.tools.ant.WSProvideTask"> <classpath refid="core.classpath"/> </taskdef> <WSProvideTask fork="false" keep="true" destdir="out" resourcedestdir="out-resource" sourcedestdir="out-source" genwsdl="true" extension="true" verbose="true" sei="org.jboss.test.ws.jaxws.jsr181.soapbinding.DocWrappedServiceImpl"> <classpath> <pathelement path="${tests.output.dir}/classes"/> </classpath> </WSProvideTask> </target>
Constructor and Description |
---|
WSProvideTask() |
Modifier and Type | Method and Description |
---|---|
org.apache.tools.ant.types.Path |
createClasspath() |
org.apache.tools.ant.types.Commandline.Argument |
createJvmarg() |
void |
execute() |
void |
executeNonForked() |
void |
setClasspath(org.apache.tools.ant.types.Path classpath) |
void |
setClasspathRef(org.apache.tools.ant.types.Reference ref) |
void |
setDebug(boolean debug) |
void |
setDestdir(File destdir) |
void |
setExtension(boolean extension) |
void |
setFork(boolean fork) |
void |
setGenwsdl(boolean genwsdl) |
void |
setKeep(boolean keep) |
void |
setPortSoapAddress(String portSoapAddress) |
void |
setProtocol(String protocol) |
void |
setResourcedestdir(File resourcedestdir) |
void |
setSei(String sei) |
void |
setSourcedestdir(File sourcedestdir) |
void |
setVerbose(boolean verbose) |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void setDebug(boolean debug)
public org.apache.tools.ant.types.Commandline.Argument createJvmarg()
public void setClasspath(org.apache.tools.ant.types.Path classpath)
public void setClasspathRef(org.apache.tools.ant.types.Reference ref)
public org.apache.tools.ant.types.Path createClasspath()
public void setDestdir(File destdir)
public void setExtension(boolean extension)
public void setProtocol(String protocol)
public void setKeep(boolean keep)
public void setSei(String sei)
public void setFork(boolean fork)
public void setResourcedestdir(File resourcedestdir)
public void setSourcedestdir(File sourcedestdir)
public void setVerbose(boolean verbose)
public void setGenwsdl(boolean genwsdl)
public void setPortSoapAddress(String portSoapAddress)
public void executeNonForked()
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
Copyright © 2013 JBoss, by Red Hat. All Rights Reserved.