Class Wsdeploy

  • All Implemented Interfaces:
    Cloneable, org.apache.tools.ant.types.selectors.SelectorContainer

    public class Wsdeploy
    extends org.apache.tools.ant.taskdefs.MatchingTask
    wsdeploy task for use with the JAXRPC project.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.apache.tools.ant.types.Path compileClasspath
      -classpath option
      protected String jvmargs
      -jvmargs option
      protected boolean verbose
      -verbose option
      protected boolean version
      -version option
      • Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask

        fileset
      • Fields inherited from class org.apache.tools.ant.Task

        target, taskName, taskType, wrapper
      • Fields inherited from class org.apache.tools.ant.ProjectComponent

        description, location, project
    • Constructor Summary

      Constructors 
      Constructor Description
      Wsdeploy()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.tools.ant.types.Path createClasspath()
      Creates a nested classpath element.
      void execute()
      Called by the project to let the task do it's work
      org.apache.tools.ant.types.Path getClasspath()
      Gets the classpath.
      org.apache.tools.ant.types.Path getCP()
      Gets the classpath.
      String getF()
      Gets the values for the "f" flag.
      String getFeatures()
      Gets the values for the "features" flag.
      boolean getFork()
      Gets the "keep" flag.
      boolean getIncludeantruntime()
      Gets whether or not the ant classpath is to be included in the task's classpath.
      boolean getIncludejavaruntime()
      Gets whether or not the java runtime should be included in this task's classpath.
      File getInWarFile()
      Gets the input war file.
      String getJvmargs()
      Gets the Java VM options.
      boolean getKeep()
      Gets the "keep" flag.
      File getOutWarFile()
      Gets the output war file.
      String getSource()  
      File getTmpDir()
      Gets the temporary directory to use.
      boolean getVerbose()
      Gets the "verbose" flag.
      boolean getVersion()
      Gets the "version" flag.
      void setClasspath​(org.apache.tools.ant.types.Path classpath)
      Set the classpath to be used for this compilation.
      void setClasspathRef​(org.apache.tools.ant.types.Reference r)
      Adds a reference to a CLASSPATH defined elsewhere.
      void setCP​(org.apache.tools.ant.types.Path classpath)
      Set the classpath to be used for this compilation.
      void setF​(String features)
      Sets the values for the "f" flag.
      void setFeatures​(String features)
      Sets the values for the "features" flag.
      void setFork​(boolean fork)
      Sets the "fork" flag.
      void setIncludeantruntime​(boolean include)
      Include ant's own classpath in this task's classpath?
      void setIncludejavaruntime​(boolean include)
      Sets whether or not to include the java runtime libraries to this task's classpath.
      void setInWarFile​(File warFile)
      Sets the input war file.
      void setJvmargs​(String jvmargs)
      Sets the Java VM options.
      void setKeep​(boolean keep)
      Sets the "keep" flag.
      void setOutWarFile​(File outWarFile)
      Sets the output war file.
      void setSource​(String version)
      Sets the -source
      void setTmpDir​(File tmpDir)
      Sets the temporary directory to use.
      void setVerbose​(boolean verbose)
      Sets the "verbose" flag.
      void setVersion​(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
      • Methods inherited from class org.apache.tools.ant.ProjectComponent

        clone, getDescription, getLocation, getProject, setDescription, setLocation
    • 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
    • Constructor Detail

      • Wsdeploy

        public Wsdeploy()
    • 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.BuildException
        Called by the project to let the task do it's work
        Overrides:
        execute in class org.apache.tools.ant.Task
        Throws:
        org.apache.tools.ant.BuildException