Class Apt

  • All Implemented Interfaces:
    Cloneable

    @Deprecated
    public class Apt
    extends org.apache.tools.ant.Task
    Deprecated.
    Reincarnation of old APT task The task has the same API as old one, with only difference that it isn't possible to set additional annotation factories Ant task which will process JAX-WS annotations
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Apt.Jvmarg
      Deprecated.
       
      static class  Apt.Option
      Deprecated.
       
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.apache.tools.ant.types.Path bootclassPath
      Deprecated.
      -bootclasspath option: override location of bootstrap class files
      protected org.apache.tools.ant.types.Path compileClasspath
      Deprecated.
      -classpath option
      protected boolean debug
      Deprecated.
      -g option: debugging info
      protected String debugLevel
      Deprecated.
      debug level
      protected boolean deprecation
      Deprecated.
      -deprecation option: output source locations where deprecated APIs are used
      protected String encoding
      Deprecated.
      -encoding option: character encoding used by the source files
      protected String endorseddirs
      Deprecated.
      -endorseddirs option: override location of endorsed standards path
      protected String extdirs
      Deprecated.
      -extdirs option: override location of installed extensions
      protected boolean fork
      Deprecated.
      -fork option:
      protected List<Apt.Jvmarg> jvmargs
      Deprecated.
      -J<flag> option: Pass <flag> directly to the runtime
      protected boolean nowarn
      Deprecated.
      -nowarn option: generate no warnings
      protected List<Apt.Option> options
      Deprecated.
      -A option
      protected List<org.apache.tools.ant.types.FileSet> sourceFileset
      Deprecated.
       
      protected org.apache.tools.ant.types.Path sourcePath
      Deprecated.
      -sourcepath option: Specify where to find input source files
      protected String targetVM
      Deprecated.
      -target option: generate class files for specific VM version
      protected boolean verbose
      Deprecated.
      -verbose option: output messages about what the compiler is doing
      • 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
      Apt()
      Deprecated.
       
    • Field Detail

      • compileClasspath

        protected org.apache.tools.ant.types.Path compileClasspath
        Deprecated.
        -classpath option
      • jvmargs

        protected List<Apt.Jvmarg> jvmargs
        Deprecated.
        -J<flag> option: Pass <flag> directly to the runtime
      • debug

        protected boolean debug
        Deprecated.
        -g option: debugging info
      • debugLevel

        protected String debugLevel
        Deprecated.
        debug level
      • nowarn

        protected boolean nowarn
        Deprecated.
        -nowarn option: generate no warnings
      • deprecation

        protected boolean deprecation
        Deprecated.
        -deprecation option: output source locations where deprecated APIs are used
      • bootclassPath

        protected org.apache.tools.ant.types.Path bootclassPath
        Deprecated.
        -bootclasspath option: override location of bootstrap class files
      • extdirs

        protected String extdirs
        Deprecated.
        -extdirs option: override location of installed extensions
      • endorseddirs

        protected String endorseddirs
        Deprecated.
        -endorseddirs option: override location of endorsed standards path
      • verbose

        protected boolean verbose
        Deprecated.
        -verbose option: output messages about what the compiler is doing
      • sourcePath

        protected org.apache.tools.ant.types.Path sourcePath
        Deprecated.
        -sourcepath option: Specify where to find input source files
      • encoding

        protected String encoding
        Deprecated.
        -encoding option: character encoding used by the source files
      • targetVM

        protected String targetVM
        Deprecated.
        -target option: generate class files for specific VM version
      • fork

        protected boolean fork
        Deprecated.
        -fork option:
      • sourceFileset

        protected List<org.apache.tools.ant.types.FileSet> sourceFileset
        Deprecated.
    • Constructor Detail

      • Apt

        public Apt()
        Deprecated.
    • Method Detail

      • getClasspath

        public org.apache.tools.ant.types.Path getClasspath()
        Deprecated.
      • setClasspath

        public void setClasspath​(org.apache.tools.ant.types.Path classpath)
        Deprecated.
      • createClasspath

        public org.apache.tools.ant.types.Path createClasspath()
        Deprecated.
        Creates a nested classpath element.
        Returns:
      • setClasspathRef

        public void setClasspathRef​(org.apache.tools.ant.types.Reference r)
        Deprecated.
        Adds a reference to a CLASSPATH defined elsewhere.
        Parameters:
        r -
      • getDestdir

        public File getDestdir()
        Deprecated.
      • setDestdir

        public void setDestdir​(File base)
        Deprecated.
      • setSourcedestdir

        public void setSourcedestdir​(File sourceBase)
        Deprecated.
      • getSourcedestdir

        public File getSourcedestdir()
        Deprecated.
      • createOption

        public Apt.Option createOption()
        Deprecated.
      • createJvmarg

        public Apt.Jvmarg createJvmarg()
        Deprecated.
      • isNocompile

        public boolean isNocompile()
        Deprecated.
      • setNocompile

        public void setNocompile​(boolean noCompile)
        Deprecated.
      • isPrint

        public boolean isPrint()
        Deprecated.
      • setPrint

        public void setPrint​(boolean print)
        Deprecated.
      • isXprintaptrounds

        public boolean isXprintaptrounds()
        Deprecated.
      • setXprintaptrounds

        public void setXprintaptrounds​(boolean xPrintAptRounds)
        Deprecated.
      • isXprintfactoryinfo

        public boolean isXprintfactoryinfo()
        Deprecated.
      • setXprintfactoryinfo

        public void setXprintfactoryinfo​(boolean xPrintFactoryInfo)
        Deprecated.
      • isDebug

        public boolean isDebug()
        Deprecated.
      • setDebug

        public void setDebug​(boolean debug)
        Deprecated.
      • getDebuglevel

        public String getDebuglevel()
        Deprecated.
      • setDebuglevel

        public void setDebuglevel​(String debugLevel)
        Deprecated.
      • isNowarn

        public boolean isNowarn()
        Deprecated.
      • setNowarn

        public void setNowarn​(boolean nowarn)
        Deprecated.
      • isDeprecation

        public boolean isDeprecation()
        Deprecated.
      • setDeprecation

        public void setDeprecation​(boolean deprecation)
        Deprecated.
      • getBootclasspath

        public org.apache.tools.ant.types.Path getBootclasspath()
        Deprecated.
      • setBootclasspath

        public void setBootclasspath​(org.apache.tools.ant.types.Path bootclassPath)
        Deprecated.
      • getExtdirs

        public String getExtdirs()
        Deprecated.
      • setExtdirs

        public void setExtdirs​(String extdirs)
        Deprecated.
      • getEndorseddirs

        public String getEndorseddirs()
        Deprecated.
      • setEndorseddirs

        public void setEndorseddirs​(String endorseddirs)
        Deprecated.
      • isVerbose

        public boolean isVerbose()
        Deprecated.
      • setVerbose

        public void setVerbose​(boolean verbose)
        Deprecated.
      • getSourcepath

        public org.apache.tools.ant.types.Path getSourcepath()
        Deprecated.
      • setSourcepath

        public void setSourcepath​(org.apache.tools.ant.types.Path sourcePath)
        Deprecated.
      • getEncoding

        public String getEncoding()
        Deprecated.
      • setEncoding

        public void setEncoding​(String encoding)
        Deprecated.
      • getTarget

        public String getTarget()
        Deprecated.
      • setTarget

        public void setTarget​(String target)
        Deprecated.
      • isFork

        public boolean isFork()
        Deprecated.
      • setFork

        public void setFork​(boolean fork)
        Deprecated.
      • addConfiguredSource

        public void addConfiguredSource​(org.apache.tools.ant.types.FileSet fileset)
        Deprecated.
      • execute

        public void execute()
                     throws org.apache.tools.ant.BuildException
        Deprecated.
        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