|
Eclipse JDT Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
org.eclipse.jdt.core.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/ .
Field Summary |
Fields inherited from class 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 |
Constructor Summary | |
JDTCompilerAdapter()
|
Method Summary | |
boolean |
execute()
Performs a compile using the JDT batch compiler |
protected org.apache.tools.ant.types.Commandline |
setupJavacCommand()
|
Methods inherited from class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter |
addCurrentCompilerArgs, addExtdirsToClasspath, assumeJava11, assumeJava12, assumeJava13, executeExternalCompile, executeExternalCompile, getCompileClasspath, getJavac, getProject, logAndAddFilesToCompile, setJavac, setupJavacCommand, setupJavacCommandlineSwitches, setupJavacCommandlineSwitches, setupModernJavacCommand, setupModernJavacCommandlineSwitches |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JDTCompilerAdapter()
Method Detail |
public boolean execute() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
- if anything wrong happen during the compilationprotected org.apache.tools.ant.types.Commandline setupJavacCommand() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
|
Eclipse JDT Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |