net.sf.antcontrib.cpptasks.borland

Class BorlandResourceCompiler

public class BorlandResourceCompiler extends CommandLineCompiler

Adapter for the Borland(r) brc32 Resource compiler.

Author: Curt Arnold

Method Summary
protected voidaddImpliedArgs(Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization)
protected voidaddWarningSwitch(Vector args, int level)
ProcessorchangeEnvironment(boolean newEnvironment, Environment env)
voidcompile(CCTask task, File outputDir, String[] sourceFiles, String[] args, String[] endArgs, boolean relentless, CommandLineCompilerConfiguration config, ProgressMonitor monitor)
protected ParsercreateParser(File source)
The include parser for C will work just fine, but we didn't want to inherit from CommandLineCCompiler
protected intgetArgumentCountPerInputFile()
protected voidgetDefineSwitch(StringBuffer buffer, String define, String value)
protected File[]getEnvironmentIncludePath()
protected StringgetIncludeDirSwitch(String includeDir)
protected StringgetInputFileArgument(File outputDir, String filename, int index)
static BorlandResourceCompilergetInstance()
LinkergetLinker(LinkType type)
intgetMaximumCommandLength()
protected intgetMaximumInputFilesPerCommand()
protected intgetTotalArgumentLengthForInputFile(File outputDir, String inputFile)
protected voidgetUndefineSwitch(StringBuffer buffer, String define)

Method Detail

addImpliedArgs

protected void addImpliedArgs(Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization)

addWarningSwitch

protected void addWarningSwitch(Vector args, int level)

changeEnvironment

public Processor changeEnvironment(boolean newEnvironment, Environment env)

compile

public void compile(CCTask task, File outputDir, String[] sourceFiles, String[] args, String[] endArgs, boolean relentless, CommandLineCompilerConfiguration config, ProgressMonitor monitor)

createParser

protected Parser createParser(File source)
The include parser for C will work just fine, but we didn't want to inherit from CommandLineCCompiler

getArgumentCountPerInputFile

protected int getArgumentCountPerInputFile()

getDefineSwitch

protected void getDefineSwitch(StringBuffer buffer, String define, String value)

getEnvironmentIncludePath

protected File[] getEnvironmentIncludePath()

getIncludeDirSwitch

protected String getIncludeDirSwitch(String includeDir)

getInputFileArgument

protected String getInputFileArgument(File outputDir, String filename, int index)

getInstance

public static BorlandResourceCompiler getInstance()

getLinker

public Linker getLinker(LinkType type)

getMaximumCommandLength

public int getMaximumCommandLength()

getMaximumInputFilesPerCommand

protected int getMaximumInputFilesPerCommand()

getTotalArgumentLengthForInputFile

protected int getTotalArgumentLengthForInputFile(File outputDir, String inputFile)

getUndefineSwitch

protected void getUndefineSwitch(StringBuffer buffer, String define)
Copyright ? 2001-2011 Ant-Contrib project. All Rights Reserved.