@Component(role=org.codehaus.plexus.compiler.Compiler.class,
hint="jdt")
public class JDTCompiler
extends org.codehaus.plexus.compiler.AbstractCompiler
Constructor and Description |
---|
JDTCompiler() |
Modifier and Type | Method and Description |
---|---|
String[] |
buildCompilerArguments(org.codehaus.plexus.compiler.CompilerConfiguration config,
String[] sourceFiles) |
List |
compile(org.codehaus.plexus.compiler.CompilerConfiguration config) |
String[] |
createCommandLine(org.codehaus.plexus.compiler.CompilerConfiguration config) |
protected static List |
parseModernStream(BufferedReader input)
Parse the output from the compiler into a list of CompilerError objects
|
canUpdateTarget, getCompilerOutputStyle, getInputFileEnding, getOutputFile, getOutputFileEnding, getPathString, getSourceFiles, getSourceFilesForSourceRoot, makeClassName, toStringArray
public List compile(org.codehaus.plexus.compiler.CompilerConfiguration config) throws org.codehaus.plexus.compiler.CompilerException
org.codehaus.plexus.compiler.CompilerException
public String[] createCommandLine(org.codehaus.plexus.compiler.CompilerConfiguration config) throws org.codehaus.plexus.compiler.CompilerException
org.codehaus.plexus.compiler.CompilerException
public String[] buildCompilerArguments(org.codehaus.plexus.compiler.CompilerConfiguration config, String[] sourceFiles)
protected static List parseModernStream(BufferedReader input) throws IOException
input
- The output of the compilerIOException
Copyright © 2008-2012 Eclipse Foundation. All Rights Reserved.