org.apache.tools.ant.taskdefs.optional.dotnet
Class DotnetBaseMatchingTask
- Cloneable, SelectorContainer
public class DotnetBaseMatchingTask
refactoring of some stuff so that different things (like ILASM)
can use shared code.
protected Vector | filesets - filesets of file to compile
|
protected static boolean | isWindows - Are we running on Windows?
|
protected File | outputFile - output file.
|
protected File | srcDir - source directory upon which the search pattern is applied
|
protected void | addFilesAndExecute(NetCommand command, boolean ignoreTimestamps) - finish off the command by adding all dependent files, execute
|
protected void | addFilesToCommand(Hashtable filesToBuild, NetCommand command) - add the list of files to a command
|
void | addSrc(FileSet src) - add a new source directory to the compile
|
protected int | buildFileList(NetCommand command, Hashtable filesToBuild, long outputTimestamp) - create the list of files
|
File | getDestFile() - get the destination file
|
protected long | getOutputFileTimestamp() - determine the timestamp of the output file
|
File | getSrcDir() - Overridden because we need to be able to set the srcDir.
|
void | setDestFile(File file) - Set the name of exe/library to create.
|
void | setSrcDir(File srcDirName) - Set the source directory of the files to be compiled.
|
XsetIgnore , XsetItems , add , addAnd , addContains , addContainsRegexp , addCustom , addDate , addDepend , addDepth , addDifferent , addFilename , addMajority , addModified , addNone , addNot , addOr , addPresent , addSelector , addSize , addType , appendSelector , createExclude , createExcludesFile , createInclude , createIncludesFile , createPatternSet , getDirectoryScanner , getImplicitFileSet , getSelectors , hasSelectors , selectorCount , selectorElements , setCaseSensitive , setDefaultexcludes , setExcludes , setExcludesfile , setFollowSymlinks , setIncludes , setIncludesfile , setProject |
bindToOwner , execute , getOwningTarget , getRuntimeConfigurableWrapper , getTaskName , getTaskType , getWrapper , handleErrorFlush , handleErrorOutput , handleFlush , handleInput , handleOutput , init , isInvalid , log , log , log , log , maybeConfigure , perform , reconfigure , setOwningTarget , setRuntimeConfigurableWrapper , setTaskName , setTaskType |
filesets
protected Vector filesets
filesets of file to compile
isWindows
protected static final boolean isWindows
Are we running on Windows?
outputFile
protected File outputFile
output file. If not supplied this is derived from the source file
srcDir
protected File srcDir
source directory upon which the search pattern is applied
addFilesAndExecute
protected void addFilesAndExecute(NetCommand command,
boolean ignoreTimestamps)
finish off the command by adding all dependent files, execute
command
- the command to update.ignoreTimestamps
- not used.
addFilesToCommand
protected void addFilesToCommand(Hashtable filesToBuild,
NetCommand command)
add the list of files to a command
filesToBuild
- vector of filescommand
- the command to append to
addSrc
public void addSrc(FileSet src)
add a new source directory to the compile
buildFileList
protected int buildFileList(NetCommand command,
Hashtable filesToBuild,
long outputTimestamp)
create the list of files
command
- the command to create the files for.filesToBuild
- vector to add files tooutputTimestamp
- timestamp to compare against
- number of files out of date
getDestFile
public File getDestFile()
get the destination file
- the dest file or null for not assigned
getOutputFileTimestamp
protected long getOutputFileTimestamp()
determine the timestamp of the output file
- a timestamp or 0 for no output file known/exists
getSrcDir
public File getSrcDir()
Overridden because we need to be able to set the srcDir.
setDestFile
public void setDestFile(File file)
Set the name of exe/library to create.
file
- The new outputFile value
setSrcDir
public void setSrcDir(File srcDirName)
Set the source directory of the files to be compiled.
srcDirName
- The new SrcDir value