org.codehaus.plexus.compiler.eclipse
Class EclipseJavaCompiler

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.codehaus.plexus.compiler.AbstractCompiler
          extended by 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


Nested Class Summary
private  class EclipseJavaCompiler.CompilationUnit
           
private  class EclipseJavaCompiler.EclipseCompilerICompilerRequestor
           
private  class EclipseJavaCompiler.EclipseCompilerINameEnvironment
           
 
Field Summary
 
Fields inherited from class org.codehaus.plexus.compiler.AbstractCompiler
EOL, PS
 
Fields inherited from interface org.codehaus.plexus.compiler.Compiler
ROLE
 
Constructor Summary
EclipseJavaCompiler()
           
 
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
 

Constructor Detail

EclipseJavaCompiler

public EclipseJavaCompiler()
Method Detail

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)