|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.ibm.ws.webservices.tools.ant.WSDeploy
com.ibm.websphere.ant.tasks.WSDeploy
public class WSDeploy
The wsdeploy task executes the WebSphere Web Services Deploy tool on the specified EAR file with the specified options. The structure of the wsdeploy task is shown below:
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.Task |
---|
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
project |
Constructor Summary | |
---|---|
WSDeploy()
Constructor for WSDeploy |
Method Summary | |
---|---|
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. |
Methods inherited from class com.ibm.ws.webservices.tools.ant.WSDeploy |
---|
setClassPath, setDebug |
Methods inherited from class org.apache.tools.ant.Task |
---|
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 |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
getProject, setProject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WSDeploy()
Method Detail |
---|
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()
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |