public class DotnetBaseMatchingTask extends MatchingTask
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Vector |
filesets
filesets of file to compile
|
protected static boolean |
isWindows
Are we running on Windows?
|
protected java.io.File |
outputFile
output file.
|
protected java.io.File |
srcDir
source directory upon which the search pattern is applied
|
filesetdescription, location, project| Constructor and Description |
|---|
DotnetBaseMatchingTask() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addFilesAndExecute(NetCommand command,
boolean ignoreTimestamps)
finish off the command by adding all dependent files, execute
|
protected void |
addFilesToCommand(java.util.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,
java.util.Hashtable filesToBuild,
long outputTimestamp)
create the list of files
|
java.io.File |
getDestFile()
get the destination file
|
protected long |
getOutputFileTimestamp()
determine the timestamp of the output file
|
java.io.File |
getSrcDir()
Overridden because we need to be able to set the srcDir.
|
void |
setDestFile(java.io.File file)
Set the name of exe/library to create.
|
void |
setSrcDir(java.io.File srcDirName)
Set the source directory of the files to be compiled.
|
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, XsetIgnore, XsetItemsbindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeclone, getDescription, getLocation, getProject, setDescription, setLocationprotected java.io.File outputFile
protected java.util.Vector filesets
protected java.io.File srcDir
protected static final boolean isWindows
public java.io.File getSrcDir()
public void setSrcDir(java.io.File srcDirName)
srcDirName - The new SrcDir valuepublic void setDestFile(java.io.File file)
file - The new outputFile valuepublic void addSrc(FileSet src)
src - a fileset.public java.io.File getDestFile()
protected int buildFileList(NetCommand command, java.util.Hashtable filesToBuild, long outputTimestamp)
command - the command to create the files for.filesToBuild - vector to add files tooutputTimestamp - timestamp to compare againstprotected void addFilesToCommand(java.util.Hashtable filesToBuild,
NetCommand command)
filesToBuild - vector of filescommand - the command to append toprotected long getOutputFileTimestamp()
protected void addFilesAndExecute(NetCommand command, boolean ignoreTimestamps)
command - the command to update.ignoreTimestamps - not used.