public class WSDeploy
extends com.ibm.ws.webservices.tools.ant.WSDeploy
The inputFile attribute is required and contains the undeployed EAR file you wish to deploy.Constructor and Description |
---|
WSDeploy()
Constructor for WSDeploy
|
Modifier and Type | Method and Description |
---|---|
org.apache.tools.ant.types.Path |
createClasspath()
Creates a nested classpath element.
|
void |
execute() |
void |
setClasspath(org.apache.tools.ant.types.Path classpath)
Sets the compilation classpath from a string of colon or semicolon separated jar file names.
|
void |
setIgnoreErrors(boolean ignoreErrors)
Continue deploying even in the presence of errors.
|
void |
setInputFile(java.lang.String inputFile)
Set the input EAR file name
This value is required.
|
void |
setNoValidate(boolean noValidate)
Disable Web Services validation when the parameter is true.
|
void |
setOutputFile(java.lang.String outputFile)
Sets the output EAR file name.
|
void |
setTrace(boolean trace)
Enable trace of file generation and compilation.
|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public org.apache.tools.ant.types.Path createClasspath()
public void setClasspath(org.apache.tools.ant.types.Path classpath)
classpath
- The jar files to be added to the compilation classpath.public void setIgnoreErrors(boolean ignoreErrors)
setIgnoreErrors
in class com.ibm.ws.webservices.tools.ant.WSDeploy
ignoreErrors
- Continue in the presence of errors when true.public void setInputFile(java.lang.String inputFile)
setInputFile
in class com.ibm.ws.webservices.tools.ant.WSDeploy
inputFile
- The file system path of the input EAR filepublic void setNoValidate(boolean noValidate)
setNoValidate
in class com.ibm.ws.webservices.tools.ant.WSDeploy
noValidate
- Disable validation when true.public void setOutputFile(java.lang.String outputFile)
setOutputFile
in class com.ibm.ws.webservices.tools.ant.WSDeploy
outputFile
- The file system path of the output EAR file.public void setTrace(boolean trace)
setTrace
in class com.ibm.ws.webservices.tools.ant.WSDeploy
trace
- If true, display trace informationpublic void execute() throws org.apache.tools.ant.BuildException
execute
in class com.ibm.ws.webservices.tools.ant.WSDeploy
org.apache.tools.ant.BuildException
Task#execute()