org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.addExtdirsToClasspath(Path) since 1.5.x. Use org.apache.tools.ant.types.Path#addExtdirs instead. |
org.apache.tools.ant.Project.addFilter(String, String) since 1.4.x. Use getGlobalFilterSet().addFilter(token,value) |
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.addSysproperty(Environment.Variable) since ant 1.6 |
org.apache.tools.ant.taskdefs.Tar.archiveIsUpToDate(String[]) since 1.5.x. use the two-arg version instead. |
org.apache.tools.ant.ProjectHelper.configure(Object, AttributeList, Project) since 1.6.x. Use IntrospectionHelper for each property. |
org.apache.tools.ant.taskdefs.XSLTProcess.configureLiaison(File) since Ant 1.7 |
org.apache.tools.ant.Project.copyFile(File, File) since 1.4.x |
org.apache.tools.ant.Project.copyFile(File, File, boolean) since 1.4.x |
org.apache.tools.ant.Project.copyFile(File, File, boolean, boolean) since 1.4.x |
org.apache.tools.ant.Project.copyFile(File, File, boolean, boolean, boolean) since 1.4.x |
org.apache.tools.ant.Project.copyFile(String, String) since 1.4.x |
org.apache.tools.ant.Project.copyFile(String, String, boolean) since 1.4.x |
org.apache.tools.ant.Project.copyFile(String, String, boolean, boolean) since 1.4.x |
org.apache.tools.ant.Project.copyFile(String, String, boolean, boolean, boolean) since 1.4.x |
org.apache.tools.ant.taskdefs.MacroInstance.createDynamicElement(String) since 1.6.x. |
org.apache.tools.ant.IntrospectionHelper.createElement(Project, Object, String) since 1.6.x. This is not a namespace aware method. |
org.apache.tools.ant.taskdefs.optional.jdepend.JDependTask.createSourcespath() since 1.6.x. |
org.apache.tools.ant.util.FileUtils.createTempFile(String, String, File) since ant 1.7.1 use createTempFile(String, String, File, boolean, boolean) instead. |
org.apache.tools.ant.util.FileUtils.createTempFile(String, String, File, boolean) since ant 1.7.1 use createTempFile(String, String, File, boolean, boolean) instead. |
org.apache.tools.ant.taskdefs.optional.unix.Symlink.deleteSymlink(File) use org.apache.tools.ant.util.SymbolicLinkUtils#deleteSymbolicLink instead |
org.apache.tools.ant.taskdefs.optional.unix.Symlink.deleteSymlink(String) use org.apache.tools.ant.util.SymbolicLinkUtils#deleteSymbolicLink instead |
org.apache.tools.ant.taskdefs.Get.doGet(int, Get.DownloadProgress) only gets the first configured resource |
org.apache.tools.ant.util.CollectionUtils.equals(Dictionary, Dictionary) since 1.6.x. |
org.apache.tools.ant.util.CollectionUtils.equals(Vector, Vector) since 1.6.x. |
org.apache.tools.ant.taskdefs.optional.script.ScriptDef.executeScript(Map, Map) since 1.7. Use executeScript(attribute, elements, instance) instead. |
org.apache.tools.ant.RuntimeConfigurable.getAttributes() |
org.apache.tools.ant.ProjectHelper.getContextClassLoader() since 1.6.x. Use LoaderUtils.getContextClassLoader() |
org.apache.tools.ant.types.ArchiveFileSet.getDirMode() since 1.7. |
org.apache.tools.ant.BuildException.getException() Use Throwable.getCause() instead. |
org.apache.tools.ant.types.ArchiveFileSet.getFileMode() since 1.7. |
org.apache.tools.ant.Project.getFilters() since 1.4.x Use getGlobalFilterSet().getFilterHash(). |
org.apache.tools.ant.types.ArchiveFileSet.getFullpath() since 1.7. |
org.apache.tools.ant.Project.getJavaVersion() since 1.5.x. Use org.apache.tools.ant.util.JavaEnvUtils instead. |
org.apache.tools.ant.PropertyHelper.getNext() use the delegate mechanism instead |
org.apache.tools.ant.util.FileUtils.getParentFile(File) since 1.7. Just use File.getParentFile() directly. |
org.apache.tools.ant.types.ArchiveFileSet.getPrefix() since 1.7. |
org.apache.tools.ant.taskdefs.Execute.getProcEnvironment() use #getEnvironmentVariables instead |
org.apache.tools.ant.PropertyHelper.getProperty(String, String) namespaces are unnecessary. |
org.apache.tools.ant.PropertyHelper.getPropertyHook(String, String, boolean) PropertyHelper chaining is deprecated. |
org.apache.tools.ant.types.Mapper.getRef() since Ant 1.7.1 because a mapper might ref a FileNameMapper implementation directly. |
org.apache.tools.ant.taskdefs.optional.jdepend.JDependTask.getSourcespath() since 1.6.x. |
org.apache.tools.ant.taskdefs.optional.TraXLiaison.getSystemId(File) since 1.5.x. Use org.apache.tools.ant.util.JAXPUtils#getSystemId instead. |
org.apache.tools.ant.PropertyHelper.getUserProperty(String, String) namespaces are unnecessary. |
org.apache.tools.ant.AntClassLoader.initializeClass(Class) since 1.6.x. Use Class.forName with initialize=true instead. |
org.apache.tools.ant.Diagnostics.isOptionalAvailable() Obsolete since Ant 1.8.2 |
org.apache.tools.ant.util.FileUtils.isSymbolicLink(File, String) use SymbolicLinkUtils instead |
org.apache.tools.ant.util.FileUtils.newFileUtils() since 1.7. Use getFileUtils instead, FileUtils do not have state. |
org.apache.tools.ant.PropertyHelper.parsePropertyString(String, Vector, Vector) use the other mechanisms of this class instead |
org.apache.tools.ant.ProjectHelper.parsePropertyString(String, Vector, Vector) since 1.6.x. Use PropertyHelper. |
org.apache.tools.ant.taskdefs.SQLExec.printResults(PrintStream) |
org.apache.tools.ant.taskdefs.optional.image.Image.processFile(File) this method isn't used anymore |
org.apache.tools.ant.util.CollectionUtils.putAll(Dictionary, Dictionary) since 1.6.x. |
org.apache.tools.ant.ProjectHelper.replaceProperties(Project, String) since 1.6.x. Use project.replaceProperties(). |
org.apache.tools.ant.ProjectHelper.replaceProperties(Project, String, Hashtable) since 1.6.x. Use PropertyHelper. |
org.apache.tools.ant.property.ResolvePropertyMap.resolveAllProperties(Map) since Ant 1.8.2, use the three-arg method instead. |
org.apache.tools.ant.property.ResolvePropertyMap.resolveAllProperties(Map, String) since Ant 1.8.2, use the three-arg method instead. |
org.apache.tools.ant.Project.resolveFile(String, File) since 1.4.x |
org.apache.tools.ant.taskdefs.optional.net.FTPTask.setAction(String) since 1.5.x. setAction(String) is deprecated and is replaced with setAction(FTP.Action) to make Ant's Introspection mechanism do the work and also to encapsulate operations on the type in its own class. |
org.apache.tools.ant.taskdefs.optional.net.FTP.setAction(String) since 1.5.x. setAction(String) is deprecated and is replaced with setAction(FTP.Action) to make Ant's Introspection mechanism do the work and also to encapsulate operations on the type in its own class. |
org.apache.tools.ant.RuntimeConfigurable.setAttributes(AttributeList) since 1.6.x. |
org.apache.tools.ant.taskdefs.optional.ReplaceRegExp.setByLine(String) since 1.6.x. Use setByLine(boolean). |
org.apache.tools.zip.ZipEntry.setComprSize(long) since 1.7. Use setCompressedSize directly. |
org.apache.tools.ant.taskdefs.FixCRLF.setCr(FixCRLF.AddAsisRemove)since 1.4.x. Use setEol instead. |
org.apache.tools.ant.Project.setDefaultTarget(String) since 1.5.x. Use setDefault. |
org.apache.tools.ant.taskdefs.Unpack.setDest(String) since 1.5.x. setDest(String) is deprecated and is replaced with setDest(File) to make Ant's Introspection mechanism do the work and also to encapsulate operations on the type in its own class. |
org.apache.tools.ant.taskdefs.Ear.setEarfile(File) since 1.5.x. Use setDestFile(destfile) instead. |
org.apache.tools.ant.taskdefs.Javadoc.setExtdirs(String) |
org.apache.tools.ant.taskdefs.Zip.setFile(File) since 1.5.x. Use setDestFile(File) instead. |
org.apache.tools.ant.Project.setFileLastModified(File, long) since 1.4.x |
org.apache.tools.ant.taskdefs.Concat.setForce(boolean) use #setOverwrite instead |
org.apache.tools.ant.taskdefs.optional.ANTLR.setGlib(String) since ant 1.6 |
org.apache.tools.ant.PropertyHelper.setInheritedProperty(String, String, Object) namespaces are unnecessary. |
org.apache.tools.ant.taskdefs.Jar.setJarfile(File) since 1.5.x. Use setDestFile(File) instead. |
org.apache.tools.ant.taskdefs.Tar.setLongfile(String) since 1.5.x. setLongFile(String) is deprecated and is replaced with setLongFile(Tar.TarLongFileMode) to make Ant's Introspection mechanism do the work and also to encapsulate operations on the mode in its own class. |
org.apache.tools.ant.taskdefs.SendEmail.setMailport(Integer) |
org.apache.tools.ant.PropertyHelper.setNewProperty(String, String, Object) namespaces are unnecessary. |
org.apache.tools.ant.PropertyHelper.setNext(PropertyHelper) use the delegate mechanism instead |
org.apache.tools.ant.taskdefs.ExecuteJava.setOutput(PrintStream) since 1.4.x. manage output at the task level. |
org.apache.tools.ant.taskdefs.optional.splash.SplashTask.setPassword(String) since 1.5.x. Use org.apache.tools.ant.taskdefs.optional.net.SetProxy |
org.apache.tools.ant.taskdefs.optional.splash.SplashTask.setPort(String) since 1.5.x. Use org.apache.tools.ant.taskdefs.optional.net.SetProxy |
org.apache.tools.ant.taskdefs.Copy.setPreserveLastModified(String) since 1.5.x. setPreserveLastModified(String) has been deprecated and replaced with setPreserveLastModified(boolean) to consistently let the Introspection mechanism work. |
org.apache.tools.ant.PropertyHelper.setProperty(String, String, Object, boolean) namespaces are unnecessary. |
org.apache.tools.ant.PropertyHelper.setPropertyHook(String, String, Object, boolean, boolean, boolean) PropertyHelper chaining is deprecated. |
org.apache.tools.ant.taskdefs.optional.splash.SplashTask.setProxy(String) since 1.5.x. Use org.apache.tools.ant.taskdefs.optional.net.SetProxy |
org.apache.tools.ant.taskdefs.Classloader.setReverse(boolean) use setParentFirst with a negated argument instead |
org.apache.tools.ant.taskdefs.DefBase.setReverseLoader(boolean) since 1.6.x. stop using this attribute |
org.apache.tools.ant.taskdefs.Execute.setSpawn(boolean) |
org.apache.tools.ant.taskdefs.Unpack.setSrc(String) since 1.5.x. setSrc(String) is deprecated and is replaced with setSrc(File) to make Ant's Introspection mechanism do the work and also to encapsulate operations on the type in its own class. |
org.apache.tools.ant.taskdefs.Tar.setTarfile(File) since 1.5.x. For consistency with other tasks, please use setDestFile(). |
org.apache.tools.ant.taskdefs.PathConvert.setTargetos(String) since 1.5.x. Use the method taking a TargetOs argument instead. |
org.apache.tools.ant.taskdefs.Available.setType(String) since 1.5.x. setType(String) is deprecated and is replaced with setType(Available.FileDir) to make Ant's Introspection mechanism do the work and also to encapsulate operations on the type in its own class. |
org.apache.tools.ant.taskdefs.Tstamp.CustomFormat.setUnit(String) since 1.5.x. setUnit(String) is deprecated and is replaced with setUnit(Tstamp.Unit) to make Ant's Introspection mechanism do the work and also to encapsulate operations on the unit in its own class. |
org.apache.tools.ant.taskdefs.optional.splash.SplashTask.setUseproxy(boolean) since 1.5.x. Use org.apache.tools.ant.taskdefs.optional.net.SetProxy |
org.apache.tools.ant.taskdefs.optional.splash.SplashTask.setUser(String) since 1.5.x. Use org.apache.tools.ant.taskdefs.optional.net.SetProxy |
org.apache.tools.ant.taskdefs.Property.setUserProperty(boolean) since 1.5.x. This was never a supported feature and has been deprecated without replacement. |
org.apache.tools.ant.PropertyHelper.setUserProperty(String, String, Object) namespaces are unnecessary. |
org.apache.tools.ant.taskdefs.War.setWarfile(File) since 1.5.x. Use setDestFile(File) instead |
org.apache.tools.ant.taskdefs.Zip.setZipfile(File) since 1.5.x. Use setDestFile(File) instead. |
org.apache.tools.ant.types.CommandlineJava.size() since 1.7. Please dont use this, it effectively creates the entire command. |
org.apache.tools.ant.taskdefs.Touch.touch(File) since 1.6.x. |
org.apache.tools.ant.Project.translatePath(String) since 1.7 Use FileUtils.translatePath instead. |
org.apache.tools.ant.Diagnostics.validateVersion() Obsolete since Ant 1.8.2 |