A B C D E F G H I J K L M N O P Q R S T U V W X Z

A

addArguments(String[]) - Method in class org.apache.tools.ant.types.Commandline
 
addBuildListener(BuildListener) - Method in class org.apache.tools.ant.Project
 
addDataTypeDefinition(String, Class) - Method in class org.apache.tools.ant.Project
 
addDefaultExcludes() - Method in interface org.apache.tools.ant.FileScanner
Adds an array with default exclusions to the current exclusions set.
addDefaultExcludes() - Method in class org.apache.tools.ant.DirectoryScanner
Adds the array with default exclusions to the current exclusions set.
addDependency(String) - Method in class org.apache.tools.ant.Target
 
addExisting(Path) - Method in class org.apache.tools.ant.types.Path
Adds the components on the given path which exist to this Path.
addExtdirsToClasspath(Path) - Method in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
Emulation of extdirs feature in java >= 1.2.
addFiles(FileScanner, ZipOutputStream, String, String) - Method in class org.apache.tools.ant.taskdefs.Zip
Add all files of the given FileScanner to the ZipOutputStream prependig the given prefix to each filename.
addFiles(Vector, ZipOutputStream) - Method in class org.apache.tools.ant.taskdefs.Zip
Iterate over the given Vector of (zip)filesets and add all files to the ZipOutputStream using the given prefix.
addFileset(FileSet) - Method in class org.apache.tools.ant.taskdefs.Zip
Adds a set of files (nested fileset attribute).
addFileset(FileSet) - Method in class org.apache.tools.ant.types.Path
Adds a nested element.
addFilter(String, String) - Method in class org.apache.tools.ant.Project
 
addLoaderPackageRoot(String) - Method in class org.apache.tools.ant.AntClassLoader
Add a package root to the list of packages which must be loaded using this loader.
addOrReplaceTarget(String, Target) - Method in class org.apache.tools.ant.Project
 
addOrReplaceTarget(Target) - Method in class org.apache.tools.ant.Project
 
addParentDirs(File, String, ZipOutputStream, String) - Method in class org.apache.tools.ant.taskdefs.Zip
Ensure all parent dirs of a given entry have been added.
addReference(String, Object) - Method in class org.apache.tools.ant.Project
 
addSysproperty(Environment.Variable) - Method in class org.apache.tools.ant.types.CommandlineJava
 
addSysproperty(Environment.Variable) - Method in class org.apache.tools.ant.taskdefs.Java
Add a nested sysproperty element.
addSystemPackageRoot(String) - Method in class org.apache.tools.ant.AntClassLoader
Add a package root to the list of packages which must be loaded on the system loader.
addTarget(String, Target) - Method in class org.apache.tools.ant.Project
This call expects to add a new Target.
addTarget(Target) - Method in class org.apache.tools.ant.Project
This call expects to add a new Target.
addTask(Task) - Method in class org.apache.tools.ant.Target
 
addTaskDefinition(String, Class) - Method in class org.apache.tools.ant.Project
 
addVariable(Environment.Variable) - Method in class org.apache.tools.ant.types.Environment
 
addZipEntries(ZipFileSet, DirectoryScanner, ZipOutputStream, String) - Method in class org.apache.tools.ant.taskdefs.Zip
 
addZipfileset(ZipFileSet) - Method in class org.apache.tools.ant.taskdefs.Zip
Adds a set of files (nested zipfileset attribute) that can be read from an archive and be given a prefix/fullpath.
AntClassLoader - class org.apache.tools.ant.AntClassLoader.
Used to load classes within ant with a different claspath from that used to start ant.
AntClassLoader(Project, Path) - Constructor for class org.apache.tools.ant.AntClassLoader
Create a classloader for the given project using the classpath given.
AntClassLoader(Project, Path, boolean) - Constructor for class org.apache.tools.ant.AntClassLoader
Create a classloader for the given project using the classpath given.
append(Path) - Method in class org.apache.tools.ant.types.Path
Append the contents of the other Path instance to this.
append(PatternSet, Project) - Method in class org.apache.tools.ant.types.PatternSet
Adds the patterns of the other instance to this set.
archiveType - Variable in class org.apache.tools.ant.taskdefs.Zip
 
attributes - Variable in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
 

B

basedir - Variable in class org.apache.tools.ant.DirectoryScanner
The base directory which should be scanned.
bootclasspath - Variable in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
 
BuildEvent - class org.apache.tools.ant.BuildEvent.
 
BuildEvent(Project) - Constructor for class org.apache.tools.ant.BuildEvent
Construct a BuildEvent for a project level event
BuildEvent(Target) - Constructor for class org.apache.tools.ant.BuildEvent
Construct a BuildEvent for a target level event
BuildEvent(Task) - Constructor for class org.apache.tools.ant.BuildEvent
Construct a BuildEvent for a task level event
BuildException - exception org.apache.tools.ant.BuildException.
Signals an error condition during a build.
BuildException() - Constructor for class org.apache.tools.ant.BuildException
Constructs a build exception with no descriptive information.
BuildException(String) - Constructor for class org.apache.tools.ant.BuildException
Constructs an exception with the given descriptive message.
BuildException(String, Location) - Constructor for class org.apache.tools.ant.BuildException
Constructs an exception with the given descriptive message and a location in a file.
BuildException(String, Throwable) - Constructor for class org.apache.tools.ant.BuildException
Constructs an exception with the given message and exception as a root cause.
BuildException(String, Throwable, Location) - Constructor for class org.apache.tools.ant.BuildException
Constructs an exception with the given message and exception as a root cause and a location in a file.
BuildException(Throwable) - Constructor for class org.apache.tools.ant.BuildException
Constructs an exception with the given exception as a root cause.
BuildException(Throwable, Location) - Constructor for class org.apache.tools.ant.BuildException
Constructs an exception with the given exception as a root cause and a location in a file.
buildFinished(BuildEvent) - Method in interface org.apache.tools.ant.BuildListener
Fired after the last target has finished.
BuildListener - interface org.apache.tools.ant.BuildListener.
Classes that implement this interface will be notified when things happend during a build.
BuildLogger - interface org.apache.tools.ant.BuildLogger.
Interface used by Ant to log the build output.
buildStarted(BuildEvent) - Method in interface org.apache.tools.ant.BuildListener
Fired before any targets are started.

C

checked - Variable in class org.apache.tools.ant.types.DataType
Are we sure we don't hold circular references?
circularReference() - Method in class org.apache.tools.ant.types.DataType
Creates an exception that indicates the user has generated a loop of data types referencing each other.
classname - Variable in class org.apache.tools.ant.types.Mapper
 
classpath - Variable in class org.apache.tools.ant.types.Mapper
 
cleanUp() - Method in class org.apache.tools.ant.taskdefs.Zip
Do any clean up necessary to allow this instance to be used again.
clear() - Method in class org.apache.tools.ant.types.Commandline
Clear out the whole command line.
clearArgs() - Method in class org.apache.tools.ant.types.Commandline
Clear out the arguments but leave the executable in place for another operation.
clearArgs() - Method in class org.apache.tools.ant.taskdefs.Java
Clear out the arguments to this java task.
clearJavaArgs() - Method in class org.apache.tools.ant.types.CommandlineJava
Clear out the java arguments.
clone() - Method in class org.apache.tools.ant.types.Commandline
 
clone() - Method in class org.apache.tools.ant.types.CommandlineJava
 
clone() - Method in class org.apache.tools.ant.types.CommandlineJava.SysProperties
 
clone() - Method in class org.apache.tools.ant.types.Path
Return a Path that holds the same elements as this instance.
close() - Method in class org.apache.tools.ant.taskdefs.LogOutputStream
Writes all remaining
Commandline - class org.apache.tools.ant.types.Commandline.
Commandline objects help handling command lines specifying processes to execute.
Commandline.Argument - class org.apache.tools.ant.types.Commandline.Argument.
Used for nested xml command line definitions.
Commandline.Argument(Commandline) - Constructor for class org.apache.tools.ant.types.Commandline.Argument
 
Commandline.Marker - class org.apache.tools.ant.types.Commandline.Marker.
Class to keep track of the position of an Argument.
Commandline() - Constructor for class org.apache.tools.ant.types.Commandline
 
Commandline(String) - Constructor for class org.apache.tools.ant.types.Commandline
 
CommandlineJava - class org.apache.tools.ant.types.CommandlineJava.
 
CommandlineJava.SysProperties - class org.apache.tools.ant.types.CommandlineJava.SysProperties.
Specialized Environment class for System properties
CommandlineJava.SysProperties() - Constructor for class org.apache.tools.ant.types.CommandlineJava.SysProperties
 
CommandlineJava() - Constructor for class org.apache.tools.ant.types.CommandlineJava
 
compileClasspath - Variable in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
 
compileList - Variable in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
 
CompilerAdapter - interface org.apache.tools.ant.taskdefs.compilers.CompilerAdapter.
The interface that all compiler adapters must adher to.
CompilerAdapterFactory - class org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.
Creates the necessary compiler adapter, given basic criteria.
concatSystemClasspath() - Method in class org.apache.tools.ant.types.Path
Concatenates the system class path in the order specified by the ${build.sysclasspath} property - using "last" as default value.
concatSystemClasspath(String) - Method in class org.apache.tools.ant.types.Path
Concatenates the system class path in the order specified by the ${build.sysclasspath} property - using the supplied value if ${build.sysclasspath} has not been set.
containsValue(String) - Method in class org.apache.tools.ant.types.EnumeratedAttribute
Is this value included in the enumeration?
copyFile(File, File) - Method in class org.apache.tools.ant.Project
Convienence method to copy a file from a source to a destination.
copyFile(File, File, boolean) - Method in class org.apache.tools.ant.Project
Convienence method to copy a file from a source to a destination specifying if token filtering must be used.
copyFile(File, File, boolean, boolean) - Method in class org.apache.tools.ant.Project
Convienence method to copy a file from a source to a destination specifying if token filtering must be used and if source files may overwrite newer destination files.
copyFile(File, File, boolean, boolean, boolean) - Method in class org.apache.tools.ant.Project
Convienence method to copy a file from a source to a destination specifying if token filtering must be used, if source files may overwrite newer destination files and the last modified time of destFile file should be made equal to the last modified time of sourceFile.
copyFile(String, String) - Method in class org.apache.tools.ant.Project
Convienence method to copy a file from a source to a destination.
copyFile(String, String, boolean) - Method in class org.apache.tools.ant.Project
Convienence method to copy a file from a source to a destination specifying if token filtering must be used.
copyFile(String, String, boolean, boolean) - Method in class org.apache.tools.ant.Project
Convienence method to copy a file from a source to a destination specifying if token filtering must be used and if source files may overwrite newer destination files.
copyFile(String, String, boolean, boolean, boolean) - Method in class org.apache.tools.ant.Project
Convienence method to copy a file from a source to a destination specifying if token filtering must be used, if source files may overwrite newer destination files and the last modified time of destFile file should be made equal to the last modified time of sourceFile.
couldHoldIncluded(String) - Method in class org.apache.tools.ant.DirectoryScanner
Tests whether a name matches the start of at least one include pattern.
createArg() - Method in class org.apache.tools.ant.taskdefs.Java
Creates a nested arg element.
createArgument() - Method in class org.apache.tools.ant.types.Commandline
Creates an argument object.
createArgument() - Method in class org.apache.tools.ant.types.CommandlineJava
 
createClasspath() - Method in class org.apache.tools.ant.types.Mapper
Set the classpath to load the FileNameMapper through (nested element).
createClasspath() - Method in class org.apache.tools.ant.taskdefs.Java
Creates a nested classpath element
createClasspath(Project) - Method in class org.apache.tools.ant.types.CommandlineJava
 
createDataType(String) - Method in class org.apache.tools.ant.Project
 
createExclude() - Method in class org.apache.tools.ant.types.FileSet
add a name entry on the exclude list
createExclude() - Method in class org.apache.tools.ant.types.PatternSet
add a name entry on the exclude list
createExclude() - Method in class org.apache.tools.ant.taskdefs.MatchingTask
add a name entry on the exclude list
createInclude() - Method in class org.apache.tools.ant.types.FileSet
add a name entry on the include list
createInclude() - Method in class org.apache.tools.ant.types.PatternSet
add a name entry on the include list
createInclude() - Method in class org.apache.tools.ant.taskdefs.MatchingTask
add a name entry on the include list
createInstance(String) - Method in class org.apache.tools.ant.util.regexp.RegexpMatcherFactory
 
createJvmarg() - Method in class org.apache.tools.ant.taskdefs.Java
Creates a nested jvmarg element.
createMarker() - Method in class org.apache.tools.ant.types.Commandline
Return a marker.
createPath() - Method in class org.apache.tools.ant.types.Path
Creates a nested element.
createPathElement() - Method in class org.apache.tools.ant.types.Path
Creates the nested element.
createPatternSet() - Method in class org.apache.tools.ant.types.FileSet
 
createPatternSet() - Method in class org.apache.tools.ant.taskdefs.MatchingTask
add a set of patterns
createProcessErrorPump(InputStream, OutputStream) - Method in class org.apache.tools.ant.taskdefs.PumpStreamHandler
 
createProcessOutputPump(InputStream, OutputStream) - Method in class org.apache.tools.ant.taskdefs.PumpStreamHandler
 
createPump(InputStream, OutputStream) - Method in class org.apache.tools.ant.taskdefs.PumpStreamHandler
Creates a stream pumper to copy the given input stream to the given output stream.
createTask(String) - Method in class org.apache.tools.ant.Project
 
createVmArgument() - Method in class org.apache.tools.ant.types.CommandlineJava
 

D

DataType - class org.apache.tools.ant.types.DataType.
Base class for those classes that can appear inside the build file as stand alone data types.
DataType() - Constructor for class org.apache.tools.ant.types.DataType
 
debug - Variable in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
 
DefaultCompilerAdapter - class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.
This is the default implementation for the CompilerAdapter interface.
DefaultCompilerAdapter() - Constructor for class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
 
DEFAULTEXCLUDES - Static variable in class org.apache.tools.ant.DirectoryScanner
Patterns that should be excluded by default.
depend - Variable in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
 
deprecation - Variable in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
 
description - Variable in class org.apache.tools.ant.types.DataType
The descriptin the user has set.
description - Variable in class org.apache.tools.ant.Task
 
destDir - Variable in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
 
dieOnCircularReference(Stack, Project) - Method in class org.apache.tools.ant.types.DataType
Check to see whether any DataType we hold references to is included in the Stack (which holds all DataType instances that directly or indirectly reference this instance, including this instance itself).
dieOnCircularReference(Stack, Project) - Method in class org.apache.tools.ant.types.Path
Overrides the version of DataType to recurse on all DataType child elements that may have been added.
DirectoryScanner - class org.apache.tools.ant.DirectoryScanner.
Class for scanning a directory for files/directories that match a certain criteria.
DirectoryScanner() - Constructor for class org.apache.tools.ant.DirectoryScanner
Constructor.
dirsExcluded - Variable in class org.apache.tools.ant.DirectoryScanner
The files that where found and matched at least one includes, and also matched at least one excludes.
dirsIncluded - Variable in class org.apache.tools.ant.DirectoryScanner
The directories that where found and matched at least one includes, and matched no excludes.
dirsNotIncluded - Variable in class org.apache.tools.ant.DirectoryScanner
The directories that where found and did not match any includes.
DOMElementWriter - class org.apache.tools.ant.util.DOMElementWriter.
Writes a DOM tree to a given Writer.
DOMElementWriter() - Constructor for class org.apache.tools.ant.util.DOMElementWriter
 

E

emptyBehavior - Variable in class org.apache.tools.ant.taskdefs.Zip
 
encode(String) - Method in class org.apache.tools.ant.util.DOMElementWriter
Escape <, & and " as their entities.
encoding - Variable in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
 
EnumeratedAttribute - class org.apache.tools.ant.types.EnumeratedAttribute.
Helper class for attributes that can only take one of a fixed list of values.
EnumeratedAttribute() - Constructor for class org.apache.tools.ant.types.EnumeratedAttribute
 
Environment - class org.apache.tools.ant.types.Environment.
Wrapper for environment variables.
Environment.Variable - class org.apache.tools.ant.types.Environment.Variable.
 
Environment.Variable() - Constructor for class org.apache.tools.ant.types.Environment.Variable
 
Environment() - Constructor for class org.apache.tools.ant.types.Environment
 
evalName(Project) - Method in class org.apache.tools.ant.types.PatternSet.NameEntry
 
excludes - Variable in class org.apache.tools.ant.DirectoryScanner
The patterns for the files that should be excluded.
Execute - class org.apache.tools.ant.taskdefs.Execute.
Runs an external program.
execute() - Method in class org.apache.tools.ant.Target
 
execute() - Method in interface org.apache.tools.ant.taskdefs.compilers.CompilerAdapter
Executes the task.
execute() - Method in class org.apache.tools.ant.taskdefs.Zip
 
execute() - Method in class org.apache.tools.ant.taskdefs.Execute
Runs a process defined by the command line and returns its exit status.
execute() - Method in class org.apache.tools.ant.taskdefs.Java
Do the execution.
execute() - Method in class org.apache.tools.ant.Task
Called by the project to let the task do it's work.
Execute() - Constructor for class org.apache.tools.ant.taskdefs.Execute
Creates a new execute object using PumpStreamHandler for stream handling.
Execute(ExecuteStreamHandler) - Constructor for class org.apache.tools.ant.taskdefs.Execute
Creates a new execute object.
Execute(ExecuteStreamHandler, ExecuteWatchdog) - Constructor for class org.apache.tools.ant.taskdefs.Execute
Creates a new execute object.
execute(Project) - Method in class org.apache.tools.ant.taskdefs.ExecuteJava
 
executeExternalCompile(String[], int) - Method in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
Do the compile with the specified arguments.
ExecuteJava - class org.apache.tools.ant.taskdefs.ExecuteJava.
 
executeJava() - Method in class org.apache.tools.ant.taskdefs.Java
Do the execution and return a return code.
ExecuteJava() - Constructor for class org.apache.tools.ant.taskdefs.ExecuteJava
 
ExecuteStreamHandler - interface org.apache.tools.ant.taskdefs.ExecuteStreamHandler.
Used by Execute to handle input and output stream of subprocesses.
executeTarget(String) - Method in class org.apache.tools.ant.Project
 
executeTargets(Vector) - Method in class org.apache.tools.ant.Project
 
extdirs - Variable in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
 
extractVariablePart(String) - Method in class org.apache.tools.ant.util.GlobPatternMapper
Returns the part of the given string that matches the * in the "from" pattern.

F

FileNameMapper - interface org.apache.tools.ant.util.FileNameMapper.
Interface to be used by SourceFileScanner.
FileScanner - interface org.apache.tools.ant.FileScanner.
An interface used to describe the actions required by any type of directory scanner.
fileset - Variable in class org.apache.tools.ant.taskdefs.MatchingTask
 
FileSet - class org.apache.tools.ant.types.FileSet.
Moved out of MatchingTask to make it a standalone object that could be referenced (by scripts for example).
FileSet() - Constructor for class org.apache.tools.ant.types.FileSet
 
FileSet(FileSet) - Constructor for class org.apache.tools.ant.types.FileSet
 
filesExcluded - Variable in class org.apache.tools.ant.DirectoryScanner
The files that where found and matched at least one includes, and also matched at least one excludes.
filesIncluded - Variable in class org.apache.tools.ant.DirectoryScanner
The files that where found and matched at least one includes, and matched no excludes.
filesNotIncluded - Variable in class org.apache.tools.ant.DirectoryScanner
The files that where found and did not match any includes.
findClass(String) - Method in class org.apache.tools.ant.AntClassLoader
Search for and load a class on the classpath of this class loader.
fireBuildFinished(Throwable) - Method in class org.apache.tools.ant.Project
 
fireBuildStarted() - Method in class org.apache.tools.ant.Project
 
fireMessageLogged(Project, String, int) - Method in class org.apache.tools.ant.Project
 
fireMessageLogged(Target, String, int) - Method in class org.apache.tools.ant.Project
 
fireMessageLogged(Task, String, int) - Method in class org.apache.tools.ant.Project
 
fireTargetFinished(Target, Throwable) - Method in class org.apache.tools.ant.Project
 
fireTargetStarted(Target) - Method in class org.apache.tools.ant.Project
 
fireTaskFinished(Task, Throwable) - Method in class org.apache.tools.ant.Project
 
fireTaskStarted(Task) - Method in class org.apache.tools.ant.Project
 
FlatFileNameMapper - class org.apache.tools.ant.util.FlatFileNameMapper.
Implementation of FileNameMapper that always returns the source file name without any leading directory information.
FlatFileNameMapper() - Constructor for class org.apache.tools.ant.util.FlatFileNameMapper
 
forceLoadClass(String) - Method in class org.apache.tools.ant.AntClassLoader
Load a class through this class loader even if that class is available on the system classpath.
forceLoadSystemClass(String) - Method in class org.apache.tools.ant.AntClassLoader
Load a class through this class loader but defer to the system class loader This ensures that instances of the returned class will be compatible with instances which which have already been loaded on the system loader.
from - Variable in class org.apache.tools.ant.types.Mapper
 
fromPostfix - Variable in class org.apache.tools.ant.util.GlobPatternMapper
Part of "from" pattern after the *.
fromPrefix - Variable in class org.apache.tools.ant.util.GlobPatternMapper
Part of "from" pattern before the *.

G

getArguments() - Method in class org.apache.tools.ant.types.Commandline
Returns all arguments defined by addLine, addValue or the argument object.
getBasedir() - Method in interface org.apache.tools.ant.FileScanner
Gets the basedir that is used for scanning.
getBasedir() - Method in class org.apache.tools.ant.DirectoryScanner
Gets the basedir that is used for scanning.
getBaseDir() - Method in class org.apache.tools.ant.Project
 
getBuildListeners() - Method in class org.apache.tools.ant.Project
 
getClassname() - Method in class org.apache.tools.ant.types.CommandlineJava
 
getClasspath() - Method in class org.apache.tools.ant.types.CommandlineJava
 
getCommandline() - Method in class org.apache.tools.ant.types.Commandline
Returns the executable and all defined arguments.
getCommandline() - Method in class org.apache.tools.ant.types.CommandlineJava
 
getCommandline() - Method in class org.apache.tools.ant.taskdefs.Execute
Returns the commandline used to create a subprocess.
getCompileClasspath() - Method in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
Builds the compilation classpath.
getCompiler(String, Task) - Static method in class org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory
Based on the parameter passed in, this method creates the necessary factory desired.
getContent() - Method in class org.apache.tools.ant.types.Environment.Variable
 
getDataTypeDefinitions() - Method in class org.apache.tools.ant.Project
 
getDefaultTarget() - Method in class org.apache.tools.ant.Project
 
getDependencies() - Method in class org.apache.tools.ant.Target
 
getDescription() - Method in class org.apache.tools.ant.types.DataType
Return the description for the current data type.
getDescription() - Method in class org.apache.tools.ant.Target
 
getDescription() - Method in class org.apache.tools.ant.Task
 
getDir(Project) - Method in class org.apache.tools.ant.types.FileSet
 
getDirectoryScanner(File) - Method in class org.apache.tools.ant.taskdefs.MatchingTask
Returns the directory scanner needed to access the files to process.
getDirectoryScanner(Project) - Method in class org.apache.tools.ant.types.FileSet
Returns the directory scanner needed to access the files to process.
getDirectoryScanner(Project) - Method in class org.apache.tools.ant.types.ZipFileSet
Return the DirectoryScanner associated with this FileSet.
getEnvironment() - Method in class org.apache.tools.ant.taskdefs.Execute
Returns the environment used to create a subprocess.
getException() - Method in class org.apache.tools.ant.BuildEvent
Returns the exception that was thrown, if any.
getException() - Method in class org.apache.tools.ant.BuildException
Returns the nested exception.
getExcludedDirectories() - Method in interface org.apache.tools.ant.FileScanner
Get the names of the directories that matched at least one of the include patterns, an matched also at least one of the exclude patterns.
getExcludedDirectories() - Method in class org.apache.tools.ant.DirectoryScanner
Get the names of the directories that matched at least one of the include patterns, an matched also at least one of the exclude patterns.
getExcludedFiles() - Method in interface org.apache.tools.ant.FileScanner
Get the names of the files that matched at least one of the include patterns, an matched also at least one of the exclude patterns.
getExcludedFiles() - Method in class org.apache.tools.ant.DirectoryScanner
Get the names of the files that matched at least one of the include patterns, an matched also at least one of the exclude patterns.
getExcludePatterns(Project) - Method in class org.apache.tools.ant.types.PatternSet
Returns the filtered include patterns.
getExecutable() - Method in class org.apache.tools.ant.types.Commandline
 
getExitValue() - Method in class org.apache.tools.ant.taskdefs.Execute
 
getFilters() - Method in class org.apache.tools.ant.Project
 
getFullpath() - Method in class org.apache.tools.ant.types.ZipFileSet
Return the full pathname of the single entry in this fileset.
getGroups(String) - Method in interface org.apache.tools.ant.util.regexp.RegexpMatcher
Returns a Vector of matched groups found in the argument.
getImplementation() - Method in class org.apache.tools.ant.types.Mapper
Returns a fully configured FileNameMapper implementation.
getImplementation() - Method in class org.apache.tools.ant.types.Mapper.MapperType
 
getIncludedDirectories() - Method in interface org.apache.tools.ant.FileScanner
Get the names of the directories that matched at least one of the include patterns, an matched none of the exclude patterns.
getIncludedDirectories() - Method in class org.apache.tools.ant.DirectoryScanner
Get the names of the directories that matched at least one of the include patterns, an matched none of the exclude patterns.
getIncludedDirectories() - Method in class org.apache.tools.ant.types.ZipScanner
Returns an empty list of directories to create.
getIncludedFiles() - Method in interface org.apache.tools.ant.FileScanner
Get the names of the files that matched at least one of the include patterns, an matched none of the exclude patterns.
getIncludedFiles() - Method in class org.apache.tools.ant.DirectoryScanner
Get the names of the files that matched at least one of the include patterns, an matched none of the exclude patterns.
getIncludedFiles() - Method in class org.apache.tools.ant.types.ZipScanner
Returns the zip file itself, not the matching entries within the zip file.
getIncludePatterns(Project) - Method in class org.apache.tools.ant.types.PatternSet
Returns the filtered include patterns.
getJavac() - Method in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
 
getJavaCommand() - Method in class org.apache.tools.ant.types.CommandlineJava
 
getJavaVersion() - Static method in class org.apache.tools.ant.Project
 
getKey() - Method in class org.apache.tools.ant.types.Environment.Variable
 
getLocation() - Method in class org.apache.tools.ant.BuildException
Returns the file location where the error occured.
getLocation() - Method in class org.apache.tools.ant.Task
Returns the file location where this task was defined.
getMessage() - Method in class org.apache.tools.ant.BuildEvent
Returns the logging message.
getMessageLevel() - Method in class org.apache.tools.ant.taskdefs.LogOutputStream
 
getName() - Method in class org.apache.tools.ant.types.PatternSet.NameEntry
 
getName() - Method in class org.apache.tools.ant.Target
 
getName() - Method in class org.apache.tools.ant.Project
 
getNotIncludedDirectories() - Method in interface org.apache.tools.ant.FileScanner
Get the names of the directories that matched at none of the include patterns.
getNotIncludedDirectories() - Method in class org.apache.tools.ant.DirectoryScanner
Get the names of the directories that matched at none of the include patterns.
getNotIncludedFiles() - Method in interface org.apache.tools.ant.FileScanner
Get the names of the files that matched at none of the include patterns.
getNotIncludedFiles() - Method in class org.apache.tools.ant.DirectoryScanner
Get the names of the files that matched at none of the include patterns.
getOwningTarget() - Method in class org.apache.tools.ant.Task
Get the Target to which this task belongs
getParts() - Method in class org.apache.tools.ant.types.Commandline.Argument
Returns the parts this Argument consists of.
getParts() - Method in class org.apache.tools.ant.types.Path.PathElement
 
getPattern() - Method in interface org.apache.tools.ant.util.regexp.RegexpMatcher
Get a String representation of the regexp pattern
getPosition() - Method in class org.apache.tools.ant.types.Commandline.Marker
Return the number of arguments that preceeded this marker.
getPrefix() - Method in class org.apache.tools.ant.types.ZipFileSet
Return the prefix prepended to entries in the zip file.
getPriority() - Method in class org.apache.tools.ant.BuildEvent
Returns the priority of the logging message.
getProcEnvironment() - Static method in class org.apache.tools.ant.taskdefs.Execute
Find the list of environment variables for this process.
getProject() - Method in class org.apache.tools.ant.BuildEvent
Returns the project that fired this event.
getProject() - Method in class org.apache.tools.ant.Target
 
getProject() - Method in class org.apache.tools.ant.Task
Get the Project to which this task belongs
getProperties() - Method in class org.apache.tools.ant.Project
 
getProperty(String) - Method in class org.apache.tools.ant.Project
 
getRef() - Method in class org.apache.tools.ant.types.Mapper
Performs the check for circular references and returns the referenced Mapper.
getRef(Project) - Method in class org.apache.tools.ant.types.FileSet
Performs the check for circular references and returns the referenced FileSet.
getReferencedObject(Project) - Method in class org.apache.tools.ant.types.Reference
 
getReferences() - Method in class org.apache.tools.ant.Project
 
getRefId() - Method in class org.apache.tools.ant.types.Reference
 
getResourceAsStream(String) - Method in class org.apache.tools.ant.AntClassLoader
Get a stream to read the requested resource name.
getRuntimeConfigurableWrapper() - Method in class org.apache.tools.ant.Task
Returns the wrapper class for runtime configuration.
getSrc() - Method in class org.apache.tools.ant.types.ZipFileSet
Get the zip file from which entries will be extracted.
getSystemProperties() - Method in class org.apache.tools.ant.types.CommandlineJava
 
getTarget() - Method in class org.apache.tools.ant.BuildEvent
Returns the target that fired this event.
getTargets() - Method in class org.apache.tools.ant.Project
 
getTask() - Method in class org.apache.tools.ant.BuildEvent
Returns the task that fired this event.
getTaskDefinitions() - Method in class org.apache.tools.ant.Project
 
getTaskName() - Method in class org.apache.tools.ant.Task
Get the name to use in logging messages.
getTasks() - Method in class org.apache.tools.ant.Target
Get the current set of tasks to be executed by this target.
getUserProperties() - Method in class org.apache.tools.ant.Project
 
getUserProperty(String) - Method in class org.apache.tools.ant.Project
 
getValue() - Method in class org.apache.tools.ant.types.EnumeratedAttribute
Retrieves the value.
getValue() - Method in class org.apache.tools.ant.types.Environment.Variable
 
getValues() - Method in class org.apache.tools.ant.types.Mapper.MapperType
 
getValues() - Method in class org.apache.tools.ant.types.EnumeratedAttribute
This is the only method a subclass needs to implement.
getVariables() - Method in class org.apache.tools.ant.types.CommandlineJava.SysProperties
 
getVariables() - Method in class org.apache.tools.ant.types.Environment
 
getVmCommand() - Method in class org.apache.tools.ant.types.CommandlineJava
 
getVmversion() - Method in class org.apache.tools.ant.types.CommandlineJava
 
GlobPatternMapper - class org.apache.tools.ant.util.GlobPatternMapper.
Implementation of FileNameMapper that does simple wildcard pattern replacements.
GlobPatternMapper() - Constructor for class org.apache.tools.ant.util.GlobPatternMapper
 
grabFileNames(FileScanner[]) - Static method in class org.apache.tools.ant.taskdefs.Zip
 
grabFiles(FileScanner[]) - Static method in class org.apache.tools.ant.taskdefs.Zip
 
grabFiles(FileScanner[], String[][]) - Static method in class org.apache.tools.ant.taskdefs.Zip
 

H

haveSlowResults - Variable in class org.apache.tools.ant.DirectoryScanner
Have the Vectors holding our results been built by a slow scan?

I

IdentityMapper - class org.apache.tools.ant.util.IdentityMapper.
Implementation of FileNameMapper that always returns the source file name.
IdentityMapper() - Constructor for class org.apache.tools.ant.util.IdentityMapper
 
includeAntRuntime - Variable in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
 
includeJavaRuntime - Variable in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
 
includes - Variable in class org.apache.tools.ant.DirectoryScanner
The patterns for the files that should be included.
init() - Method in class org.apache.tools.ant.types.ZipScanner
Initialize DirectoryScanner data structures.
init() - Method in class org.apache.tools.ant.Task
Called by the project to let the task initialize properly.
init() - Method in class org.apache.tools.ant.Project
Initialise the project.
initZipOutputStream(ZipOutputStream) - Method in class org.apache.tools.ant.taskdefs.Zip
 
INVALID - Static variable in class org.apache.tools.ant.taskdefs.Execute
Invalid exit code.
isExcluded(String) - Method in class org.apache.tools.ant.DirectoryScanner
Tests whether a name matches against at least one exclude pattern.
isIncluded(String) - Method in class org.apache.tools.ant.DirectoryScanner
Tests whether a name matches against at least one include pattern.
isReference() - Method in class org.apache.tools.ant.types.DataType
Has the refid attribute of this element been set?
isReference(String) - Method in class org.apache.tools.ant.util.DOMElementWriter
Is the given argument a character or entity reference?
isUpToDate(FileScanner[], File) - Method in class org.apache.tools.ant.taskdefs.Zip
Check whether the archive is up-to-date; and handle behavior for empty archives.

J

Java - class org.apache.tools.ant.taskdefs.Java.
This task acts as a loader for java applications but allows to use the same JVM for the called application thus resulting in much faster operation.
JAVA_1_0 - Static variable in class org.apache.tools.ant.Project
 
JAVA_1_1 - Static variable in class org.apache.tools.ant.Project
 
JAVA_1_2 - Static variable in class org.apache.tools.ant.Project
 
JAVA_1_3 - Static variable in class org.apache.tools.ant.Project
 
Java() - Constructor for class org.apache.tools.ant.taskdefs.Java
 

K

knownEntities - Variable in class org.apache.tools.ant.util.DOMElementWriter
Don't try to be too smart but at least recognize the predefined entities.

L

list() - Method in class org.apache.tools.ant.types.Path
Returns all path elements defined by this and nested path objects.
loadClass(String, boolean) - Method in class org.apache.tools.ant.AntClassLoader
Load a class with this class loader.
location - Variable in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
 
location - Variable in class org.apache.tools.ant.Task
 
Location - class org.apache.tools.ant.Location.
Stores the file name and line number in a file.
Location(String) - Constructor for class org.apache.tools.ant.Location
Creates a location consisting of a file name but no line number.
Location(String, int, int) - Constructor for class org.apache.tools.ant.Location
Creates a location consisting of a file name and line number.
log(String) - Method in class org.apache.tools.ant.Task
Log a message with the default (INFO) priority.
log(String) - Method in class org.apache.tools.ant.Project
 
log(String, int) - Method in class org.apache.tools.ant.Task
Log a mesage with the give priority.
log(String, int) - Method in class org.apache.tools.ant.Project
 
log(Target, String, int) - Method in class org.apache.tools.ant.Project
 
log(Task, String, int) - Method in class org.apache.tools.ant.Project
 
logAndAddFilesToCompile(Commandline) - Method in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
Logs the compilation parameters, adds the files to compile and logs the &qout;niceSourceList"
LogOutputStream - class org.apache.tools.ant.taskdefs.LogOutputStream.
Logs each line written to this stream to the log system of ant.
LogOutputStream(Task, int) - Constructor for class org.apache.tools.ant.taskdefs.LogOutputStream
Creates a new instance of this class.
LogStreamHandler - class org.apache.tools.ant.taskdefs.LogStreamHandler.
Logs standard output and error of a subprocess to the log system of ant.
LogStreamHandler(Task, int, int) - Constructor for class org.apache.tools.ant.taskdefs.LogStreamHandler
Creates a new instance of this class.
lSep - Static variable in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
 

M

mapFileName(String) - Method in class org.apache.tools.ant.util.FlatFileNameMapper
Returns an one-element array containing the source file name without any leading directory information.
mapFileName(String) - Method in class org.apache.tools.ant.util.GlobPatternMapper
Returns null if the source file name doesn't match the "from" pattern, an one-element array containing the translated file otherwise.
mapFileName(String) - Method in class org.apache.tools.ant.util.RegexpPatternMapper
Returns null if the source file name doesn't match the "from" pattern, an one-element array containing the translated file otherwise.
mapFileName(String) - Method in class org.apache.tools.ant.util.MergingMapper
Returns an one-element array containing the file name set via setTo.
mapFileName(String) - Method in interface org.apache.tools.ant.util.FileNameMapper
Returns an array containing the target filename(s) for the given source file.
mapFileName(String) - Method in class org.apache.tools.ant.util.IdentityMapper
Returns an one-element array containing the source file name.
Mapper - class org.apache.tools.ant.types.Mapper.
Element to define a FileNameMapper.
Mapper.MapperType - class org.apache.tools.ant.types.Mapper.MapperType.
Class as Argument to FileNameMapper.setType.
Mapper.MapperType() - Constructor for class org.apache.tools.ant.types.Mapper.MapperType
 
Mapper(Project) - Constructor for class org.apache.tools.ant.types.Mapper
 
match(String) - Method in class org.apache.tools.ant.types.ZipScanner
Matches a jar entry against the includes/excludes list, normalizing the path separator.
match(String, String) - Static method in class org.apache.tools.ant.DirectoryScanner
Matches a string against a pattern.
matches(String) - Method in interface org.apache.tools.ant.util.regexp.RegexpMatcher
Does the given argument match the pattern?
MatchingTask - class org.apache.tools.ant.taskdefs.MatchingTask.
This is an abstract task that should be used by all those tasks that require to include or exclude files based on pattern matching.
MatchingTask() - Constructor for class org.apache.tools.ant.taskdefs.MatchingTask
 
matchPath(String, String) - Static method in class org.apache.tools.ant.DirectoryScanner
Matches a path against a pattern.
matchPatternStart(String, String) - Static method in class org.apache.tools.ant.DirectoryScanner
Does the path match the start of this pattern up to the first "**".
maybeConfigure() - Method in class org.apache.tools.ant.Task
Configure this task - if it hasn't been done already.
mergedFile - Variable in class org.apache.tools.ant.util.MergingMapper
 
MergingMapper - class org.apache.tools.ant.util.MergingMapper.
Implementation of FileNameMapper that always returns the same target file name.
MergingMapper() - Constructor for class org.apache.tools.ant.util.MergingMapper
 
messageLogged(BuildEvent) - Method in interface org.apache.tools.ant.BuildListener
Fired whenever a message is logged.
MSG_DEBUG - Static variable in class org.apache.tools.ant.Project
 
MSG_ERR - Static variable in class org.apache.tools.ant.Project
 
MSG_INFO - Static variable in class org.apache.tools.ant.Project
 
MSG_VERBOSE - Static variable in class org.apache.tools.ant.Project
 
MSG_WARN - Static variable in class org.apache.tools.ant.Project
 

N

newRegexpMatcher() - Method in class org.apache.tools.ant.util.regexp.RegexpMatcherFactory
 
noChildrenAllowed() - Method in class org.apache.tools.ant.types.DataType
Creates an exception that indicates that this XML element must not have child elements if the refid attribute is set.

O

optimize - Variable in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
 

P

p - Variable in class org.apache.tools.ant.types.Mapper
 
Path - class org.apache.tools.ant.types.Path.
This object represents a path as used by CLASSPATH or PATH environment variable.
Path.PathElement - class org.apache.tools.ant.types.Path.PathElement.
Helper class, holds the nested values.
Path.PathElement(Path) - Constructor for class org.apache.tools.ant.types.Path.PathElement
 
Path(Project) - Constructor for class org.apache.tools.ant.types.Path
 
Path(Project, String) - Constructor for class org.apache.tools.ant.types.Path
Invoked by IntrospectionHelper for setXXX(Path p) attribute setters.
PatternSet - class org.apache.tools.ant.types.PatternSet.
Named collection of include/exclude tags.
PatternSet.NameEntry - class org.apache.tools.ant.types.PatternSet.NameEntry.
inner class to hold a name on list.
PatternSet.NameEntry(PatternSet) - Constructor for class org.apache.tools.ant.types.PatternSet.NameEntry
 
PatternSet() - Constructor for class org.apache.tools.ant.types.PatternSet
 
postfixLength - Variable in class org.apache.tools.ant.util.GlobPatternMapper
Length of the postfix ("from" pattern).
prefixLength - Variable in class org.apache.tools.ant.util.GlobPatternMapper
Length of the prefix ("from" pattern).
printStackTrace() - Method in class org.apache.tools.ant.BuildException
 
printStackTrace(PrintStream) - Method in class org.apache.tools.ant.BuildException
 
printStackTrace(PrintWriter) - Method in class org.apache.tools.ant.BuildException
 
processBuffer() - Method in class org.apache.tools.ant.taskdefs.LogOutputStream
Converts the buffer to a string and sends it to processLine
processLine(String) - Method in class org.apache.tools.ant.taskdefs.LogOutputStream
Logs a line to the log system of ant.
processLine(String, int) - Method in class org.apache.tools.ant.taskdefs.LogOutputStream
Logs a line to the log system of ant.
project - Variable in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
 
project - Variable in class org.apache.tools.ant.Task
 
Project - class org.apache.tools.ant.Project.
Central representation of an Ant project.
Project() - Constructor for class org.apache.tools.ant.Project
 
PumpStreamHandler - class org.apache.tools.ant.taskdefs.PumpStreamHandler.
Copies standard output and error of subprocesses to standard output and error of the parent process.
PumpStreamHandler() - Constructor for class org.apache.tools.ant.taskdefs.PumpStreamHandler
 
PumpStreamHandler(OutputStream) - Constructor for class org.apache.tools.ant.taskdefs.PumpStreamHandler
 
PumpStreamHandler(OutputStream, OutputStream) - Constructor for class org.apache.tools.ant.taskdefs.PumpStreamHandler
 

Q

quoteArgument(String) - Static method in class org.apache.tools.ant.types.Commandline
Put quotes around the given String if necessary.

R

ref - Variable in class org.apache.tools.ant.types.DataType
Value to the refid attribute.
Reference - class org.apache.tools.ant.types.Reference.
Class to hold a reference to another object in the project.
Reference() - Constructor for class org.apache.tools.ant.types.Reference
 
Reference(String) - Constructor for class org.apache.tools.ant.types.Reference
 
reg - Variable in class org.apache.tools.ant.util.RegexpPatternMapper
 
RegexpMatcher - interface org.apache.tools.ant.util.regexp.RegexpMatcher.
Interface describing a regular expression matcher.
RegexpMatcherFactory - class org.apache.tools.ant.util.regexp.RegexpMatcherFactory.
Simple Factory Class that produces an implementation of RegexpMatcher based on the system property ant.regexp.matcherimpl and the classes available.
RegexpMatcherFactory() - Constructor for class org.apache.tools.ant.util.regexp.RegexpMatcherFactory
 
RegexpPatternMapper - class org.apache.tools.ant.util.RegexpPatternMapper.
Implementation of FileNameMapper that does regular expression replacements.
RegexpPatternMapper() - Constructor for class org.apache.tools.ant.util.RegexpPatternMapper
 
removeBuildListener(BuildListener) - Method in class org.apache.tools.ant.Project
 
replaceReferences(String) - Method in class org.apache.tools.ant.util.RegexpPatternMapper
Replace all backreferences in the to pattern with the matched groups of the source.
resolveFile(String) - Method in class org.apache.tools.ant.Project
 
restoreSystem() - Method in class org.apache.tools.ant.types.CommandlineJava.SysProperties
 
restoreSystemProperties() - Method in class org.apache.tools.ant.types.CommandlineJava
 
restrict(String[], File, File, FileNameMapper) - Method in class org.apache.tools.ant.util.SourceFileScanner
Restrict the given set of files to those that are newer than their corresponding target files.
restrictAsFiles(String[], File, File, FileNameMapper) - Method in class org.apache.tools.ant.util.SourceFileScanner
Convinience layer on top of restrict that returns the source files as File objects (containing absolute paths if srcDir is absolute).
result - Variable in class org.apache.tools.ant.util.RegexpPatternMapper
 
run(String, Vector) - Method in class org.apache.tools.ant.taskdefs.Java
Executes the given classname with the given arguments as it was a command line application.
runCommand(Task, String[]) - Static method in class org.apache.tools.ant.taskdefs.Execute
A utility method that runs an external command.
runTarget(Target) - Method in class org.apache.tools.ant.Project
 

S

scan() - Method in interface org.apache.tools.ant.FileScanner
Scans the base directory for files that match at least one include pattern, and don't match any exclude patterns.
scan() - Method in class org.apache.tools.ant.DirectoryScanner
Scans the base directory for files that match at least one include pattern, and don't match any exclude patterns.
scandir(File, String, boolean) - Method in class org.apache.tools.ant.DirectoryScanner
Scans the passed dir for files and directories.
setAntRun(Project) - Method in class org.apache.tools.ant.taskdefs.Execute
Set the name of the antRun script using the project's value.
setArgs(String) - Method in class org.apache.tools.ant.taskdefs.Java
Set the command line arguments for the class.
setBasedir(File) - Method in interface org.apache.tools.ant.FileScanner
Sets the basedir for scanning.
setBasedir(File) - Method in class org.apache.tools.ant.taskdefs.Zip
This is the base directory to look in for things to zip.
setBasedir(File) - Method in class org.apache.tools.ant.DirectoryScanner
Sets the basedir for scanning.
setBaseDir(File) - Method in class org.apache.tools.ant.Project
 
setBasedir(String) - Method in interface org.apache.tools.ant.FileScanner
Sets the basedir for scanning.
setBasedir(String) - Method in class org.apache.tools.ant.DirectoryScanner
Sets the basedir for scanning.
setBasedir(String) - Method in class org.apache.tools.ant.Project
 
setClassname(String) - Method in class org.apache.tools.ant.types.Mapper
Set the class name of the FileNameMapper to use.
setClassname(String) - Method in class org.apache.tools.ant.types.CommandlineJava
 
setClassname(String) - Method in class org.apache.tools.ant.taskdefs.Java
Set the class name.
setClasspath(Path) - Method in class org.apache.tools.ant.types.Mapper
Set the classpath to load the FileNameMapper through (attribute).
setClasspath(Path) - Method in class org.apache.tools.ant.taskdefs.ExecuteJava
 
setClasspath(Path) - Method in class org.apache.tools.ant.taskdefs.Java
Set the classpath to be used for this compilation.
setClasspathRef(Reference) - Method in class org.apache.tools.ant.types.Mapper
Set the classpath to load the FileNameMapper through via reference (attribute).
setClasspathRef(Reference) - Method in class org.apache.tools.ant.taskdefs.Java
Adds a reference to a CLASSPATH defined elsewhere.
setCommandline(String[]) - Method in class org.apache.tools.ant.taskdefs.Execute
Sets the commandline of the subprocess to launch.
setCompress(boolean) - Method in class org.apache.tools.ant.taskdefs.Zip
Sets whether we want to compress the files or only store them.
setDefault(String) - Method in class org.apache.tools.ant.Project
 
setDefaultexcludes(boolean) - Method in class org.apache.tools.ant.types.FileSet
Sets whether default exclusions should be used or not.
setDefaultexcludes(boolean) - Method in class org.apache.tools.ant.taskdefs.MatchingTask
Sets whether default exclusions should be used or not.
setDefaultTarget(String) - Method in class org.apache.tools.ant.Project
 
setDepends(String) - Method in class org.apache.tools.ant.Target
 
setDescription(String) - Method in class org.apache.tools.ant.types.DataType
Sets a description of the current data type.
setDescription(String) - Method in class org.apache.tools.ant.Target
 
setDescription(String) - Method in class org.apache.tools.ant.Task
Sets a description of the current action.
setDir(File) - Method in class org.apache.tools.ant.types.FileSet
 
setDir(File) - Method in class org.apache.tools.ant.types.ZipFileSet
Set the directory for the fileset.
setDir(File) - Method in class org.apache.tools.ant.taskdefs.Java
The working directory of the process
setEmacsMode(boolean) - Method in interface org.apache.tools.ant.BuildLogger
Set this logger to produce emacs (and other editor) friendly output.
setEnvironment(String[]) - Method in class org.apache.tools.ant.taskdefs.Execute
Sets the environment variables for the subprocess to launch.
setErrorPrintStream(PrintStream) - Method in interface org.apache.tools.ant.BuildLogger
Set the output stream to which this logger is to send error messages.
setException(Throwable) - Method in class org.apache.tools.ant.BuildEvent
 
setExcludes(String) - Method in class org.apache.tools.ant.types.FileSet
Sets the set of exclude patterns.
setExcludes(String) - Method in class org.apache.tools.ant.types.PatternSet
Sets the set of exclude patterns.
setExcludes(String) - Method in class org.apache.tools.ant.taskdefs.MatchingTask
Sets the set of exclude patterns.
setExcludes(String[]) - Method in interface org.apache.tools.ant.FileScanner
Sets the set of exclude patterns to use.
setExcludes(String[]) - Method in class org.apache.tools.ant.DirectoryScanner
Sets the set of exclude patterns to use.
setExcludesfile(File) - Method in class org.apache.tools.ant.types.FileSet
Sets the name of the file containing the includes patterns.
setExcludesfile(File) - Method in class org.apache.tools.ant.types.PatternSet
Sets the name of the file containing the excludes patterns.
setExcludesfile(File) - Method in class org.apache.tools.ant.taskdefs.MatchingTask
Sets the name of the file containing the includes patterns.
setExecutable(String) - Method in class org.apache.tools.ant.types.Commandline
Sets the executable to run.
setExitValue(int) - Method in class org.apache.tools.ant.taskdefs.Execute
 
setFailonerror(boolean) - Method in class org.apache.tools.ant.taskdefs.Java
Throw a BuildException if process returns non 0.
setFile(File) - Method in class org.apache.tools.ant.types.Commandline.Argument
Sets a single commandline argument to the absolute filename of the given file.
setFile(File) - Method in class org.apache.tools.ant.types.Environment.Variable
 
setFork(boolean) - Method in class org.apache.tools.ant.taskdefs.Java
Set the forking flag.
setFrom(String) - Method in class org.apache.tools.ant.util.FlatFileNameMapper
Ignored.
setFrom(String) - Method in class org.apache.tools.ant.util.GlobPatternMapper
Sets the "from" pattern.
setFrom(String) - Method in class org.apache.tools.ant.util.RegexpPatternMapper
Sets the "from" pattern.
setFrom(String) - Method in class org.apache.tools.ant.util.MergingMapper
Ignored.
setFrom(String) - Method in class org.apache.tools.ant.types.Mapper
Set the argument to FileNameMapper.setFrom
setFrom(String) - Method in interface org.apache.tools.ant.util.FileNameMapper
Sets the from part of the transformation rule.
setFrom(String) - Method in class org.apache.tools.ant.util.IdentityMapper
Ignored.
setFullpath(String) - Method in class org.apache.tools.ant.types.ZipFileSet
Set the full pathname of the single entry in this fileset.
setIf(String) - Method in class org.apache.tools.ant.types.PatternSet.NameEntry
 
setIf(String) - Method in class org.apache.tools.ant.Target
 
setIncludes(String) - Method in class org.apache.tools.ant.types.FileSet
Sets the set of include patterns.
setIncludes(String) - Method in class org.apache.tools.ant.types.PatternSet
Sets the set of include patterns.
setIncludes(String) - Method in class org.apache.tools.ant.taskdefs.MatchingTask
Sets the set of include patterns.
setIncludes(String[]) - Method in interface org.apache.tools.ant.FileScanner
Sets the set of include patterns to use.
setIncludes(String[]) - Method in class org.apache.tools.ant.DirectoryScanner
Sets the set of include patterns to use.
setIncludesfile(File) - Method in class org.apache.tools.ant.types.FileSet
Sets the name of the file containing the includes patterns.
setIncludesfile(File) - Method in class org.apache.tools.ant.types.PatternSet
Sets the name of the file containing the includes patterns.
setIncludesfile(File) - Method in class org.apache.tools.ant.taskdefs.MatchingTask
Sets the name of the file containing the includes patterns.
setIsolated(boolean) - Method in class org.apache.tools.ant.AntClassLoader
Set this classloader to run in isolated mode.
setJavac(Javac) - Method in interface org.apache.tools.ant.taskdefs.compilers.CompilerAdapter
Sets the compiler attributes, which are stored in the Javac task.
setJavac(Javac) - Method in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
 
setJavaCommand(Commandline) - Method in class org.apache.tools.ant.taskdefs.ExecuteJava
 
setJavaVersionProperty() - Method in class org.apache.tools.ant.Project
 
setJvm(String) - Method in class org.apache.tools.ant.taskdefs.Java
Set the command used to start the VM (only if fork==false).
setJvmargs(String) - Method in class org.apache.tools.ant.taskdefs.Java
Set the command line arguments for the JVM.
setKey(String) - Method in class org.apache.tools.ant.types.Environment.Variable
 
setLine(String) - Method in class org.apache.tools.ant.types.Commandline.Argument
Line to split into several commandline arguments.
setLocation(File) - Method in class org.apache.tools.ant.types.Path
Adds a element definition to the path.
setLocation(File) - Method in class org.apache.tools.ant.types.Path.PathElement
 
setLocation(Location) - Method in class org.apache.tools.ant.BuildException
Sets the file location where the error occured.
setLocation(Location) - Method in class org.apache.tools.ant.Task
Sets the file location where this task was defined.
setMaxmemory(String) - Method in class org.apache.tools.ant.taskdefs.Java
-mx or -Xmx depending on VM version
setMessage(String, int) - Method in class org.apache.tools.ant.BuildEvent
 
setMessageOutputLevel(int) - Method in interface org.apache.tools.ant.BuildLogger
Set the msgOutputLevel this logger is to respond to.
setName(String) - Method in class org.apache.tools.ant.types.PatternSet.NameEntry
 
setName(String) - Method in class org.apache.tools.ant.Target
 
setName(String) - Method in class org.apache.tools.ant.Project
 
setNewenvironment(boolean) - Method in class org.apache.tools.ant.taskdefs.Execute
Set whether to propagate the default environment or not.
setOutput(File) - Method in class org.apache.tools.ant.taskdefs.Java
File the output of the process is redirected to.
setOutput(PrintStream) - Method in class org.apache.tools.ant.taskdefs.ExecuteJava
All output (System.out as well as System.err) will be written to this Stream.
setOutputPrintStream(PrintStream) - Method in interface org.apache.tools.ant.BuildLogger
Set the output stream to which this logger is to send its output.
setOwningTarget(Target) - Method in class org.apache.tools.ant.Task
Sets the target object of this task.
setPath(Path) - Method in class org.apache.tools.ant.types.Commandline.Argument
Sets a single commandline argument and treats it like a PATH - ensures the right separator for the local platform is used.
setPath(Path) - Method in class org.apache.tools.ant.types.Environment.Variable
 
setPath(String) - Method in class org.apache.tools.ant.types.Path
Parses a path definition and creates single PathElements.
setPath(String) - Method in class org.apache.tools.ant.types.Path.PathElement
 
setPattern(String) - Method in interface org.apache.tools.ant.util.regexp.RegexpMatcher
Set the regexp pattern from the String description.
setPrefix(String) - Method in class org.apache.tools.ant.types.ZipFileSet
Prepend this prefix to the path for each zip entry.
setProcessErrorStream(InputStream) - Method in class org.apache.tools.ant.taskdefs.PumpStreamHandler
 
setProcessErrorStream(InputStream) - Method in interface org.apache.tools.ant.taskdefs.ExecuteStreamHandler
Install a handler for the error stream of the subprocess.
setProcessInputStream(OutputStream) - Method in class org.apache.tools.ant.taskdefs.PumpStreamHandler
 
setProcessInputStream(OutputStream) - Method in interface org.apache.tools.ant.taskdefs.ExecuteStreamHandler
Install a handler for the input stream of the subprocess.
setProcessOutputStream(InputStream) - Method in class org.apache.tools.ant.taskdefs.PumpStreamHandler
 
setProcessOutputStream(InputStream) - Method in interface org.apache.tools.ant.taskdefs.ExecuteStreamHandler
Install a handler for the output stream of the subprocess.
setProject(Project) - Method in class org.apache.tools.ant.Target
 
setProperty(String, String) - Method in class org.apache.tools.ant.Project
 
setRefid(Reference) - Method in class org.apache.tools.ant.types.FileSet
Makes this instance in effect a reference to another PatternSet instance.
setRefid(Reference) - Method in class org.apache.tools.ant.types.PatternSet
Makes this instance in effect a reference to another PatternSet instance.
setRefid(Reference) - Method in class org.apache.tools.ant.types.DataType
Set the value of the refid attribute.
setRefid(Reference) - Method in class org.apache.tools.ant.types.Mapper
Make this Mapper instance a reference to another Mapper.
setRefid(Reference) - Method in class org.apache.tools.ant.types.Path
Makes this instance in effect a reference to another Path instance.
setRefId(String) - Method in class org.apache.tools.ant.types.Reference
 
setRuntimeConfigurableWrapper(RuntimeConfigurable) - Method in class org.apache.tools.ant.Task
 
setSrc(File) - Method in class org.apache.tools.ant.types.ZipFileSet
Set the source Zip file for the zipfileset.
setSrc(File) - Method in class org.apache.tools.ant.types.ZipScanner
Sets the srcFile for scanning.
setSystem() - Method in class org.apache.tools.ant.types.CommandlineJava.SysProperties
 
setSystemProperties() - Method in class org.apache.tools.ant.types.CommandlineJava
 
setSystemProperties(CommandlineJava.SysProperties) - Method in class org.apache.tools.ant.taskdefs.ExecuteJava
 
setTaskName(String) - Method in class org.apache.tools.ant.Task
Set the name to use in logging messages.
setTo(String) - Method in class org.apache.tools.ant.util.FlatFileNameMapper
Ignored.
setTo(String) - Method in class org.apache.tools.ant.util.GlobPatternMapper
Sets the "to" pattern.
setTo(String) - Method in class org.apache.tools.ant.util.RegexpPatternMapper
Sets the "to" pattern.
setTo(String) - Method in class org.apache.tools.ant.util.MergingMapper
Sets the name of the merged file.
setTo(String) - Method in class org.apache.tools.ant.types.Mapper
Set the argument to FileNameMapper.setTo
setTo(String) - Method in interface org.apache.tools.ant.util.FileNameMapper
Sets the to part of the transformation rule.
setTo(String) - Method in class org.apache.tools.ant.util.IdentityMapper
Ignored.
setType(Mapper.MapperType) - Method in class org.apache.tools.ant.types.Mapper
Set the type of FileNameMapper to use.
setUnless(String) - Method in class org.apache.tools.ant.types.PatternSet.NameEntry
 
setUnless(String) - Method in class org.apache.tools.ant.Target
 
setupDirectoryScanner(FileScanner, Project) - Method in class org.apache.tools.ant.types.FileSet
 
setupJavacCommand() - Method in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
Does the command line argument processing common to classic and modern.
setUserProperty(String, String) - Method in class org.apache.tools.ant.Project
 
setValue(String) - Method in class org.apache.tools.ant.types.Commandline.Argument
Sets a single commandline argument.
setValue(String) - Method in class org.apache.tools.ant.types.EnumeratedAttribute
Invoked by IntrospectionHelper.
setValue(String) - Method in class org.apache.tools.ant.types.Environment.Variable
 
setVm(String) - Method in class org.apache.tools.ant.types.CommandlineJava
 
setVmversion(String) - Method in class org.apache.tools.ant.types.CommandlineJava
 
setWhenempty(String) - Method in class org.apache.tools.ant.taskdefs.Zip
Sets behavior of the task when no files match.
setWorkingDirectory(File) - Method in class org.apache.tools.ant.taskdefs.Execute
Sets the working directory of the process to execute.
setZipfile(File) - Method in class org.apache.tools.ant.taskdefs.Zip
This is the name/location of where to create the .zip file.
size() - Method in class org.apache.tools.ant.types.Commandline
 
size() - Method in class org.apache.tools.ant.types.CommandlineJava
 
size() - Method in class org.apache.tools.ant.types.CommandlineJava.SysProperties
 
size() - Method in class org.apache.tools.ant.types.Path
How many parts does this Path instance consist of.
slowScan() - Method in class org.apache.tools.ant.DirectoryScanner
Toplevel invocation for the scan.
SourceFileScanner - class org.apache.tools.ant.util.SourceFileScanner.
Utility class that collects the functionality of the various scanDir methods that have been scattered in several tasks before.
SourceFileScanner(Task) - Constructor for class org.apache.tools.ant.util.SourceFileScanner
 
src - Variable in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
 
srcFile - Variable in class org.apache.tools.ant.types.ZipScanner
The zip file which should be scanned.
start() - Method in class org.apache.tools.ant.taskdefs.PumpStreamHandler
 
start() - Method in interface org.apache.tools.ant.taskdefs.ExecuteStreamHandler
Start handling of the streams.
stop() - Method in class org.apache.tools.ant.taskdefs.PumpStreamHandler
 
stop() - Method in interface org.apache.tools.ant.taskdefs.ExecuteStreamHandler
Stop handling of the streams - will not be restarted.
systemClasspath - Static variable in class org.apache.tools.ant.types.Path
 

T

target - Variable in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
 
target - Variable in class org.apache.tools.ant.Task
 
Target - class org.apache.tools.ant.Target.
This class implements a target object with required parameters.
Target() - Constructor for class org.apache.tools.ant.Target
 
targetFinished(BuildEvent) - Method in interface org.apache.tools.ant.BuildListener
Fired when a target has finished.
targetStarted(BuildEvent) - Method in interface org.apache.tools.ant.BuildListener
Fired when a target is started.
task - Variable in class org.apache.tools.ant.util.SourceFileScanner
 
Task - class org.apache.tools.ant.Task.
Base class for all tasks.
Task() - Constructor for class org.apache.tools.ant.Task
 
taskFinished(BuildEvent) - Method in interface org.apache.tools.ant.BuildListener
Fired when a task has finished.
taskName - Variable in class org.apache.tools.ant.Task
 
taskStarted(BuildEvent) - Method in interface org.apache.tools.ant.BuildListener
Fired when a task is started.
taskType - Variable in class org.apache.tools.ant.Task
 
to - Variable in class org.apache.tools.ant.util.RegexpPatternMapper
 
to - Variable in class org.apache.tools.ant.types.Mapper
 
toBoolean(String) - Static method in class org.apache.tools.ant.Project
returns the boolean equivalent of a string, which is considered true if either "on", "true", or "yes" is found, ignoring case.
TOKEN_END - Static variable in class org.apache.tools.ant.Project
 
TOKEN_START - Static variable in class org.apache.tools.ant.Project
 
tooManyAttributes() - Method in class org.apache.tools.ant.types.DataType
Creates an exception that indicates that refid has to be the only attribute if it is set.
topoSort(String, Hashtable) - Method in class org.apache.tools.ant.Project
Topologically sort a set of Targets.
toPostfix - Variable in class org.apache.tools.ant.util.GlobPatternMapper
Part of "to" pattern after the *.
toPrefix - Variable in class org.apache.tools.ant.util.GlobPatternMapper
Part of "to" pattern before the *.
toString() - Method in class org.apache.tools.ant.BuildException
Returns the location of the error and the error message.
toString() - Method in class org.apache.tools.ant.types.Commandline
 
toString() - Method in class org.apache.tools.ant.Location
Returns the file name, line number and a trailing space.
toString() - Method in class org.apache.tools.ant.Target
 
toString() - Method in class org.apache.tools.ant.types.CommandlineJava
 
toString() - Method in class org.apache.tools.ant.types.Path
Returns a textual representation of the path, which can be used as CLASSPATH or PATH environment variable definition.
toString(String[]) - Static method in class org.apache.tools.ant.types.Commandline
 
translateCommandline(String) - Static method in class org.apache.tools.ant.types.Commandline
 
translateFile(String) - Static method in class org.apache.tools.ant.types.Path
Returns its argument with all file separator characters replaced so that they match the local OS conventions.
translateFileSep(StringBuffer, int) - Static method in class org.apache.tools.ant.types.Path
Translates all occurrences of / or \ to correct separator of the current platform and returns whether it had to do any replacements.
translatePath(Project, String) - Static method in class org.apache.tools.ant.types.Path
Splits a PATH (with : or ; as separators) into its parts.
translatePath(String) - Static method in class org.apache.tools.ant.Project
Translate a path into its native (platform specific) format.
type - Variable in class org.apache.tools.ant.types.Mapper
 

U

UNKNOWN_LOCATION - Static variable in class org.apache.tools.ant.Location
 
useDefaultExcludes - Variable in class org.apache.tools.ant.taskdefs.MatchingTask
 

V

value - Variable in class org.apache.tools.ant.types.EnumeratedAttribute
 
variables - Variable in class org.apache.tools.ant.types.Environment
 
verbose - Variable in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
 

W

waitFor(Process) - Method in class org.apache.tools.ant.taskdefs.Execute
 
wrapper - Variable in class org.apache.tools.ant.Task
 
write(Element, Writer, int, String) - Method in class org.apache.tools.ant.util.DOMElementWriter
Writes a DOM tree to a stream.
write(int) - Method in class org.apache.tools.ant.taskdefs.LogOutputStream
Write the data to the buffer and flush the buffer, if a line separator is detected.

X

XsetIgnore(String) - Method in class org.apache.tools.ant.taskdefs.MatchingTask
List of filenames and directory names to not include.
XsetItems(String) - Method in class org.apache.tools.ant.taskdefs.MatchingTask
Set this to be the items in the base directory that you want to be included.

Z

Zip - class org.apache.tools.ant.taskdefs.Zip.
Create a ZIP archive.
Zip() - Constructor for class org.apache.tools.ant.taskdefs.Zip
 
zipDir(File, ZipOutputStream, String) - Method in class org.apache.tools.ant.taskdefs.Zip
 
zipFile(File, ZipOutputStream, String) - Method in class org.apache.tools.ant.taskdefs.Zip
 
zipFile(InputStream, ZipOutputStream, String, long) - Method in class org.apache.tools.ant.taskdefs.Zip
 
ZipFileSet - class org.apache.tools.ant.types.ZipFileSet.
A ZipFileSet is a FileSet with extra attributes useful in the context of Zip/Jar tasks.
ZipFileSet() - Constructor for class org.apache.tools.ant.types.ZipFileSet
 
ZipScanner - class org.apache.tools.ant.types.ZipScanner.
ZipScanner accesses the pattern matching algorithm in DirectoryScanner, which are protected methods that can only be accessed by subclassing.
ZipScanner() - Constructor for class org.apache.tools.ant.types.ZipScanner
 

A B C D E F G H I J K L M N O P Q R S T U V W X Z

Includes only those classes commonly used by task writers. The Ant 1.3 distribution includes complete Javadoc for all classes included in Ant, though in most cases these are not intended as APIs.