Class Apt

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.sun.tools.ws.ant.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 
    Deprecated.
     
    static class 
    Deprecated.
     
  • Field Summary

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

    Modifier and Type
    Method
    Description
    void
    addConfiguredSource(org.apache.tools.ant.types.FileSet fileset)
    Deprecated.
     
    org.apache.tools.ant.types.Path
    Deprecated.
    Creates a nested classpath element.
    Deprecated.
     
    Deprecated.
     
    void
    Deprecated.
    Called by the project to let the task do it's work *
    org.apache.tools.ant.types.Path
    Deprecated.
     
    org.apache.tools.ant.types.Path
    Deprecated.
     
    Deprecated.
     
    Deprecated.
     
    Deprecated.
     
    Deprecated.
     
    Deprecated.
     
    Deprecated.
     
    Deprecated.
     
    Deprecated.
     
    org.apache.tools.ant.types.Path
    Deprecated.
     
    Deprecated.
     
    boolean
    Deprecated.
     
    boolean
    Deprecated.
     
    boolean
    Deprecated.
     
    boolean
    Deprecated.
     
    boolean
    Deprecated.
     
    boolean
    Deprecated.
     
    boolean
    Deprecated.
     
    boolean
    Deprecated.
     
    boolean
    Deprecated.
     
    void
    setBootclasspath(org.apache.tools.ant.types.Path bootclassPath)
    Deprecated.
     
    void
    setClasspath(org.apache.tools.ant.types.Path classpath)
    Deprecated.
     
    void
    setClasspathRef(org.apache.tools.ant.types.Reference r)
    Deprecated.
    Adds a reference to a CLASSPATH defined elsewhere.
    void
    setDebug(boolean debug)
    Deprecated.
     
    void
    setDebuglevel(String debugLevel)
    Deprecated.
     
    void
    setDeprecation(boolean deprecation)
    Deprecated.
     
    void
    Deprecated.
     
    void
    setEncoding(String encoding)
    Deprecated.
     
    void
    setEndorseddirs(String endorseddirs)
    Deprecated.
     
    void
    setExtdirs(String extdirs)
    Deprecated.
     
    void
    setFork(boolean fork)
    Deprecated.
     
    void
    setNocompile(boolean noCompile)
    Deprecated.
     
    void
    setNowarn(boolean nowarn)
    Deprecated.
     
    void
    setPrint(boolean print)
    Deprecated.
     
    void
    setSourcedestdir(File sourceBase)
    Deprecated.
     
    void
    setSourcepath(org.apache.tools.ant.types.Path sourcePath)
    Deprecated.
     
    void
    setTarget(String target)
    Deprecated.
     
    void
    setVerbose(boolean verbose)
    Deprecated.
     
    void
    setXprintaptrounds(boolean xPrintAptRounds)
    Deprecated.
     
    void
    setXprintfactoryinfo(boolean xPrintFactoryInfo)
    Deprecated.
     

    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, setProject

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • compileClasspath

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

      protected List<Apt.Option> options
      Deprecated.
      -A 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 Details

    • Apt

      public Apt()
      Deprecated.
  • Method Details

    • 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.
    • getOptions

      public List<Apt.Option> getOptions()
      Deprecated.
    • createOption

      public Apt.Option createOption()
      Deprecated.
    • getJvmargs

      public List<Apt.Jvmarg> getJvmargs()
      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