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 -
Method Summary
Modifier and TypeMethodDescriptionorg.codehaus.plexus.compiler.CompilerResultcompileInProcess(String[] args, org.codehaus.plexus.compiler.CompilerConfiguration config, String[] sourceFiles) protected JavaCompilerMethods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.codehaus.plexus.logging.LogEnabled
enableLogging
-
Constructor Details
-
JavaxToolsCompiler
public JavaxToolsCompiler()
-
-
Method Details
-
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:
compileInProcessin interfaceInProcessCompiler- Throws:
org.codehaus.plexus.compiler.CompilerException
-