Class JavaxToolsCompiler

java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.codehaus.plexus.compiler.javac.JavaxToolsCompiler
All Implemented Interfaces:
InProcessCompiler, org.codehaus.plexus.logging.LogEnabled

@Component(role=InProcessCompiler.class) public class JavaxToolsCompiler extends org.codehaus.plexus.logging.AbstractLogEnabled implements InProcessCompiler
Since:
2.0
Author:
Olivier Lamy, David M. Lloyd
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.codehaus.plexus.compiler.CompilerResult
    compileInProcess(String[] args, org.codehaus.plexus.compiler.CompilerConfiguration config, String[] sourceFiles)
     
    protected JavaCompiler
     

    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

    Methods inherited from interface org.codehaus.plexus.logging.LogEnabled

    enableLogging
  • Constructor Details

    • JavaxToolsCompiler

      public JavaxToolsCompiler()
  • Method Details

    • newJavaCompiler

      protected JavaCompiler newJavaCompiler()
    • compileInProcess

      public org.codehaus.plexus.compiler.CompilerResult compileInProcess(String[] args, org.codehaus.plexus.compiler.CompilerConfiguration config, String[] sourceFiles) throws org.codehaus.plexus.compiler.CompilerException
      Specified by:
      compileInProcess in interface InProcessCompiler
      Throws:
      org.codehaus.plexus.compiler.CompilerException