|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
org.eclipse.jdt.core.JDTCompilerAdapter
public class JDTCompilerAdapter
Ant 1.5 compiler adapter for the Eclipse Java compiler. This adapter permits the
Eclipse Java compiler to be used with the javac task in Ant scripts. In order
to use it, just set the property build.compiler as follows:
<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
For more information on Ant check out the website at http://jakarta.apache.org/ant/ .
| 字段摘要 |
|---|
| 从类 org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter 继承的字段 |
|---|
attributes, bootclasspath, compileClasspath, compileList, compileSourcepath, debug, depend, deprecation, destDir, encoding, extdirs, includeAntRuntime, includeJavaRuntime, location, lSep, memoryInitialSize, memoryMaximumSize, optimize, project, src, target, verbose |
| 构造方法摘要 | |
|---|---|
JDTCompilerAdapter()
|
|
| 方法摘要 | |
|---|---|
boolean |
execute()
Performs a compile using the JDT batch compiler |
protected void |
logAndAddFilesToCompile(org.apache.tools.ant.types.Commandline cmd)
Modified from base class, Logs the compilation parameters, adds the files to compile and logs the "niceSourceList" Appends encoding information at the end of arguments |
protected org.apache.tools.ant.types.Commandline |
setupJavacCommand()
|
| 从类 org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter 继承的方法 |
|---|
addCurrentCompilerArgs, addExtdirsToClasspath, assumeJava11, assumeJava12, assumeJava13, assumeJava14, assumeJava15, assumeJava16, executeExternalCompile, executeExternalCompile, getBootClassPath, getCompileClasspath, getJavac, getNoDebugArgument, getProject, setJavac, setupJavacCommand, setupJavacCommandlineSwitches, setupJavacCommandlineSwitches, setupModernJavacCommand, setupModernJavacCommandlineSwitches |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public JDTCompilerAdapter()
| 方法详细信息 |
|---|
public boolean execute()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException - if anything wrong happen during the compilation
protected org.apache.tools.ant.types.Commandline setupJavacCommand()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter 中的 setupJavacCommandorg.apache.tools.ant.BuildExceptionprotected void logAndAddFilesToCompile(org.apache.tools.ant.types.Commandline cmd)
org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter 中的 logAndAddFilesToCompilecmd - the given command line
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||