org.apache.tools.ant.taskdefs .MatchingTask org.apache.tools.ant.taskdefs.optional.dotnet .DotnetBaseMatchingTask All known Subclasses: org.apache.tools.ant.taskdefs.optional.dotnet .Ilasm , org.apache.tools.ant.taskdefs.optional.dotnet .DotnetCompile ,DotnetBaseMatchingTask public class DotnetBaseMatchingTask extends MatchingTask (Code) refactoring of some stuff so that different things (like ILASM)
can use shared code.
filesets protected Vector filesets(Code) filesets of file to compile
isWindows final protected static boolean isWindows (Code) Are we running on Windows?
since: Ant 1.6.3
outputFile protected File outputFile(Code) output file. If not supplied this is derived from the source file
srcDir protected File srcDir(Code) source directory upon which the search pattern is applied
addFilesAndExecute protected void addFilesAndExecute(NetCommand command, boolean ignoreTimestamps)(Code) finish off the command by adding all dependent files, execute
Parameters: command - the command to update.Parameters: ignoreTimestamps - not used.
addFilesToCommand protected void addFilesToCommand(Hashtable filesToBuild, NetCommand command)(Code) add the list of files to a command
Parameters: filesToBuild - vector of filesParameters: command - the command to append to
addSrc public void addSrc(FileSet src)(Code) add a new source directory to the compile
Parameters: src - a fileset.
buildFileList protected int buildFileList(NetCommand command, Hashtable filesToBuild, long outputTimestamp)(Code) create the list of files
Parameters: command - the command to create the files for.Parameters: filesToBuild - vector to add files toParameters: outputTimestamp - timestamp to compare against number of files out of date
getDestFile public File getDestFile()(Code) get the destination file
the dest file or null for not assigned
getOutputFileTimestamp protected long getOutputFileTimestamp()(Code) determine the timestamp of the output file
a timestamp or 0 for no output file known/exists
getSrcDir public File getSrcDir()(Code) Overridden because we need to be able to set the srcDir.
the source directory.
setDestFile public void setDestFile(File file)(Code) Set the name of exe/library to create.
Parameters: file - The new outputFile value
setSrcDir public void setSrcDir(File srcDirName)(Code) Set the source directory of the files to be compiled.
Parameters: srcDirName - The new SrcDir value