@Deprecated public class Apt extends org.apache.tools.ant.Task
Modifier and Type | Class and Description |
---|---|
static class |
Apt.Jvmarg
Deprecated.
|
static class |
Apt.Option
Deprecated.
|
Modifier and Type | Field and 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
|
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
|
Constructor and Description |
---|
Apt()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addConfiguredSource(org.apache.tools.ant.types.FileSet fileset)
Deprecated.
|
org.apache.tools.ant.types.Path |
createClasspath()
Deprecated.
Creates a nested classpath element.
|
Apt.Jvmarg |
createJvmarg()
Deprecated.
|
Apt.Option |
createOption()
Deprecated.
|
void |
execute()
Deprecated.
Called by the project to let the task do it's work *
|
org.apache.tools.ant.types.Path |
getBootclasspath()
Deprecated.
|
org.apache.tools.ant.types.Path |
getClasspath()
Deprecated.
|
String |
getDebuglevel()
Deprecated.
|
File |
getDestdir()
Deprecated.
|
String |
getEncoding()
Deprecated.
|
String |
getEndorseddirs()
Deprecated.
|
String |
getExtdirs()
Deprecated.
|
List<Apt.Jvmarg> |
getJvmargs()
Deprecated.
|
List<Apt.Option> |
getOptions()
Deprecated.
|
File |
getSourcedestdir()
Deprecated.
|
org.apache.tools.ant.types.Path |
getSourcepath()
Deprecated.
|
String |
getTarget()
Deprecated.
|
boolean |
isDebug()
Deprecated.
|
boolean |
isDeprecation()
Deprecated.
|
boolean |
isFork()
Deprecated.
|
boolean |
isNocompile()
Deprecated.
|
boolean |
isNowarn()
Deprecated.
|
boolean |
isPrint()
Deprecated.
|
boolean |
isVerbose()
Deprecated.
|
boolean |
isXprintaptrounds()
Deprecated.
|
boolean |
isXprintfactoryinfo()
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 |
setDestdir(File base)
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.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
protected org.apache.tools.ant.types.Path compileClasspath
protected List<Apt.Option> options
protected List<Apt.Jvmarg> jvmargs
protected boolean debug
protected String debugLevel
protected boolean nowarn
protected boolean deprecation
protected org.apache.tools.ant.types.Path bootclassPath
protected String extdirs
protected String endorseddirs
protected boolean verbose
protected org.apache.tools.ant.types.Path sourcePath
protected String encoding
protected String targetVM
protected boolean fork
protected List<org.apache.tools.ant.types.FileSet> sourceFileset
public org.apache.tools.ant.types.Path getClasspath()
public void setClasspath(org.apache.tools.ant.types.Path classpath)
public org.apache.tools.ant.types.Path createClasspath()
public void setClasspathRef(org.apache.tools.ant.types.Reference r)
public File getDestdir()
public void setDestdir(File base)
public void setSourcedestdir(File sourceBase)
public File getSourcedestdir()
public List<Apt.Option> getOptions()
public Apt.Option createOption()
public List<Apt.Jvmarg> getJvmargs()
public Apt.Jvmarg createJvmarg()
public boolean isNocompile()
public void setNocompile(boolean noCompile)
public boolean isPrint()
public void setPrint(boolean print)
public boolean isXprintaptrounds()
public void setXprintaptrounds(boolean xPrintAptRounds)
public boolean isXprintfactoryinfo()
public void setXprintfactoryinfo(boolean xPrintFactoryInfo)
public boolean isDebug()
public void setDebug(boolean debug)
public String getDebuglevel()
public void setDebuglevel(String debugLevel)
public boolean isNowarn()
public void setNowarn(boolean nowarn)
public boolean isDeprecation()
public void setDeprecation(boolean deprecation)
public org.apache.tools.ant.types.Path getBootclasspath()
public void setBootclasspath(org.apache.tools.ant.types.Path bootclassPath)
public String getExtdirs()
public void setExtdirs(String extdirs)
public String getEndorseddirs()
public void setEndorseddirs(String endorseddirs)
public boolean isVerbose()
public void setVerbose(boolean verbose)
public org.apache.tools.ant.types.Path getSourcepath()
public void setSourcepath(org.apache.tools.ant.types.Path sourcePath)
public String getEncoding()
public void setEncoding(String encoding)
public String getTarget()
public void setTarget(String target)
public boolean isFork()
public void setFork(boolean fork)
public void addConfiguredSource(org.apache.tools.ant.types.FileSet fileset)
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
Copyright © 2017 Oracle Corporation. All rights reserved.