since 1.6.x.
Use Class.forName with initialize=true instead.
since 1.6.x.
This is not a namespace aware method.
since 1.9, use FileUtils.getFileURL(File)
since 1.4.x.
Use getGlobalFilterSet().addFilter(token,value)
since 1.4.x
Use getGlobalFilterSet().getFilterHash().
since 1.5.x.
Use org.apache.tools.ant.util.JavaEnvUtils instead.
since 1.5.x.
Use setDefault.
since 1.7
Use FileUtils.translatePath instead.
since 1.6.x.
Use IntrospectionHelper for each property.
since 1.6.x.
Use LoaderUtils.getContextClassLoader()
since 1.6.x.
Use PropertyHelper.
since 1.6.x.
Use project.replaceProperties().
since 1.6.x.
Use PropertyHelper.
since Ant 1.8.2, use the three-arg method instead.
since Ant 1.8.2, use the three-arg method instead.
use the delegate mechanism instead
namespaces are unnecessary.
PropertyHelper chaining is deprecated.
namespaces are unnecessary.
use the other mechanisms of this class instead
namespaces are unnecessary.
namespaces are unnecessary.
use the delegate mechanism instead
namespaces are unnecessary.
PropertyHelper chaining is deprecated.
namespaces are unnecessary.
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.
use setParentFirst with a negated argument instead
since 1.5.x.
Use org.apache.tools.ant.types.Path#addExtdirs instead.
since Ant 1.10.7, use assumeJava1_1Plus, if necessary combined with !assumeJava1_2Plus
since Ant 1.10.7, use assumeJava1_2Plus, if necessary combined with !assumeJava1_3Plus
since Ant 1.10.7, use assumeJava1_3Plus, if necessary combined with !assumeJava1_4Plus
since Ant 1.10.7, use assumeJava1_4Plus, if necessary combined with !assumeJava1_5Plus
since Ant 1.10.7, use assumeJava1_5Plus, if necessary combined with !assumeJava1_6Plus
since Ant 1.10.7, use assumeJava1_6Plus, if necessary combined with !assumeJava1_7Plus
since Ant 1.10.7, use assumeJava1_7Plus, if necessary combined with !assumeJava1_8Plus
since Ant 1.10.7, use assumeJava1_8Plus, if necessary combined with !assumeJava9Plus
since Ant 1.10.7, use assumeJava9Plus, in the future if necessary combined with !assumeJava10Plus
use #setOverwrite instead
since 1.5.x.
setPreserveLastModified(String) has been deprecated and
replaced with setPreserveLastModified(boolean) to
consistently let the Introspection mechanism work.
since 1.6.x.
stop using this attribute
since 1.5.x.
Use setDestFile(destfile) instead.
use #getEnvironmentVariables instead
since 1.4.x.
manage output at the task level.
since 1.4.x.
Use
setEol
instead.
only gets the first configured resource
since 1.5.x.
Use setDestFile(File) instead.
use the two arg version instead
this method isn't used anymore
this method isn't used anymore
use Collections.enumeration(Arrays.asList(array))
use Stream.concat(Collections.list(one).stream(), Collections.list(two).stream())
.collect(Collectors.collectingAndThen(Collectors.toList(), Collections::enumeration))
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.
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.
since 1.6.x.
Use setByLine(boolean).
since 1.7.
Use executeScript(attribute, elements, instance) instead.
since 1.5.x.
Use org.apache.tools.ant.taskdefs.optional.net.SetProxy
since 1.5.x.
Use org.apache.tools.ant.taskdefs.optional.net.SetProxy
since 1.5.x.
Use org.apache.tools.ant.taskdefs.optional.net.SetProxy
since 1.5.x.
Use org.apache.tools.ant.taskdefs.optional.net.SetProxy
since 1.5.x.
Use org.apache.tools.ant.taskdefs.optional.net.SetProxy
since 1.5.x.
Use org.apache.tools.ant.util.JAXPUtils#getSystemId instead.
since 1.5.x.
Use the method taking a TargetOs argument instead.
since 1.5.x.
This was never a supported feature and has been
deprecated without replacement.
since 1.5.x.
use the two-arg version instead.
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.
since 1.5.x.
For consistency with other tasks, please use setDestFile().
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.
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.
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.
since 1.5.x.
Use setDestFile(File) instead
since 1.5.x.
Use setDestFile(File) instead.
since 1.5.x.
Use setDestFile(File) instead.
since 1.7.
Please don't use this, it effectively creates the
entire command.
since Ant 1.7.1 because a mapper might ref a
FileNameMapper implementation directly.
use Stream.concat(Collections.list(e1).stream(), Collections.list(e2).stream())
.collect(Collectors.collectingAndThen(Collectors.toList(), Collections::enumeration))
instantiate a list and use forEachRemaining(list::add)
use Collections.enumeration()
use Collections.list(e).iterator()
use stream().collect(Collectors.joining(","))
since ant 1.7.1 use createTempFile(Project, String, String, File,
boolean, boolean) instead.
since ant 1.7.1 use createTempFile(Project, String, String, File,
boolean, boolean) instead.
since Ant 1.10.8 use createTempFile(Project, String, String, File,
boolean, boolean) instead.
since 1.7.
Use getFileUtils instead,
FileUtils do not have state.
use #getParsedJavaVersion instead