buildCompilerArguments
private String[] buildCompilerArguments(CompilerConfiguration config,
String[] sourceFiles)
throws CompilerException
canUpdateTarget
public boolean canUpdateTarget(CompilerConfiguration configuration)
throws CompilerException
compile
public List compile(CompilerConfiguration config)
throws CompilerException
compileOutOfProcess
private List compileOutOfProcess(File workingDirectory,
File target,
String executable,
String[] args)
throws CompilerException
createCommandLine
public String[] createCommandLine(CompilerConfiguration config)
throws CompilerException
findExecutable
private String findExecutable(CompilerConfiguration config)
getOutputFile
public String getOutputFile(CompilerConfiguration configuration)
throws CompilerException
getSourceFiles
protected static String[] getSourceFiles(CompilerConfiguration config)
getSourceFilesForSourceRoot
protected static Set getSourceFilesForSourceRoot(CompilerConfiguration config,
String sourceLocation)
getType
private String getType(Map compilerArguments)
getTypeExtension
private String getTypeExtension(CompilerConfiguration configuration)
throws CompilerException
parseCompilerOutput
public static List parseCompilerOutput(BufferedReader bufferedReader)
throws IOException
parseLine
public static CompilerError parseLine(String line)
This method is just here to maintain the public api. This is now handled in the parse
compiler output function.