org.jenkinsci.maven.plugins.hpi
Class AptCompiler
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.codehaus.plexus.compiler.AbstractCompiler
org.codehaus.plexus.compiler.javac.JavacCompiler
org.jenkinsci.maven.plugins.hpi.AptCompiler
- All Implemented Interfaces:
- org.codehaus.plexus.compiler.Compiler, org.codehaus.plexus.logging.LogEnabled
Deprecated. As the annotation processing has switched to JSR-269,
we no longer need this code.
public class AptCompiler
- extends org.codehaus.plexus.compiler.javac.JavacCompiler
Compiler
for APT.
In Maven, Compiler
handles the actual compiler invocation.
- Author:
- Kohsuke Kawaguchi
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)
Deprecated. |
protected java.util.List |
compileInProcess(java.lang.String[] args)
Deprecated. Compile the java sources in the current JVM, without calling an external executable,
using com.sun.tools.javac.Main class |
Methods inherited from class org.codehaus.plexus.compiler.javac.JavacCompiler |
buildCompilerArguments, createCommandLine, parseModernError, parseModernStream |
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 |
AptCompiler
public AptCompiler()
- Deprecated.
compile
public java.util.List compile(org.codehaus.plexus.compiler.CompilerConfiguration config)
throws org.codehaus.plexus.compiler.CompilerException
- Deprecated.
- Specified by:
compile
in interface org.codehaus.plexus.compiler.Compiler
- Overrides:
compile
in class org.codehaus.plexus.compiler.javac.JavacCompiler
- Throws:
org.codehaus.plexus.compiler.CompilerException
compileInProcess
protected java.util.List compileInProcess(java.lang.String[] args)
throws org.codehaus.plexus.compiler.CompilerException
- Deprecated.
- Compile the java sources in the current JVM, without calling an external executable,
using
com.sun.tools.javac.Main
class
- Parameters:
args
- arguments for the compiler as they would be used in the command line javac
- Returns:
- List of CompilerError objects with the errors encountered.
- Throws:
org.codehaus.plexus.compiler.CompilerException
Copyright © 2012. All Rights Reserved.