Package org.apache.tools.ant.taskdefs
package org.apache.tools.ant.taskdefs
-
ClassDescriptionoriginal Cvs.java 1.20This is factored out from
SignJar
; a base class that can be used for both signing and verifying JAR files using jarsignerBuild a sub-project.Helper class that implements the nested <reference> element of <ant> and <antcall>.Helper class that implements the nested <target> element of <ant> and <antcall>.Antlib task.Base class for tasks that that can be used in antlibs.Creates a partial DTD for Ant from the currently known tasks.Writes the actual structure information.Definition to allow the URI to be considered for Ant attributes.Ant task to dynamically augment a previously declared reference.Will set the given property if the requested resource is available at runtime.EnumeratedAttribute covering the file types to be checked for, either file or dir.Sets a property to the base name of a specified file, optionally minus a suffix.Simple task which bind some targets to some defined extension pointRead, increment, and write a build number in a file It will first attempt to read a build number from a file, then set the property "build.number" to the value that was read in (or 0 if no such value).Expands a file that has been compressed with the BZIP2 algorithm.Compresses a file with the BZIP2 algorithm.Call another target in the same project.Used to create or verify file checksums.Helper class for the format attribute.Chmod equivalent for unix-like environments.EXPERIMENTAL Create or modifies ClassLoader.Not a real task but used during tests.Task that configures theCommandLauncher
to used when starting external processes.Adds a component definition to the current project.This class contains the 'concat' task, used to concatenate a series of files into a single stream.sub element points to a file or contains textTask to set a property conditionally using <uptodate>, <available>, and many other supported conditions.Copies a file or directory to a new file or directory.Deprecated.The copydir task is deprecated since Ant 1.2.Deprecated.The copyfile task is deprecated since Ant 1.2.Deprecated.this task should have never been released and was obsoleted by ResourceCollection support in Copy available since Ant 1.7.0.Performs operations on a CVS repository.Adds an new entry to a CVS password file.Alters the default excludes for the entire build..Base class for Definitions handling uri and class loading.Base class for Taskdef and Typedef - handles all the attributes for Typedef.Enumerated type for format attributeEnumerated type for onError attributeDeletes a file or directory, or set of files defined by a fileset.Deprecated.The deltree task is deprecated since Ant 1.2.Examines and removes out of date target files.This is a task that hands off work to the Diagnostics module.Determines the directory name of the specified file.Creates a EAR archive.Writes a message to the Ant logging facilities.The enumerated values for the level attribute.Echo XML.Deprecated.since 1.2.Executes a given command if the os platform is appropriate.Runs an external program.Execute a Java class.Executes a given command, supplying a set of files as arguments.Enumerated attribute with the values "file", "dir" and "both" for the type attribute.Used byExecute
to handle input and output stream of subprocesses.Destroys a process running for too long.Exits the active build, giving an additional message if available.Unzip a file.Sets a token filter that is used by the file copy tasks to do token substitution.Converts text source files to local OS formatting conventions, as well as repair text files damaged by misconfigured or misguided editors or file transfer programs.Enumerated attribute with the values "asis", "add" and "remove".Enumerated attribute with the values "asis", "cr", "lf", "crlf", "mac", "unix" and "dos.Generates a key in a keystore.A class corresponding to the dname nested element.A DistinguishedName parameter.Gets a particular file from a URL source.Provide this for Backward Compatibility.Interface implemented for reporting progress of downloading.do nothing with progress infoverbose progress system prints to some output streamExpands a file that has been compressed with the GZIP algorithm.Compresses a file with the GZIP algorithm.Sets properties to the host provided, or localhost if no information is provided.Task to import another build file into the current project.Reads an input line from the console.EnumeratedAttribute representing the built-in input handler types: "default", "propertyfile", "greedy", "secure" (since Ant 1.8).Creates a JAR archive.The manifest config enumerated type.The strict enumerated type.Launcher for Java applications.Compiles Java source files.Generates Javadoc documentation for a collection of source code.EnumeratedAttribute implementation supporting the Javadoc scoping values.A project aware class used for Javadoc extensions which take a name and a path such as doclet and taglet arguments.An HTML element in the Javadoc.Used to track info about the packages to be javadoc'dThis class is used to manage the source files to be processed.Handles JDBC configuration needed by SQL type tasks.Deprecated.since 1.2.Deprecated.since 1.2.Deprecated.KeySubst is deprecated since Ant 1.1.Gets lengths: of files/resources, byte size; of strings, length (optionally trimmed).EnumeratedAttribute operation modeEnumeratedAttribute for the when attribute.Load a file into a propertyLoad a file's contents as Ant properties.Load a resource into a propertyTask to create local properties in the current scope.Nestedname
element.Logs each line written to this stream to the log system of ant.Logs standard output and error of a subprocess to the log system of ant.Describe classMacroDef
here.An attribute for the MacroDef task.The class corresponding to the sequential nested element.A nested element for the MacroDef task.A nested text element for the MacroDef task.The class to be placed in the ant type definition.Embedded element in macro instanceThis task takes file and turns them into a URL, which it then assigns to a property.Holds the data of a jar manifest.An attribute for the manifest.A manifest section - you can nest attribute elements into sections.Converts a Path into a property suitable as a Manifest classpath.Exception thrown indicating problems in a JAR ManifestCreates a manifest file for inclusion in a JAR, Ant task wrapper aroundManifest
.Helper class for Manifest's mode attribute.This is an abstract task that should be used by all those tasks that require to include or exclude files based on pattern matching.Creates a given directory.Moves a file or directory to a new file or directory.A task to provide "nice-ness" to the current thread, and/or to query the current value.Abstract Base class for pack tasks.Executes the contained tasks in separate threads, continuing once all are completed.Class which holds a list of tasks to executePatches a file by applying a 'diff' file to it; requires "patch" to be on the execution path.Converts path and classpath information to a specific target OS format.An enumeration of supported targets: "windows", "unix", "netware", and "os/2".The preset definition task generates a new definition based on a current definition with some attributes or elements preset.This class contains the unknown element and the object that is predefined.Task to install project helper into Ant's runtimeSets a property by name, or set of properties (from file or resource) in the project.This task is designed to allow the user to install a different PropertyHelper on the current Project.Copies standard output and error of subprocesses to standard output and error of the parent process.Specialized subclass that allows access to the running StreamPumper.Adds a listener to the current build process that records the output to a file.A list of possible values for thesetAction()
method.A list of possible values for thesetLoglevel()
method.This is a class that represents a recorder.The Redirector class manages the setup and connection of input and output redirection for an Ant project component.Deprecated.The rename task is deprecated since Ant 1.2.Replaces all occurrences of one or more string tokens with given values in the indicated files.Count resources from a ResourceCollection, storing to a property or writing to the log.Retries the nested task a set number of timesRuns the rmic compiler against classes.A task to send SMTP email.Sequential is a container task - it can contain other Ant tasks.SetsPosixFilePermission
s for resources.Options for dealing with file systems that don't support POSIX permissions.Signs JAR or ZIP files with the javasign command line tool.Sleep, or pause, for a period of time.Executes a series of SQL statements on a database using JDBC.delimiters we support, "normal" and "row"The action a task should perform on an error, one of "continue", "stop" and "abort"Copies all data from an input stream to an output stream.Calls a given target for all defined sub-builds.Synchronize a local target directory from the files defined in one or more filesets.Subclass Copy in order to access it's file/dir maps.Inner class used to hold exclude patterns and selectors to save stuff that happens to live in the target directory but should not get removed.Creates a tar archive.Valid Modes for Compression attribute to Tar TaskThis is a FileSet with the option to specify permissions and other attributes.Set of options for long file handling in the task.Adds a task definition to the current project, such that this new task can be used in the current project.Deprecated.since 1.2.x.This task sets a property to the name of a temporary file.Touch a file and/or fileset(s) and/or filelist(s); corresponds to the Unix touch command.Has been merged into ExecuteOn, empty class for backwards compatibility.Set the length of one or more files, as the intermittently availabletruncate
Unix utility/function.Sets properties to the current time, or offsets from the current time.set of valid units to use for time offsets.Adds a data type definition to the current project.Abstract Base class for unpack tasks.Untar a file.Valid Modes for Compression attribute to Untar TaskSets the given property if the specified target has a timestamp greater than all of the source files.JAR verification task.Wait for an external event to occur.The enumeration of units: millisecond, second, minute, hour, day, weekAn extension of <jar> to create a WAR archive.Find a class or resource on the supplied classpath, or the system classpath if none is supplied.Loads property values from a valid XML file, generating the property names from the file's element and attribute names.Proxy interface for XSLT processors.Extended Proxy interface for XSLT processors.Extends Proxy interface for XSLT processors.Extends Proxy interface for XSLT processors: adds support for XSLT parameters of various types (not only String)Interface to log messages for XSLTInterface for a class that one can set an XSLTLogger on.Processes a set of XML documents via XSLT.The factory element to configure a transformer factoryA JAXP factory attribute.A feature for the TraX factory.Specify how the result tree should be output as specified in the specification.The Param inner class used to store XSL parametersEnum for types of the parameter expression.Create a Zip file.Holds the up-to-date status and the out-of-date resources of the original archive.Possible behaviors when a duplicate file is added: "add", "preserve" or "fail"Policy for creation of Unicode extra fields: never, always or not-encodeable.Possible behaviors when there are no matching files for the task: "fail", "skip", or "create".The choices for Zip64 extensions.