Method Summary |
|
abstract protected void | addCompilerSpecificOptions(NetCommand command) |
public void | addDefine(DotnetDefine define) |
public void | addReference(FileSet reference) |
protected int | addReferenceFilesets(NetCommand command, long outputTimestamp) |
public void | addResource(DotnetResource resource) |
protected void | addResources(NetCommand command) |
public void | clear() reset all contents. |
protected NetCommand | createNetCommand() |
abstract protected void | createResourceParameter(NetCommand command, DotnetResource resource) Build a C# style parameter. |
public void | execute() |
protected void | fillInSharedParameters(NetCommand command) |
protected String | getAdditionalModulesParameter() |
public boolean | getDebug() |
protected String | getDebugParameter() |
public String | getDefinitionsDelimiter() override point for delimiting definitions. |
protected String | getDefinitionsParameter() |
protected String | getDestFileParameter() |
protected String | getExecutable() This method gets the name of the executable. |
public String | getExtraOptions() |
protected String | getExtraOptionsParameter() |
protected String[] | getExtraOptionsParameters() get any extra options or null for no argument needed, split
them if they represent multiple options. |
public boolean | getFailOnError() |
abstract public String | getFileExtension() Get the extension of filenames to compile. |
public String | getFilePattern() Get the pattern for files to compile. |
public boolean | getIncludeDefaultReferences() |
protected String | getIncludeDefaultReferencesParameter() |
public String | getMainClass() |
protected String | getMainClassParameter() |
public boolean | getOptimize() |
protected String | getOptimizeParameter() |
abstract public String | getReferenceDelimiter() Get the delimiter that the compiler uses between references. |
protected String | getReferenceFilesParameter() |
protected String | getReferencesParameter() |
public String | getTargetType() |
protected String | getTargetTypeParameter() |
protected String | getUtf8OutputParameter() |
public int | getWarnLevel() |
protected String | getWarnLevelParameter() |
protected String | getWin32IconParameter() |
public File | getWin32Res() Gets the file of the win32 .res file to include. |
protected String | getWin32ResParameter() |
protected static boolean | isFileManagedBinary(File file) test for a file being managed or not
Parameters: file - the file to test. |
public boolean | isUseResponseFile() |
protected boolean | notEmpty(String s) |
public void | setAdditionalModules(String params) Semicolon separated list of modules to refer to. |
public void | setDebug(boolean f) set the debug flag on or off. |
public void | setDestDir(File dirName) Set the destination directory of files to be compiled. |
public void | setExecutable(String executable) set the name of the program, overriding the defaults. |
public void | setExtraOptions(String extraOptions) Any extra options which are not explicitly supported
by this task. |
public void | setFailOnError(boolean b) If true, fail on compilation errors. |
public void | setIncludeDefaultReferences(boolean f) If true, automatically includes the common assemblies
in dotnet, and tells the compiler to link in mscore.dll. |
public void | setMainClass(String mainClass) Sets the name of main class for executables. |
public void | setOptimize(boolean f) If true, enables optimization flag. |
public void | setReferenceFiles(Path path) Path of references to include. |
public void | setReferences(String s) Semicolon separated list of DLLs to refer to. |
public void | setTargetType(TargetTypes targetType) |
public void | setTargetType(String ttype) Set the type of target. |
public void | setUseResponseFile(boolean useResponseFile) Flag to turn on response file use; default=false.
When set the command params are saved to a file and
this is passed in with @file. |
public void | setUtf8Output(boolean enabled) If true, require all compiler output to be in UTF8 format. |
public void | setWarnLevel(int warnLevel) Level of warning currently between 1 and 4
with 4 being the strictest. |
public void | setWin32Icon(File fileName) Set the filename of icon to include.
Parameters: fileName - path to the file. |
public void | setWin32Res(File fileName) Sets the filename of a win32 resource (.RES) file to include.
This is not a .NET resource, but what Windows is used to.
Parameters: fileName - path to the file. |
protected void | validate() |