Class | Description |
---|---|
org.apache.tools.ant.listener.Log4jListener |
Apache Log4j (1) is not developed any more. Last
release is 1.2.17 from 26-May-2012 and contains vulnerability issues.
Use the standard listener or your own custom listener instead.
|
org.apache.tools.ant.loader.AntClassLoader2 |
since 1.7
Just use
AntClassLoader itself. |
org.apache.tools.ant.loader.AntClassLoader5 |
since 1.9.7
Just use
AntClassLoader itself. |
org.apache.tools.ant.taskdefs.compilers.Javac12 |
Use
Javac13 instead. |
org.apache.tools.ant.taskdefs.Copydir |
The copydir task is deprecated since Ant 1.2. Use copy instead.
|
org.apache.tools.ant.taskdefs.Copyfile |
The copyfile task is deprecated since Ant 1.2. Use
copy instead.
|
org.apache.tools.ant.taskdefs.CopyPath |
this task should have never been released and was
obsoleted by ResourceCollection support in Copy available since Ant
1.7.0. Don't use it.
|
org.apache.tools.ant.taskdefs.Deltree |
The deltree task is deprecated since Ant 1.2. Use
delete instead.
|
org.apache.tools.ant.taskdefs.Exec |
since 1.2.
delegate to
Execute
instead. |
org.apache.tools.ant.taskdefs.FixCRLF.OneLiner |
since 1.7.0.
|
org.apache.tools.ant.taskdefs.Jikes |
since 1.2.
Merged into the class Javac.
|
org.apache.tools.ant.taskdefs.JikesOutputParser |
since 1.2.
Use Jikes' exit value to detect compilation failure.
|
org.apache.tools.ant.taskdefs.KeySubst |
KeySubst is deprecated since Ant 1.1. Use Filter + Copy
instead.
|
org.apache.tools.ant.taskdefs.optional.extension.DeweyDecimal |
use org.apache.tools.ant.util.DeweyDecimal instead.
Deprecated since ant 1.8
|
org.apache.tools.ant.taskdefs.optional.image.Image |
JAI is not developed any more. Internal APIs that JAI depends on were
scheduled for removal in Java 7 and finally removed in Java 9.
|
org.apache.tools.ant.taskdefs.optional.junit.Enumerations | |
org.apache.tools.ant.taskdefs.optional.net.MimeMail |
since 1.6.x.
Use
EmailTask instead. |
org.apache.tools.ant.taskdefs.optional.RenameExtensions |
since 1.5.x.
Use <move> instead
|
org.apache.tools.ant.taskdefs.Rename |
The rename task is deprecated since Ant 1.2. Use move instead.
|
org.apache.tools.ant.taskdefs.TaskOutputStream |
since 1.2.x.
Use LogOutputStream instead.
|
org.apache.tools.ant.util.CollectionUtils | |
org.apache.tools.ant.util.CollectionUtils.EmptyEnumeration | |
org.apache.tools.ant.util.LazyHashtable | |
org.apache.tools.ant.util.optional.WeakishReference12 |
since 1.7.
Just use
WeakReference directly.
Note that in ant1.7 is parent was changed to extend HardReference.
This is because the latter has access to the (package scoped)
WeakishReference(Object) constructor, and both that and this are thin
facades on the underlying no-longer-abstract base class. |
org.apache.tools.ant.util.ScriptRunner |
Implementation moved to another location. Use
org.apache.tools.ant.util.optional.ScriptRunner instead.
|
org.apache.tools.ant.util.SymbolicLinkUtils |
Starting Ant 1.10.2, this class is now deprecated in favour
of the Java
Files APIs introduced in
Java 7, for dealing with symbolic links |
org.apache.tools.ant.util.WeakishReference |
deprecated 1.7; will be removed in Ant1.8
Just use
WeakReference directly. |
org.apache.tools.ant.util.WeakishReference.HardReference |
since 1.7.
Hopefully nobody is using this.
|
Field | Description |
---|---|
org.apache.tools.ant.DefaultLogger.lSep | |
org.apache.tools.ant.DirectoryScanner.DEFAULTEXCLUDES |
since 1.6.x.
Use the
getDefaultExcludes
method instead. |
org.apache.tools.ant.Project.JAVA_1_0 |
since 1.5.x.
Use
JavaEnvUtils.JAVA_1_0 instead. |
org.apache.tools.ant.Project.JAVA_1_1 |
since 1.5.x.
Use
JavaEnvUtils.JAVA_1_1 instead. |
org.apache.tools.ant.Project.JAVA_1_2 |
since 1.5.x.
Use
JavaEnvUtils.JAVA_1_2 instead. |
org.apache.tools.ant.Project.JAVA_1_3 |
since 1.5.x.
Use
JavaEnvUtils.JAVA_1_3 instead. |
org.apache.tools.ant.Project.JAVA_1_4 |
since 1.5.x.
Use
JavaEnvUtils.JAVA_1_4 instead. |
org.apache.tools.ant.ProjectComponent.description |
since 1.6.x.
You should not be accessing this variable directly.
|
org.apache.tools.ant.ProjectComponent.location |
since 1.6.x.
You should not be accessing this variable directly.
Please use the
ProjectComponent.getLocation() method. |
org.apache.tools.ant.ProjectComponent.project |
since 1.6.x.
You should not be directly accessing this variable directly.
You should access project object via the getProject()
or setProject() accessor/mutators.
|
org.apache.tools.ant.Task.target |
since 1.6.x.
You should not be accessing this variable directly.
Please use the
Task.getOwningTarget() method. |
org.apache.tools.ant.Task.taskName |
since 1.6.x.
You should not be accessing this variable directly.
Please use the
Task.getTaskName() method. |
org.apache.tools.ant.Task.taskType |
since 1.6.x.
You should not be accessing this variable directly.
Please use the
Task.getTaskType() method. |
org.apache.tools.ant.Task.wrapper |
since 1.6.x.
You should not be accessing this variable directly.
Please use the
Task.getWrapper() method. |
org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.lSep | |
org.apache.tools.ant.taskdefs.Tar.FAIL |
since 1.5.x.
Tar.FAIL is deprecated and is replaced with
Tar.TarLongFileMode.FAIL
|
org.apache.tools.ant.taskdefs.Tar.GNU |
since 1.5.x.
Tar.GNU is deprecated and is replaced with
Tar.TarLongFileMode.GNU
|
org.apache.tools.ant.taskdefs.Tar.OMIT |
since 1.5.x.
Tar.OMIT is deprecated and is replaced with
Tar.TarLongFileMode.OMIT
|
org.apache.tools.ant.taskdefs.Tar.TRUNCATE |
since 1.5.x.
Tar.TRUNCATE is deprecated and is replaced with
Tar.TarLongFileMode.TRUNCATE
|
org.apache.tools.ant.taskdefs.Tar.WARN |
since 1.5.x.
Tar.WARN is deprecated and is replaced with
Tar.TarLongFileMode.WARN
|
org.apache.tools.ant.types.DataType.checked |
since 1.7.
The user should not be directly referencing
variable. Please use
DataType.setChecked(boolean) or
DataType.isChecked() instead. |
org.apache.tools.ant.types.DataType.ref |
since 1.7.
The user should not be directly referencing
variable. Please use
DataType.getRefid() instead. |
org.apache.tools.ant.util.CollectionUtils.EMPTY_LIST | |
org.apache.tools.ant.util.DateUtils.DATE_HEADER_FORMAT |
DateFormat is not thread safe, and we cannot guarantee that
some other code is using the format in parallel.
Deprecated since ant 1.8
|
org.apache.tools.ant.util.JavaEnvUtils.JAVA_1_9 |
use #JAVA_9 instead
|
org.apache.tools.ant.util.JavaEnvUtils.VERSION_1_9 |
use #VERSION_9 instead
|
org.apache.tools.ant.util.StringUtils.LINE_SEP | |
org.apache.tools.zip.ZipOutputStream.EFS_FLAG |
use
GeneralPurposeBit.UFT8_NAMES_FLAG instead |
Constructor | Description |
---|---|
org.apache.tools.ant.input.MultipleChoiceInputRequest(String, Vector<String>) |
Use
MultipleChoiceInputRequest(String,Collection) instead |
org.apache.tools.ant.Main(String[]) |
since 1.6.x
|
org.apache.tools.ant.taskdefs.ExecuteWatchdog(int) |
since 1.5.x.
Use constructor with a long type instead.
(1.4.x compatibility)
|
org.apache.tools.ant.types.Reference() |
since 1.7.
Please use
Reference(Project,String)
instead. |
org.apache.tools.ant.types.resources.FileResourceIterator() |
in favor of
FileResourceIterator(Project) |