| Class and Description | 
|---|
| org.apache.tools.ant.loader.AntClassLoader2 since 1.7
             Just use  AntClassLoaderitself. | 
| org.apache.tools.ant.loader.AntClassLoader5 since 1.9.7
             Just use  AntClassLoaderitself. | 
| 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.optional.extension.DeweyDecimal use org.apache.tools.ant.util.DeweyDecimal instead.
 Deprecated since ant 1.8 | 
| org.apache.tools.ant.taskdefs.Exec since 1.2.
             delegate to  Executeinstead. | 
| org.apache.tools.ant.taskdefs.FixCRLF.OneLiner since 1.7.0. | 
| org.apache.tools.ant.taskdefs.compilers.Javac12 Use  Javac13instead. | 
| 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.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.taskdefs.optional.net.MimeMail since 1.6.x.
             Use  EmailTaskinstead. | 
| org.apache.tools.ant.taskdefs.Rename The rename task is deprecated since Ant 1.2.  Use move instead. | 
| org.apache.tools.ant.taskdefs.optional.RenameExtensions since 1.5.x.
             Use <move> instead | 
| org.apache.tools.ant.util.ScriptRunner Implementation moved to another location. Use
             org.apache.tools.ant.util.optional.ScriptRunner instead. | 
| org.apache.tools.ant.taskdefs.TaskOutputStream since 1.2.x.
 Use LogOutputStream instead. | 
| org.apache.tools.ant.util.WeakishReference deprecated 1.7; will be removed in Ant1.8
             Just use  WeakReferencedirectly. | 
| org.apache.tools.ant.util.WeakishReference.HardReference since 1.7.
             Hopefully nobody is using this. | 
| org.apache.tools.ant.util.optional.WeakishReference12 since 1.7.
             Just use  WeakReferencedirectly.
 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. | 
| Field and Description | 
|---|
| org.apache.tools.ant.types.DataType.checked since 1.7.
             The user should not be directly referencing
             variable. Please use  DataType.setChecked(boolean)orDataType.isChecked()instead. | 
| 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.DirectoryScanner.DEFAULTEXCLUDES since 1.6.x.
             Use the  getDefaultExcludesmethod instead. | 
| org.apache.tools.ant.ProjectComponent.description since 1.6.x.
             You should not be accessing this variable directly. | 
| org.apache.tools.zip.ZipOutputStream.EFS_FLAG use  GeneralPurposeBit.UFT8_NAMES_FLAGinstead | 
| org.apache.tools.ant.util.CollectionUtils.EMPTY_LIST | 
| 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.Project.JAVA_1_0 since 1.5.x.
             Use  JavaEnvUtils.JAVA_1_0instead. | 
| org.apache.tools.ant.Project.JAVA_1_1 since 1.5.x.
             Use  JavaEnvUtils.JAVA_1_1instead. | 
| org.apache.tools.ant.Project.JAVA_1_2 since 1.5.x.
             Use  JavaEnvUtils.JAVA_1_2instead. | 
| org.apache.tools.ant.Project.JAVA_1_3 since 1.5.x.
             Use  JavaEnvUtils.JAVA_1_3instead. | 
| org.apache.tools.ant.Project.JAVA_1_4 since 1.5.x.
             Use  JavaEnvUtils.JAVA_1_4instead. | 
| org.apache.tools.ant.util.JavaEnvUtils.JAVA_1_9 use #JAVA_9 instead | 
| 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.taskdefs.condition.IsReachable.METHOD_NAME Since 1.9.14 | 
| 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.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.types.DataType.ref since 1.7.
             The user should not be directly referencing
             variable. Please use  DataType.getRefid()instead. | 
| 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.taskdefs.Tar.TRUNCATE since 1.5.x.
             Tar.TRUNCATE is deprecated and is replaced with
             Tar.TarLongFileMode.TRUNCATE | 
| org.apache.tools.ant.util.JavaEnvUtils.VERSION_1_9 use #VERSION_9 instead | 
| 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.Task.wrapper since 1.6.x.
             You should not be accessing this variable directly.
             Please use the  Task.getWrapper()method. | 
| Constructor and Description | 
|---|
| 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.resources.FileResourceIterator() | 
| org.apache.tools.ant.types.resources.FileResourceIterator(File) | 
| org.apache.tools.ant.types.resources.FileResourceIterator(File, String[]) | 
| org.apache.tools.ant.Main(String[]) since 1.6.x | 
| org.apache.tools.ant.types.Reference() since 1.7.
             Please use  Reference.Reference(Project,String)instead. | 
| org.apache.tools.ant.types.Reference(String) since 1.7.
             Please use  Reference.Reference(Project,String)instead. |