org.codehaus.plexus.compiler.eclipse
Class EclipseJavaCompiler
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.codehaus.plexus.compiler.AbstractCompiler
org.codehaus.plexus.compiler.eclipse.EclipseJavaCompiler
- All Implemented Interfaces:
- org.codehaus.plexus.compiler.Compiler, org.codehaus.plexus.logging.LogEnabled
public class EclipseJavaCompiler
- extends org.codehaus.plexus.compiler.AbstractCompiler
Fields inherited from class org.codehaus.plexus.compiler.AbstractCompiler |
EOL, PS |
Fields inherited from interface org.codehaus.plexus.compiler.Compiler |
ROLE |
Method Summary |
java.util.List |
compile(org.codehaus.plexus.compiler.CompilerConfiguration config)
|
java.lang.String[] |
createCommandLine(org.codehaus.plexus.compiler.CompilerConfiguration config)
|
private java.lang.String |
decodeVersion(java.lang.String versionSpec)
|
private org.codehaus.plexus.compiler.CompilerError |
handleError(java.lang.String className,
int line,
int column,
java.lang.Object errorMessage)
|
private org.codehaus.plexus.compiler.CompilerError |
handleWarning(org.eclipse.jdt.core.compiler.IProblem warning)
|
Methods inherited from class org.codehaus.plexus.compiler.AbstractCompiler |
canUpdateTarget, getCompilerOutputStyle, getInputFileEnding, getOutputFile, getOutputFileEnding, getPathString, getSourceFiles, getSourceFilesForSourceRoot, makeClassName, toStringArray |
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EclipseJavaCompiler
public EclipseJavaCompiler()
compile
public java.util.List compile(org.codehaus.plexus.compiler.CompilerConfiguration config)
throws org.codehaus.plexus.compiler.CompilerException
- Throws:
org.codehaus.plexus.compiler.CompilerException
createCommandLine
public java.lang.String[] createCommandLine(org.codehaus.plexus.compiler.CompilerConfiguration config)
throws org.codehaus.plexus.compiler.CompilerException
- Throws:
org.codehaus.plexus.compiler.CompilerException
handleError
private org.codehaus.plexus.compiler.CompilerError handleError(java.lang.String className,
int line,
int column,
java.lang.Object errorMessage)
handleWarning
private org.codehaus.plexus.compiler.CompilerError handleWarning(org.eclipse.jdt.core.compiler.IProblem warning)
decodeVersion
private java.lang.String decodeVersion(java.lang.String versionSpec)