Package com.sun.tools.ws.ant
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 classApt.JvmargDeprecated.static classApt.OptionDeprecated.
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.tools.ant.types.PathbootclassPathDeprecated.-bootclasspath option: override location of bootstrap class filesprotected org.apache.tools.ant.types.PathcompileClasspathDeprecated.-classpath optionprotected booleandebugDeprecated.-g option: debugging infoprotected StringdebugLevelDeprecated.debug levelprotected booleandeprecationDeprecated.-deprecation option: output source locations where deprecated APIs are usedprotected StringencodingDeprecated.-encoding option: character encoding used by the source filesprotected StringendorseddirsDeprecated.-endorseddirs option: override location of endorsed standards pathprotected StringextdirsDeprecated.-extdirs option: override location of installed extensionsprotected booleanforkDeprecated.-fork option:protected List<Apt.Jvmarg>jvmargsDeprecated.-J<flag> option: Pass <flag> directly to the runtimeprotected booleannowarnDeprecated.-nowarn option: generate no warningsprotected List<Apt.Option>optionsDeprecated.-A optionprotected List<org.apache.tools.ant.types.FileSet>sourceFilesetDeprecated.protected org.apache.tools.ant.types.PathsourcePathDeprecated.-sourcepath option: Specify where to find input source filesprotected StringtargetVMDeprecated.-target option: generate class files for specific VM versionprotected booleanverboseDeprecated.-verbose option: output messages about what the compiler is doing
-
Constructor Summary
Constructors Constructor Description Apt()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddConfiguredSource(org.apache.tools.ant.types.FileSet fileset)Deprecated.org.apache.tools.ant.types.PathcreateClasspath()Deprecated.Creates a nested classpath element.Apt.JvmargcreateJvmarg()Deprecated.Apt.OptioncreateOption()Deprecated.voidexecute()Deprecated.Called by the project to let the task do it's work *org.apache.tools.ant.types.PathgetBootclasspath()Deprecated.org.apache.tools.ant.types.PathgetClasspath()Deprecated.StringgetDebuglevel()Deprecated.FilegetDestdir()Deprecated.StringgetEncoding()Deprecated.StringgetEndorseddirs()Deprecated.StringgetExtdirs()Deprecated.List<Apt.Jvmarg>getJvmargs()Deprecated.List<Apt.Option>getOptions()Deprecated.FilegetSourcedestdir()Deprecated.org.apache.tools.ant.types.PathgetSourcepath()Deprecated.StringgetTarget()Deprecated.booleanisDebug()Deprecated.booleanisDeprecation()Deprecated.booleanisFork()Deprecated.booleanisNocompile()Deprecated.booleanisNowarn()Deprecated.booleanisPrint()Deprecated.booleanisVerbose()Deprecated.booleanisXprintaptrounds()Deprecated.booleanisXprintfactoryinfo()Deprecated.voidsetBootclasspath(org.apache.tools.ant.types.Path bootclassPath)Deprecated.voidsetClasspath(org.apache.tools.ant.types.Path classpath)Deprecated.voidsetClasspathRef(org.apache.tools.ant.types.Reference r)Deprecated.Adds a reference to a CLASSPATH defined elsewhere.voidsetDebug(boolean debug)Deprecated.voidsetDebuglevel(String debugLevel)Deprecated.voidsetDeprecation(boolean deprecation)Deprecated.voidsetDestdir(File base)Deprecated.voidsetEncoding(String encoding)Deprecated.voidsetEndorseddirs(String endorseddirs)Deprecated.voidsetExtdirs(String extdirs)Deprecated.voidsetFork(boolean fork)Deprecated.voidsetNocompile(boolean noCompile)Deprecated.voidsetNowarn(boolean nowarn)Deprecated.voidsetPrint(boolean print)Deprecated.voidsetSourcedestdir(File sourceBase)Deprecated.voidsetSourcepath(org.apache.tools.ant.types.Path sourcePath)Deprecated.voidsetTarget(String target)Deprecated.voidsetVerbose(boolean verbose)Deprecated.voidsetXprintaptrounds(boolean xPrintAptRounds)Deprecated.voidsetXprintfactoryinfo(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
-
-
-
-
Field Detail
-
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.
-
-
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.
-
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.BuildExceptionDeprecated.Called by the project to let the task do it's work *- Overrides:
executein classorg.apache.tools.ant.Task- Throws:
org.apache.tools.ant.BuildException
-
-