Package com.sun.xml.rpc.tools.ant
Class Wsdeploy
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- org.apache.tools.ant.taskdefs.MatchingTask
-
- com.sun.xml.rpc.tools.ant.Wsdeploy
-
- All Implemented Interfaces:
Cloneable,org.apache.tools.ant.types.selectors.SelectorContainer
public class Wsdeploy extends org.apache.tools.ant.taskdefs.MatchingTaskwsdeploy task for use with the JAXRPC project.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.tools.ant.types.PathcompileClasspath-classpath optionprotected Stringjvmargs-jvmargs optionprotected booleanverbose-verbose optionprotected booleanversion-version option
-
Constructor Summary
Constructors Constructor Description Wsdeploy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.tools.ant.types.PathcreateClasspath()Creates a nested classpath element.voidexecute()Called by the project to let the task do it's workorg.apache.tools.ant.types.PathgetClasspath()Gets the classpath.org.apache.tools.ant.types.PathgetCP()Gets the classpath.StringgetF()Gets the values for the "f" flag.StringgetFeatures()Gets the values for the "features" flag.booleangetFork()Gets the "keep" flag.booleangetIncludeantruntime()Gets whether or not the ant classpath is to be included in the task's classpath.booleangetIncludejavaruntime()Gets whether or not the java runtime should be included in this task's classpath.FilegetInWarFile()Gets the input war file.StringgetJvmargs()Gets the Java VM options.booleangetKeep()Gets the "keep" flag.FilegetOutWarFile()Gets the output war file.StringgetSource()FilegetTmpDir()Gets the temporary directory to use.booleangetVerbose()Gets the "verbose" flag.booleangetVersion()Gets the "version" flag.voidsetClasspath(org.apache.tools.ant.types.Path classpath)Set the classpath to be used for this compilation.voidsetClasspathRef(org.apache.tools.ant.types.Reference r)Adds a reference to a CLASSPATH defined elsewhere.voidsetCP(org.apache.tools.ant.types.Path classpath)Set the classpath to be used for this compilation.voidsetF(String features)Sets the values for the "f" flag.voidsetFeatures(String features)Sets the values for the "features" flag.voidsetFork(boolean fork)Sets the "fork" flag.voidsetIncludeantruntime(boolean include)Include ant's own classpath in this task's classpath?voidsetIncludejavaruntime(boolean include)Sets whether or not to include the java runtime libraries to this task's classpath.voidsetInWarFile(File warFile)Sets the input war file.voidsetJvmargs(String jvmargs)Sets the Java VM options.voidsetKeep(boolean keep)Sets the "keep" flag.voidsetOutWarFile(File outWarFile)Sets the output war file.voidsetSource(String version)Sets the -sourcevoidsetTmpDir(File tmpDir)Sets the temporary directory to use.voidsetVerbose(boolean verbose)Sets the "verbose" flag.voidsetVersion(boolean version)Sets the "version" flag.-
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems
-
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
-
-
-
-
Field Detail
-
compileClasspath
protected org.apache.tools.ant.types.Path compileClasspath
-classpath option
-
jvmargs
protected String jvmargs
-jvmargs option
-
verbose
protected boolean verbose
-verbose option
-
version
protected boolean version
-version option
-
-
Method Detail
-
getF
public String getF()
Gets the values for the "f" flag.
-
setF
public void setF(String features)
Sets the values for the "f" flag.
-
getFeatures
public String getFeatures()
Gets the values for the "features" flag.
-
setFeatures
public void setFeatures(String features)
Sets the values for the "features" flag.
-
getClasspath
public org.apache.tools.ant.types.Path getClasspath()
Gets the classpath.
-
setClasspath
public void setClasspath(org.apache.tools.ant.types.Path classpath)
Set the classpath to be used for this compilation.
-
createClasspath
public org.apache.tools.ant.types.Path createClasspath()
Creates a nested classpath element.
-
setClasspathRef
public void setClasspathRef(org.apache.tools.ant.types.Reference r)
Adds a reference to a CLASSPATH defined elsewhere.
-
getCP
public org.apache.tools.ant.types.Path getCP()
Gets the classpath.
-
setCP
public void setCP(org.apache.tools.ant.types.Path classpath)
Set the classpath to be used for this compilation.
-
getFork
public boolean getFork()
Gets the "keep" flag.
-
setFork
public void setFork(boolean fork)
Sets the "fork" flag.
-
getJvmargs
public String getJvmargs()
Gets the Java VM options.
-
setJvmargs
public void setJvmargs(String jvmargs)
Sets the Java VM options.
-
getKeep
public boolean getKeep()
Gets the "keep" flag.
-
setKeep
public void setKeep(boolean keep)
Sets the "keep" flag.
-
getTmpDir
public File getTmpDir()
Gets the temporary directory to use.
-
setTmpDir
public void setTmpDir(File tmpDir)
Sets the temporary directory to use.
-
getSource
public String getSource()
-
setSource
public void setSource(String version)
Sets the -source
-
getOutWarFile
public File getOutWarFile()
Gets the output war file.
-
setOutWarFile
public void setOutWarFile(File outWarFile)
Sets the output war file.
-
getVerbose
public boolean getVerbose()
Gets the "verbose" flag.
-
setVerbose
public void setVerbose(boolean verbose)
Sets the "verbose" flag.
-
getVersion
public boolean getVersion()
Gets the "version" flag.
-
setVersion
public void setVersion(boolean version)
Sets the "version" flag.
-
getInWarFile
public File getInWarFile()
Gets the input war file.
-
setInWarFile
public void setInWarFile(File warFile)
Sets the input war file.
-
setIncludeantruntime
public void setIncludeantruntime(boolean include)
Include ant's own classpath in this task's classpath?
-
getIncludeantruntime
public boolean getIncludeantruntime()
Gets whether or not the ant classpath is to be included in the task's classpath.
-
setIncludejavaruntime
public void setIncludejavaruntime(boolean include)
Sets whether or not to include the java runtime libraries to this task's classpath.
-
getIncludejavaruntime
public boolean getIncludejavaruntime()
Gets whether or not the java runtime should be included in this task's classpath.
-
execute
public void execute() throws org.apache.tools.ant.BuildExceptionCalled by the project to let the task do it's work- Overrides:
executein classorg.apache.tools.ant.Task- Throws:
org.apache.tools.ant.BuildException
-
-