public class JDTCompilerAdapter
extends DefaultCompilerAdapter
javac task in Ant scripts. In order
to use it, just set the property build.compiler as follows:
<property name="build.compiler" value="org.aspectj.org.eclipse.jdt.core.JDTCompilerAdapter"/>
For more information on Ant check out the website at http://jakarta.apache.org/ant/ .
| Constructor and Description |
|---|
JDTCompilerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute()
Performs a compile using the JDT batch compiler
|
protected void |
logAndAddFilesToCompile(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 Commandline |
setupJavacCommand() |
public boolean execute()
throws BuildException
BuildException - if anything wrong happen during the compilationprotected Commandline setupJavacCommand()
throws BuildException
BuildExceptionprotected void logAndAddFilesToCompile(Commandline cmd)
cmd - the given command line