Edit C:\apache-ant-1.8.0\docs\manual\api\org\apache\tools\ant\taskdefs\Javac.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0_22) on Mon Feb 01 19:35:37 EST 2010 --> <TITLE> Javac (Apache Ant API) </TITLE> <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.Javac class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="Javac (Apache Ant API)"; } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../org/apache/tools/ant/taskdefs/Java.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A> <A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.ImplementationSpecificArgument.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?org/apache/tools/ant/taskdefs/Javac.html" target="_top"><B>FRAMES</B></A> <A HREF="Javac.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> org.apache.tools.ant.taskdefs</FONT> <BR> Class Javac</H2> <PRE> java.lang.Object <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">org.apache.tools.ant.ProjectComponent</A> <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">org.apache.tools.ant.Task</A> <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html" title="class in org.apache.tools.ant.taskdefs">org.apache.tools.ant.taskdefs.MatchingTask</A> <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.tools.ant.taskdefs.Javac</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD>java.lang.Cloneable, <A HREF="../../../../../org/apache/tools/ant/types/selectors/SelectorContainer.html" title="interface in org.apache.tools.ant.types.selectors">SelectorContainer</A></DD> </DL> <DL> <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/apache/tools/ant/taskdefs/Apt.html" title="class in org.apache.tools.ant.taskdefs">Apt</A></DD> </DL> <HR> <DL> <DT><PRE>public class <B>Javac</B><DT>extends <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html" title="class in org.apache.tools.ant.taskdefs">MatchingTask</A></DL> </PRE> <P> Compiles Java source files. This task can take the following arguments: <ul> <li>sourcedir <li>destdir <li>deprecation <li>classpath <li>bootclasspath <li>extdirs <li>optimize <li>debug <li>encoding <li>target <li>depend <li>verbose <li>failonerror <li>includeantruntime <li>includejavaruntime <li>source <li>compiler </ul> Of these arguments, the <b>sourcedir</b> and <b>destdir</b> are required. <p> When this task executes, it will recursively scan the sourcedir and destdir looking for Java source files to compile. This task makes its compile decision based on timestamp. <P> <P> <DL> <DT><B>Since:</B></DT> <DD>Ant 1.1</DD> </DL> <HR> <P> <!-- ======== NESTED CLASS SUMMARY ======== --> <A NAME="nested_class_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Nested Class Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.ImplementationSpecificArgument.html" title="class in org.apache.tools.ant.taskdefs">Javac.ImplementationSpecificArgument</A></B></CODE> <BR> Adds an "compiler" attribute to Commandline$Attribute used to filter command line attributes based on the current implementation.</TD> </TR> </TABLE> <!-- =========== FIELD SUMMARY =========== --> <A NAME="field_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Field Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected java.io.File[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#compileList">compileList</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#failOnError">failOnError</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#listFiles">listFiles</A></B></CODE> <BR> </TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_org.apache.tools.ant.taskdefs.MatchingTask"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from class org.apache.tools.ant.taskdefs.<A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html" title="class in org.apache.tools.ant.taskdefs">MatchingTask</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#fileset">fileset</A></CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#target">target</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#taskName">taskName</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#taskType">taskType</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#wrapper">wrapper</A></CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#description">description</A>, <A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#location">location</A>, <A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#project">project</A></CODE></TD> </TR> </TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#Javac()">Javac</A></B>()</CODE> <BR> Javac task for compilation of Java files.</TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#add(org.apache.tools.ant.taskdefs.compilers.CompilerAdapter)">add</A></B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/compilers/CompilerAdapter.html" title="interface in org.apache.tools.ant.taskdefs.compilers">CompilerAdapter</A> adapter)</CODE> <BR> Set the compiler adapter explicitly.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#checkParameters()">checkParameters</A></B>()</CODE> <BR> Check that all required attributes have been set and nothing silly has been entered.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#compile()">compile</A></B>()</CODE> <BR> Perform the compilation.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#createBootclasspath()">createBootclasspath</A></B>()</CODE> <BR> Adds a path to the bootclasspath.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#createClasspath()">createClasspath</A></B>()</CODE> <BR> Adds a path to the classpath.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.ImplementationSpecificArgument.html" title="class in org.apache.tools.ant.taskdefs">Javac.ImplementationSpecificArgument</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#createCompilerArg()">createCompilerArg</A></B>()</CODE> <BR> Adds an implementation specific command-line argument.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#createCompilerClasspath()">createCompilerClasspath</A></B>()</CODE> <BR> The classpath to use when loading the compiler implementation if it is not a built-in one.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#createExtdirs()">createExtdirs</A></B>()</CODE> <BR> Adds a path to extdirs.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#createSourcepath()">createSourcepath</A></B>()</CODE> <BR> Adds a path to sourcepath.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#createSrc()">createSrc</A></B>()</CODE> <BR> Adds a path for source compilation.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#execute()">execute</A></B>()</CODE> <BR> Executes the task.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getBootclasspath()">getBootclasspath</A></B>()</CODE> <BR> Gets the bootclasspath that will be used to compile the classes against.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getClasspath()">getClasspath</A></B>()</CODE> <BR> Gets the classpath to be used for this compilation.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getCompiler()">getCompiler</A></B>()</CODE> <BR> The implementation for this particular task.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getCompilerVersion()">getCompilerVersion</A></B>()</CODE> <BR> The implementation for this particular task.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getCurrentCompilerArgs()">getCurrentCompilerArgs</A></B>()</CODE> <BR> Get the additional implementation specific command line arguments.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getDebug()">getDebug</A></B>()</CODE> <BR> Gets the debug flag.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getDebugLevel()">getDebugLevel</A></B>()</CODE> <BR> Get the value of debugLevel.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getDepend()">getDepend</A></B>()</CODE> <BR> Gets the depend flag.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getDeprecation()">getDeprecation</A></B>()</CODE> <BR> Gets the deprecation flag.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.io.File</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getDestdir()">getDestdir</A></B>()</CODE> <BR> Gets the destination directory into which the java source files should be compiled.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getEncoding()">getEncoding</A></B>()</CODE> <BR> Gets the java source file encoding name.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getExecutable()">getExecutable</A></B>()</CODE> <BR> The value of the executable attribute, if any.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getExtdirs()">getExtdirs</A></B>()</CODE> <BR> Gets the extension directories that will be used during the compilation.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getFailonerror()">getFailonerror</A></B>()</CODE> <BR> Gets the failonerror flag.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.io.File[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getFileList()">getFileList</A></B>()</CODE> <BR> Gets the list of files to be compiled.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getIncludeantruntime()">getIncludeantruntime</A></B>()</CODE> <BR> Gets whether or not the ant classpath is to be included in the classpath.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getIncludejavaruntime()">getIncludejavaruntime</A></B>()</CODE> <BR> Gets whether or not the java runtime should be included in this task's classpath.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getJavacExecutable()">getJavacExecutable</A></B>()</CODE> <BR> The name of the javac executable to use in fork-mode.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getListfiles()">getListfiles</A></B>()</CODE> <BR> Get the listfiles flag.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getMemoryInitialSize()">getMemoryInitialSize</A></B>()</CODE> <BR> Gets the memoryInitialSize flag.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getMemoryMaximumSize()">getMemoryMaximumSize</A></B>()</CODE> <BR> Gets the memoryMaximumSize flag.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getNowarn()">getNowarn</A></B>()</CODE> <BR> Should the -nowarn option be used.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getOptimize()">getOptimize</A></B>()</CODE> <BR> Gets the optimize flag.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getSource()">getSource</A></B>()</CODE> <BR> Get the value of source.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getSourcepath()">getSourcepath</A></B>()</CODE> <BR> Gets the sourcepath to be used for this compilation.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getSrcdir()">getSrcdir</A></B>()</CODE> <BR> Gets the source dirs to find the source java files.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getSystemJavac()">getSystemJavac</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getTarget()">getTarget</A></B>()</CODE> <BR> Gets the target VM that the classes will be compiled for.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getTaskSuccess()">getTaskSuccess</A></B>()</CODE> <BR> Get the result of the javac task (success or failure).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.io.File</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getTempdir()">getTempdir</A></B>()</CODE> <BR> Where Ant should place temporary files.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getVerbose()">getVerbose</A></B>()</CODE> <BR> Gets the verbose flag.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#isForkedJavac()">isForkedJavac</A></B>()</CODE> <BR> Is this a forked invocation of JDK's javac?</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#isIncludeDestClasses()">isIncludeDestClasses</A></B>()</CODE> <BR> Get the value of the includeDestClasses property.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#isJdkCompiler(java.lang.String)">isJdkCompiler</A></B>(java.lang.String compilerImpl)</CODE> <BR> Is the compiler implementation a jdk compiler</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#recreateSrc()">recreateSrc</A></B>()</CODE> <BR> Recreate src.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#resetFileLists()">resetFileLists</A></B>()</CODE> <BR> Clear the list of files to be compiled and copied..</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#scanDir(java.io.File, java.io.File, java.lang.String[])">scanDir</A></B>(java.io.File srcDir, java.io.File destDir, java.lang.String[] files)</CODE> <BR> Scans the directory looking for source files to be compiled.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setBootclasspath(org.apache.tools.ant.types.Path)">setBootclasspath</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> bootclasspath)</CODE> <BR> Sets the bootclasspath that will be used to compile the classes against.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setBootClasspathRef(org.apache.tools.ant.types.Reference)">setBootClasspathRef</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types">Reference</A> r)</CODE> <BR> Adds a reference to a classpath defined elsewhere.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setClasspath(org.apache.tools.ant.types.Path)">setClasspath</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> classpath)</CODE> <BR> Set the classpath to be used for this compilation.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setClasspathRef(org.apache.tools.ant.types.Reference)">setClasspathRef</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types">Reference</A> r)</CODE> <BR> Adds a reference to a classpath defined elsewhere.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setCompiler(java.lang.String)">setCompiler</A></B>(java.lang.String compiler)</CODE> <BR> Choose the implementation for this particular task.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setDebug(boolean)">setDebug</A></B>(boolean debug)</CODE> <BR> Indicates whether source should be compiled with debug information; defaults to off.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setDebugLevel(java.lang.String)">setDebugLevel</A></B>(java.lang.String v)</CODE> <BR> Keyword list to be appended to the -g command-line switch.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setDepend(boolean)">setDepend</A></B>(boolean depend)</CODE> <BR> Enables dependency-tracking for compilers that support this (jikes and classic).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setDeprecation(boolean)">setDeprecation</A></B>(boolean deprecation)</CODE> <BR> Indicates whether source should be compiled with deprecation information; defaults to off.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setDestdir(java.io.File)">setDestdir</A></B>(java.io.File destDir)</CODE> <BR> Set the destination directory into which the Java source files should be compiled.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setEncoding(java.lang.String)">setEncoding</A></B>(java.lang.String encoding)</CODE> <BR> Set the Java source file encoding name.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setErrorProperty(java.lang.String)">setErrorProperty</A></B>(java.lang.String errorProperty)</CODE> <BR> The property to set on compliation failure.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setExecutable(java.lang.String)">setExecutable</A></B>(java.lang.String forkExec)</CODE> <BR> Sets the name of the javac executable.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setExtdirs(org.apache.tools.ant.types.Path)">setExtdirs</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> extdirs)</CODE> <BR> Sets the extension directories that will be used during the compilation.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setFailonerror(boolean)">setFailonerror</A></B>(boolean fail)</CODE> <BR> Indicates whether the build will continue even if there are compilation errors; defaults to true.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setFork(boolean)">setFork</A></B>(boolean f)</CODE> <BR> If true, forks the javac compiler.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setIncludeantruntime(boolean)">setIncludeantruntime</A></B>(boolean include)</CODE> <BR> If true, includes Ant's own classpath in the classpath.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setIncludeDestClasses(boolean)">setIncludeDestClasses</A></B>(boolean includeDestClasses)</CODE> <BR> This property controls whether to include the destination classes directory in the classpath given to the compiler.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setIncludejavaruntime(boolean)">setIncludejavaruntime</A></B>(boolean include)</CODE> <BR> If true, includes the Java runtime libraries in the classpath.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setListfiles(boolean)">setListfiles</A></B>(boolean list)</CODE> <BR> If true, list the source files being handed off to the compiler.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setMemoryInitialSize(java.lang.String)">setMemoryInitialSize</A></B>(java.lang.String memoryInitialSize)</CODE> <BR> The initial size of the memory for the underlying VM if javac is run externally; ignored otherwise.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setMemoryMaximumSize(java.lang.String)">setMemoryMaximumSize</A></B>(java.lang.String memoryMaximumSize)</CODE> <BR> The maximum size of the memory for the underlying VM if javac is run externally; ignored otherwise.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setNowarn(boolean)">setNowarn</A></B>(boolean flag)</CODE> <BR> If true, enables the -nowarn option.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setOptimize(boolean)">setOptimize</A></B>(boolean optimize)</CODE> <BR> If true, compiles with optimization enabled.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setProceed(boolean)">setProceed</A></B>(boolean proceed)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setSource(java.lang.String)">setSource</A></B>(java.lang.String v)</CODE> <BR> Value of the -source command-line switch; will be ignored by all implementations except modern, jikes and gcj (gcj uses -fsource).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setSourcepath(org.apache.tools.ant.types.Path)">setSourcepath</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> sourcepath)</CODE> <BR> Set the sourcepath to be used for this compilation.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setSourcepathRef(org.apache.tools.ant.types.Reference)">setSourcepathRef</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types">Reference</A> r)</CODE> <BR> Adds a reference to a source path defined elsewhere.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setSrcdir(org.apache.tools.ant.types.Path)">setSrcdir</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> srcDir)</CODE> <BR> Set the source directories to find the source Java files.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setTarget(java.lang.String)">setTarget</A></B>(java.lang.String target)</CODE> <BR> Sets the target VM that the classes will be compiled for.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setTempdir(java.io.File)">setTempdir</A></B>(java.io.File tmpDir)</CODE> <BR> Where Ant should place temporary files.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setUpdatedProperty(java.lang.String)">setUpdatedProperty</A></B>(java.lang.String updatedProperty)</CODE> <BR> The property to set on compliation success.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setVerbose(boolean)">setVerbose</A></B>(boolean verbose)</CODE> <BR> If true, asks the compiler for verbose output.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_org.apache.tools.ant.taskdefs.MatchingTask"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class org.apache.tools.ant.taskdefs.<A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html" title="class in org.apache.tools.ant.taskdefs">MatchingTask</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#add(org.apache.tools.ant.types.selectors.FileSelector)">add</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addAnd(org.apache.tools.ant.types.selectors.AndSelector)">addAnd</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addContains(org.apache.tools.ant.types.selectors.ContainsSelector)">addContains</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addContainsRegexp(org.apache.tools.ant.types.selectors.ContainsRegexpSelector)">addContainsRegexp</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addCustom(org.apache.tools.ant.types.selectors.ExtendSelector)">addCustom</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addDate(org.apache.tools.ant.types.selectors.DateSelector)">addDate</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addDepend(org.apache.tools.ant.types.selectors.DependSelector)">addDepend</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addDepth(org.apache.tools.ant.types.selectors.DepthSelector)">addDepth</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addDifferent(org.apache.tools.ant.types.selectors.DifferentSelector)">addDifferent</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addFilename(org.apache.tools.ant.types.selectors.FilenameSelector)">addFilename</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addMajority(org.apache.tools.ant.types.selectors.MajoritySelector)">addMajority</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addModified(org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector)">addModified</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addNone(org.apache.tools.ant.types.selectors.NoneSelector)">addNone</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addNot(org.apache.tools.ant.types.selectors.NotSelector)">addNot</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addOr(org.apache.tools.ant.types.selectors.OrSelector)">addOr</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addPresent(org.apache.tools.ant.types.selectors.PresentSelector)">addPresent</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addSelector(org.apache.tools.ant.types.selectors.SelectSelector)">addSelector</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addSize(org.apache.tools.ant.types.selectors.SizeSelector)">addSize</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addType(org.apache.tools.ant.types.selectors.TypeSelector)">addType</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#appendSelector(org.apache.tools.ant.types.selectors.FileSelector)">appendSelector</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#createExclude()">createExclude</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#createExcludesFile()">createExcludesFile</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#createInclude()">createInclude</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#createIncludesFile()">createIncludesFile</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#createPatternSet()">createPatternSet</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#getDirectoryScanner(java.io.File)">getDirectoryScanner</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#getImplicitFileSet()">getImplicitFileSet</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#getSelectors(org.apache.tools.ant.Project)">getSelectors</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#hasSelectors()">hasSelectors</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#selectorCount()">selectorCount</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#selectorElements()">selectorElements</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setCaseSensitive(boolean)">setCaseSensitive</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setDefaultexcludes(boolean)">setDefaultexcludes</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setExcludes(java.lang.String)">setExcludes</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setExcludesfile(java.io.File)">setExcludesfile</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setFollowSymlinks(boolean)">setFollowSymlinks</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setIncludes(java.lang.String)">setIncludes</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setIncludesfile(java.io.File)">setIncludesfile</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setProject(org.apache.tools.ant.Project)">setProject</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#XsetIgnore(java.lang.String)">XsetIgnore</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#XsetItems(java.lang.String)">XsetItems</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#bindToOwner(org.apache.tools.ant.Task)">bindToOwner</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getOwningTarget()">getOwningTarget</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getRuntimeConfigurableWrapper()">getRuntimeConfigurableWrapper</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getTaskName()">getTaskName</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getTaskType()">getTaskType</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getWrapper()">getWrapper</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleErrorFlush(java.lang.String)">handleErrorFlush</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleErrorOutput(java.lang.String)">handleErrorOutput</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleFlush(java.lang.String)">handleFlush</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleInput(byte[], int, int)">handleInput</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleOutput(java.lang.String)">handleOutput</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#init()">init</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#isInvalid()">isInvalid</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#log(java.lang.String)">log</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#log(java.lang.String, int)">log</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#log(java.lang.String, java.lang.Throwable, int)">log</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#log(java.lang.Throwable, int)">log</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#maybeConfigure()">maybeConfigure</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#perform()">perform</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#reconfigure()">reconfigure</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setOwningTarget(org.apache.tools.ant.Target)">setOwningTarget</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setRuntimeConfigurableWrapper(org.apache.tools.ant.RuntimeConfigurable)">setRuntimeConfigurableWrapper</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setTaskName(java.lang.String)">setTaskName</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setTaskType(java.lang.String)">setTaskType</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#clone()">clone</A>, <A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#getDescription()">getDescription</A>, <A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#getLocation()">getLocation</A>, <A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#getProject()">getProject</A>, <A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#setDescription(java.lang.String)">setDescription</A>, <A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#setLocation(org.apache.tools.ant.Location)">setLocation</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> </TR> </TABLE> <P> <!-- ============ FIELD DETAIL =========== --> <A NAME="field_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Field Detail</B></FONT></TH> </TR> </TABLE> <A NAME="failOnError"><!-- --></A><H3> failOnError</H3> <PRE> protected boolean <B>failOnError</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="listFiles"><!-- --></A><H3> listFiles</H3> <PRE> protected boolean <B>listFiles</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="compileList"><!-- --></A><H3> compileList</H3> <PRE> protected java.io.File[] <B>compileList</B></PRE> <DL> <DL> </DL> </DL> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="Javac()"><!-- --></A><H3> Javac</H3> <PRE> public <B>Javac</B>()</PRE> <DL> <DD>Javac task for compilation of Java files. <P> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="getDebugLevel()"><!-- --></A><H3> getDebugLevel</H3> <PRE> public java.lang.String <B>getDebugLevel</B>()</PRE> <DL> <DD>Get the value of debugLevel. <P> <DD><DL> <DT><B>Returns:</B><DD>value of debugLevel.</DL> </DD> </DL> <HR> <A NAME="setDebugLevel(java.lang.String)"><!-- --></A><H3> setDebugLevel</H3> <PRE> public void <B>setDebugLevel</B>(java.lang.String v)</PRE> <DL> <DD>Keyword list to be appended to the -g command-line switch. This will be ignored by all implementations except modern and classic(ver >= 1.2). Legal values are none or a comma-separated list of the following keywords: lines, vars, and source. If debuglevel is not specified, by default, :none will be appended to -g. If debug is not turned on, this attribute will be ignored. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>v</CODE> - Value to assign to debugLevel.</DL> </DD> </DL> <HR> <A NAME="getSource()"><!-- --></A><H3> getSource</H3> <PRE> public java.lang.String <B>getSource</B>()</PRE> <DL> <DD>Get the value of source. <P> <DD><DL> <DT><B>Returns:</B><DD>value of source.</DL> </DD> </DL> <HR> <A NAME="setSource(java.lang.String)"><!-- --></A><H3> setSource</H3> <PRE> public void <B>setSource</B>(java.lang.String v)</PRE> <DL> <DD>Value of the -source command-line switch; will be ignored by all implementations except modern, jikes and gcj (gcj uses -fsource). <p>If you use this attribute together with jikes or gcj, you must make sure that your version of jikes supports the -source switch.</p> <p>Legal values are 1.3, 1.4, 1.5, and 5 - by default, no -source argument will be used at all.</p> <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>v</CODE> - Value to assign to source.</DL> </DD> </DL> <HR> <A NAME="createSrc()"><!-- --></A><H3> createSrc</H3> <PRE> public <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>createSrc</B>()</PRE> <DL> <DD>Adds a path for source compilation. <P> <DD><DL> <DT><B>Returns:</B><DD>a nested src element.</DL> </DD> </DL> <HR> <A NAME="recreateSrc()"><!-- --></A><H3> recreateSrc</H3> <PRE> protected <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>recreateSrc</B>()</PRE> <DL> <DD>Recreate src. <P> <DD><DL> <DT><B>Returns:</B><DD>a nested src element.</DL> </DD> </DL> <HR> <A NAME="setSrcdir(org.apache.tools.ant.types.Path)"><!-- --></A><H3> setSrcdir</H3> <PRE> public void <B>setSrcdir</B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> srcDir)</PRE> <DL> <DD>Set the source directories to find the source Java files. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>srcDir</CODE> - the source directories as a path</DL> </DD> </DL> <HR> <A NAME="getSrcdir()"><!-- --></A><H3> getSrcdir</H3> <PRE> public <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>getSrcdir</B>()</PRE> <DL> <DD>Gets the source dirs to find the source java files. <P> <DD><DL> <DT><B>Returns:</B><DD>the source directories as a path</DL> </DD> </DL> <HR> <A NAME="setDestdir(java.io.File)"><!-- --></A><H3> setDestdir</H3> <PRE> public void <B>setDestdir</B>(java.io.File destDir)</PRE> <DL> <DD>Set the destination directory into which the Java source files should be compiled. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>destDir</CODE> - the destination director</DL> </DD> </DL> <HR> <A NAME="getDestdir()"><!-- --></A><H3> getDestdir</H3> <PRE> public java.io.File <B>getDestdir</B>()</PRE> <DL> <DD>Gets the destination directory into which the java source files should be compiled. <P> <DD><DL> <DT><B>Returns:</B><DD>the destination directory</DL> </DD> </DL> <HR> <A NAME="setSourcepath(org.apache.tools.ant.types.Path)"><!-- --></A><H3> setSourcepath</H3> <PRE> public void <B>setSourcepath</B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> sourcepath)</PRE> <DL> <DD>Set the sourcepath to be used for this compilation. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>sourcepath</CODE> - the source path</DL> </DD> </DL> <HR> <A NAME="getSourcepath()"><!-- --></A><H3> getSourcepath</H3> <PRE> public <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>getSourcepath</B>()</PRE> <DL> <DD>Gets the sourcepath to be used for this compilation. <P> <DD><DL> <DT><B>Returns:</B><DD>the source path</DL> </DD> </DL> <HR> <A NAME="createSourcepath()"><!-- --></A><H3> createSourcepath</H3> <PRE> public <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>createSourcepath</B>()</PRE> <DL> <DD>Adds a path to sourcepath. <P> <DD><DL> <DT><B>Returns:</B><DD>a sourcepath to be configured</DL> </DD> </DL> <HR> <A NAME="setSourcepathRef(org.apache.tools.ant.types.Reference)"><!-- --></A><H3> setSourcepathRef</H3> <PRE> public void <B>setSourcepathRef</B>(<A HREF="../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types">Reference</A> r)</PRE> <DL> <DD>Adds a reference to a source path defined elsewhere. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>r</CODE> - a reference to a source path</DL> </DD> </DL> <HR> <A NAME="setClasspath(org.apache.tools.ant.types.Path)"><!-- --></A><H3> setClasspath</H3> <PRE> public void <B>setClasspath</B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> classpath)</PRE> <DL> <DD>Set the classpath to be used for this compilation. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>classpath</CODE> - an Ant Path object containing the compilation classpath.</DL> </DD> </DL> <HR> <A NAME="getClasspath()"><!-- --></A><H3> getClasspath</H3> <PRE> public <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>getClasspath</B>()</PRE> <DL> <DD>Gets the classpath to be used for this compilation. <P> <DD><DL> <DT><B>Returns:</B><DD>the class path</DL> </DD> </DL> <HR> <A NAME="createClasspath()"><!-- --></A><H3> createClasspath</H3> <PRE> public <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>createClasspath</B>()</PRE> <DL> <DD>Adds a path to the classpath. <P> <DD><DL> <DT><B>Returns:</B><DD>a class path to be configured</DL> </DD> </DL> <HR> <A NAME="setClasspathRef(org.apache.tools.ant.types.Reference)"><!-- --></A><H3> setClasspathRef</H3> <PRE> public void <B>setClasspathRef</B>(<A HREF="../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types">Reference</A> r)</PRE> <DL> <DD>Adds a reference to a classpath defined elsewhere. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>r</CODE> - a reference to a classpath</DL> </DD> </DL> <HR> <A NAME="setBootclasspath(org.apache.tools.ant.types.Path)"><!-- --></A><H3> setBootclasspath</H3> <PRE> public void <B>setBootclasspath</B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> bootclasspath)</PRE> <DL> <DD>Sets the bootclasspath that will be used to compile the classes against. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>bootclasspath</CODE> - a path to use as a boot class path (may be more than one)</DL> </DD> </DL> <HR> <A NAME="getBootclasspath()"><!-- --></A><H3> getBootclasspath</H3> <PRE> public <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>getBootclasspath</B>()</PRE> <DL> <DD>Gets the bootclasspath that will be used to compile the classes against. <P> <DD><DL> <DT><B>Returns:</B><DD>the boot path</DL> </DD> </DL> <HR> <A NAME="createBootclasspath()"><!-- --></A><H3> createBootclasspath</H3> <PRE> public <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>createBootclasspath</B>()</PRE> <DL> <DD>Adds a path to the bootclasspath. <P> <DD><DL> <DT><B>Returns:</B><DD>a path to be configured</DL> </DD> </DL> <HR> <A NAME="setBootClasspathRef(org.apache.tools.ant.types.Reference)"><!-- --></A><H3> setBootClasspathRef</H3> <PRE> public void <B>setBootClasspathRef</B>(<A HREF="../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types">Reference</A> r)</PRE> <DL> <DD>Adds a reference to a classpath defined elsewhere. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>r</CODE> - a reference to a classpath</DL> </DD> </DL> <HR> <A NAME="setExtdirs(org.apache.tools.ant.types.Path)"><!-- --></A><H3> setExtdirs</H3> <PRE> public void <B>setExtdirs</B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> extdirs)</PRE> <DL> <DD>Sets the extension directories that will be used during the compilation. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>extdirs</CODE> - a path</DL> </DD> </DL> <HR> <A NAME="getExtdirs()"><!-- --></A><H3> getExtdirs</H3> <PRE> public <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>getExtdirs</B>()</PRE> <DL> <DD>Gets the extension directories that will be used during the compilation. <P> <DD><DL> <DT><B>Returns:</B><DD>the extension directories as a path</DL> </DD> </DL> <HR> <A NAME="createExtdirs()"><!-- --></A><H3> createExtdirs</H3> <PRE> public <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>createExtdirs</B>()</PRE> <DL> <DD>Adds a path to extdirs. <P> <DD><DL> <DT><B>Returns:</B><DD>a path to be configured</DL> </DD> </DL> <HR> <A NAME="setListfiles(boolean)"><!-- --></A><H3> setListfiles</H3> <PRE> public void <B>setListfiles</B>(boolean list)</PRE> <DL> <DD>If true, list the source files being handed off to the compiler. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>list</CODE> - if true list the source files</DL> </DD> </DL> <HR> <A NAME="getListfiles()"><!-- --></A><H3> getListfiles</H3> <PRE> public boolean <B>getListfiles</B>()</PRE> <DL> <DD>Get the listfiles flag. <P> <DD><DL> <DT><B>Returns:</B><DD>the listfiles flag</DL> </DD> </DL> <HR> <A NAME="setFailonerror(boolean)"><!-- --></A><H3> setFailonerror</H3> <PRE> public void <B>setFailonerror</B>(boolean fail)</PRE> <DL> <DD>Indicates whether the build will continue even if there are compilation errors; defaults to true. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>fail</CODE> - if true halt the build on failure</DL> </DD> </DL> <HR> <A NAME="setProceed(boolean)"><!-- --></A><H3> setProceed</H3> <PRE> public void <B>setProceed</B>(boolean proceed)</PRE> <DL> <DD><DL> <DT><B>Parameters:</B><DD><CODE>proceed</CODE> - inverse of failoferror</DL> </DD> </DL> <HR> <A NAME="getFailonerror()"><!-- --></A><H3> getFailonerror</H3> <PRE> public boolean <B>getFailonerror</B>()</PRE> <DL> <DD>Gets the failonerror flag. <P> <DD><DL> <DT><B>Returns:</B><DD>the failonerror flag</DL> </DD> </DL> <HR> <A NAME="setDeprecation(boolean)"><!-- --></A><H3> setDeprecation</H3> <PRE> public void <B>setDeprecation</B>(boolean deprecation)</PRE> <DL> <DD>Indicates whether source should be compiled with deprecation information; defaults to off. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>deprecation</CODE> - if true turn on deprecation information</DL> </DD> </DL> <HR> <A NAME="getDeprecation()"><!-- --></A><H3> getDeprecation</H3> <PRE> public boolean <B>getDeprecation</B>()</PRE> <DL> <DD>Gets the deprecation flag. <P> <DD><DL> <DT><B>Returns:</B><DD>the deprecation flag</DL> </DD> </DL> <HR> <A NAME="setMemoryInitialSize(java.lang.String)"><!-- --></A><H3> setMemoryInitialSize</H3> <PRE> public void <B>setMemoryInitialSize</B>(java.lang.String memoryInitialSize)</PRE> <DL> <DD>The initial size of the memory for the underlying VM if javac is run externally; ignored otherwise. Defaults to the standard VM memory setting. (Examples: 83886080, 81920k, or 80m) <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>memoryInitialSize</CODE> - string to pass to VM</DL> </DD> </DL> <HR> <A NAME="getMemoryInitialSize()"><!-- --></A><H3> getMemoryInitialSize</H3> <PRE> public java.lang.String <B>getMemoryInitialSize</B>()</PRE> <DL> <DD>Gets the memoryInitialSize flag. <P> <DD><DL> <DT><B>Returns:</B><DD>the memoryInitialSize flag</DL> </DD> </DL> <HR> <A NAME="setMemoryMaximumSize(java.lang.String)"><!-- --></A><H3> setMemoryMaximumSize</H3> <PRE> public void <B>setMemoryMaximumSize</B>(java.lang.String memoryMaximumSize)</PRE> <DL> <DD>The maximum size of the memory for the underlying VM if javac is run externally; ignored otherwise. Defaults to the standard VM memory setting. (Examples: 83886080, 81920k, or 80m) <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>memoryMaximumSize</CODE> - string to pass to VM</DL> </DD> </DL> <HR> <A NAME="getMemoryMaximumSize()"><!-- --></A><H3> getMemoryMaximumSize</H3> <PRE> public java.lang.String <B>getMemoryMaximumSize</B>()</PRE> <DL> <DD>Gets the memoryMaximumSize flag. <P> <DD><DL> <DT><B>Returns:</B><DD>the memoryMaximumSize flag</DL> </DD> </DL> <HR> <A NAME="setEncoding(java.lang.String)"><!-- --></A><H3> setEncoding</H3> <PRE> public void <B>setEncoding</B>(java.lang.String encoding)</PRE> <DL> <DD>Set the Java source file encoding name. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>encoding</CODE> - the source file encoding</DL> </DD> </DL> <HR> <A NAME="getEncoding()"><!-- --></A><H3> getEncoding</H3> <PRE> public java.lang.String <B>getEncoding</B>()</PRE> <DL> <DD>Gets the java source file encoding name. <P> <DD><DL> <DT><B>Returns:</B><DD>the source file encoding name</DL> </DD> </DL> <HR> <A NAME="setDebug(boolean)"><!-- --></A><H3> setDebug</H3> <PRE> public void <B>setDebug</B>(boolean debug)</PRE> <DL> <DD>Indicates whether source should be compiled with debug information; defaults to off. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>debug</CODE> - if true compile with debug information</DL> </DD> </DL> <HR> <A NAME="getDebug()"><!-- --></A><H3> getDebug</H3> <PRE> public boolean <B>getDebug</B>()</PRE> <DL> <DD>Gets the debug flag. <P> <DD><DL> <DT><B>Returns:</B><DD>the debug flag</DL> </DD> </DL> <HR> <A NAME="setOptimize(boolean)"><!-- --></A><H3> setOptimize</H3> <PRE> public void <B>setOptimize</B>(boolean optimize)</PRE> <DL> <DD>If true, compiles with optimization enabled. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>optimize</CODE> - if true compile with optimization enabled</DL> </DD> </DL> <HR> <A NAME="getOptimize()"><!-- --></A><H3> getOptimize</H3> <PRE> public boolean <B>getOptimize</B>()</PRE> <DL> <DD>Gets the optimize flag. <P> <DD><DL> <DT><B>Returns:</B><DD>the optimize flag</DL> </DD> </DL> <HR> <A NAME="setDepend(boolean)"><!-- --></A><H3> setDepend</H3> <PRE> public void <B>setDepend</B>(boolean depend)</PRE> <DL> <DD>Enables dependency-tracking for compilers that support this (jikes and classic). <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>depend</CODE> - if true enable dependency-tracking</DL> </DD> </DL> <HR> <A NAME="getDepend()"><!-- --></A><H3> getDepend</H3> <PRE> public boolean <B>getDepend</B>()</PRE> <DL> <DD>Gets the depend flag. <P> <DD><DL> <DT><B>Returns:</B><DD>the depend flag</DL> </DD> </DL> <HR> <A NAME="setVerbose(boolean)"><!-- --></A><H3> setVerbose</H3> <PRE> public void <B>setVerbose</B>(boolean verbose)</PRE> <DL> <DD>If true, asks the compiler for verbose output. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>verbose</CODE> - if true, asks the compiler for verbose output</DL> </DD> </DL> <HR> <A NAME="getVerbose()"><!-- --></A><H3> getVerbose</H3> <PRE> public boolean <B>getVerbose</B>()</PRE> <DL> <DD>Gets the verbose flag. <P> <DD><DL> <DT><B>Returns:</B><DD>the verbose flag</DL> </DD> </DL> <HR> <A NAME="setTarget(java.lang.String)"><!-- --></A><H3> setTarget</H3> <PRE> public void <B>setTarget</B>(java.lang.String target)</PRE> <DL> <DD>Sets the target VM that the classes will be compiled for. Valid values depend on the compiler, for jdk 1.4 the valid values are "1.1", "1.2", "1.3", "1.4", "1.5", "1.6", "5" and "6". <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>target</CODE> - the target VM</DL> </DD> </DL> <HR> <A NAME="getTarget()"><!-- --></A><H3> getTarget</H3> <PRE> public java.lang.String <B>getTarget</B>()</PRE> <DL> <DD>Gets the target VM that the classes will be compiled for. <P> <DD><DL> <DT><B>Returns:</B><DD>the target VM</DL> </DD> </DL> <HR> <A NAME="setIncludeantruntime(boolean)"><!-- --></A><H3> setIncludeantruntime</H3> <PRE> public void <B>setIncludeantruntime</B>(boolean include)</PRE> <DL> <DD>If true, includes Ant's own classpath in the classpath. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>include</CODE> - if true, includes Ant's own classpath in the classpath</DL> </DD> </DL> <HR> <A NAME="getIncludeantruntime()"><!-- --></A><H3> getIncludeantruntime</H3> <PRE> public boolean <B>getIncludeantruntime</B>()</PRE> <DL> <DD>Gets whether or not the ant classpath is to be included in the classpath. <P> <DD><DL> <DT><B>Returns:</B><DD>whether or not the ant classpath is to be included in the classpath</DL> </DD> </DL> <HR> <A NAME="setIncludejavaruntime(boolean)"><!-- --></A><H3> setIncludejavaruntime</H3> <PRE> public void <B>setIncludejavaruntime</B>(boolean include)</PRE> <DL> <DD>If true, includes the Java runtime libraries in the classpath. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>include</CODE> - if true, includes the Java runtime libraries in the classpath</DL> </DD> </DL> <HR> <A NAME="getIncludejavaruntime()"><!-- --></A><H3> getIncludejavaruntime</H3> <PRE> public boolean <B>getIncludejavaruntime</B>()</PRE> <DL> <DD>Gets whether or not the java runtime should be included in this task's classpath. <P> <DD><DL> <DT><B>Returns:</B><DD>the includejavaruntime attribute</DL> </DD> </DL> <HR> <A NAME="setFork(boolean)"><!-- --></A><H3> setFork</H3> <PRE> public void <B>setFork</B>(boolean f)</PRE> <DL> <DD>If true, forks the javac compiler. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>f</CODE> - "true|false|on|off|yes|no"</DL> </DD> </DL> <HR> <A NAME="setExecutable(java.lang.String)"><!-- --></A><H3> setExecutable</H3> <PRE> public void <B>setExecutable</B>(java.lang.String forkExec)</PRE> <DL> <DD>Sets the name of the javac executable. <p>Ignored unless fork is true or extJavac has been specified as the compiler.</p> <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>forkExec</CODE> - the name of the executable</DL> </DD> </DL> <HR> <A NAME="getExecutable()"><!-- --></A><H3> getExecutable</H3> <PRE> public java.lang.String <B>getExecutable</B>()</PRE> <DL> <DD>The value of the executable attribute, if any. <P> <DD><DL> <DT><B>Returns:</B><DD>the name of the java executable<DT><B>Since:</B></DT> <DD>Ant 1.6</DD> </DL> </DD> </DL> <HR> <A NAME="isForkedJavac()"><!-- --></A><H3> isForkedJavac</H3> <PRE> public boolean <B>isForkedJavac</B>()</PRE> <DL> <DD>Is this a forked invocation of JDK's javac? <P> <DD><DL> <DT><B>Returns:</B><DD>true if this is a forked invocation</DL> </DD> </DL> <HR> <A NAME="getJavacExecutable()"><!-- --></A><H3> getJavacExecutable</H3> <PRE> public java.lang.String <B>getJavacExecutable</B>()</PRE> <DL> <DD>The name of the javac executable to use in fork-mode. <p>This is either the name specified with the executable attribute or the full path of the javac compiler of the VM Ant is currently running in - guessed by Ant.</p> <p>You should <strong>not</strong> invoke this method if you want to get the value of the executable command - use <A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getExecutable()"><CODE>getExecutable</CODE></A> for this.</p> <P> <DD><DL> <DT><B>Returns:</B><DD>the name of the javac executable</DL> </DD> </DL> <HR> <A NAME="setNowarn(boolean)"><!-- --></A><H3> setNowarn</H3> <PRE> public void <B>setNowarn</B>(boolean flag)</PRE> <DL> <DD>If true, enables the -nowarn option. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>flag</CODE> - if true, enable the -nowarn option</DL> </DD> </DL> <HR> <A NAME="getNowarn()"><!-- --></A><H3> getNowarn</H3> <PRE> public boolean <B>getNowarn</B>()</PRE> <DL> <DD>Should the -nowarn option be used. <P> <DD><DL> <DT><B>Returns:</B><DD>true if the -nowarn option should be used</DL> </DD> </DL> <HR> <A NAME="createCompilerArg()"><!-- --></A><H3> createCompilerArg</H3> <PRE> public <A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.ImplementationSpecificArgument.html" title="class in org.apache.tools.ant.taskdefs">Javac.ImplementationSpecificArgument</A> <B>createCompilerArg</B>()</PRE> <DL> <DD>Adds an implementation specific command-line argument. <P> <DD><DL> <DT><B>Returns:</B><DD>a ImplementationSpecificArgument to be configured</DL> </DD> </DL> <HR> <A NAME="getCurrentCompilerArgs()"><!-- --></A><H3> getCurrentCompilerArgs</H3> <PRE> public java.lang.String[] <B>getCurrentCompilerArgs</B>()</PRE> <DL> <DD>Get the additional implementation specific command line arguments. <P> <DD><DL> <DT><B>Returns:</B><DD>array of command line arguments, guaranteed to be non-null.</DL> </DD> </DL> <HR> <A NAME="setTempdir(java.io.File)"><!-- --></A><H3> setTempdir</H3> <PRE> public void <B>setTempdir</B>(java.io.File tmpDir)</PRE> <DL> <DD>Where Ant should place temporary files. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>tmpDir</CODE> - the temporary directory<DT><B>Since:</B></DT> <DD>Ant 1.6</DD> </DL> </DD> </DL> <HR> <A NAME="getTempdir()"><!-- --></A><H3> getTempdir</H3> <PRE> public java.io.File <B>getTempdir</B>()</PRE> <DL> <DD>Where Ant should place temporary files. <P> <DD><DL> <DT><B>Returns:</B><DD>the temporary directory<DT><B>Since:</B></DT> <DD>Ant 1.6</DD> </DL> </DD> </DL> <HR> <A NAME="setUpdatedProperty(java.lang.String)"><!-- --></A><H3> setUpdatedProperty</H3> <PRE> public void <B>setUpdatedProperty</B>(java.lang.String updatedProperty)</PRE> <DL> <DD>The property to set on compliation success. This property will not be set if the compilation fails, or if there are no files to compile. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>updatedProperty</CODE> - the property name to use.<DT><B>Since:</B></DT> <DD>Ant 1.7.1.</DD> </DL> </DD> </DL> <HR> <A NAME="setErrorProperty(java.lang.String)"><!-- --></A><H3> setErrorProperty</H3> <PRE> public void <B>setErrorProperty</B>(java.lang.String errorProperty)</PRE> <DL> <DD>The property to set on compliation failure. This property will be set if the compilation fails. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>errorProperty</CODE> - the property name to use.<DT><B>Since:</B></DT> <DD>Ant 1.7.1.</DD> </DL> </DD> </DL> <HR> <A NAME="setIncludeDestClasses(boolean)"><!-- --></A><H3> setIncludeDestClasses</H3> <PRE> public void <B>setIncludeDestClasses</B>(boolean includeDestClasses)</PRE> <DL> <DD>This property controls whether to include the destination classes directory in the classpath given to the compiler. The default value is "true". <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>includeDestClasses</CODE> - the value to use.</DL> </DD> </DL> <HR> <A NAME="isIncludeDestClasses()"><!-- --></A><H3> isIncludeDestClasses</H3> <PRE> public boolean <B>isIncludeDestClasses</B>()</PRE> <DL> <DD>Get the value of the includeDestClasses property. <P> <DD><DL> <DT><B>Returns:</B><DD>the value.</DL> </DD> </DL> <HR> <A NAME="getTaskSuccess()"><!-- --></A><H3> getTaskSuccess</H3> <PRE> public boolean <B>getTaskSuccess</B>()</PRE> <DL> <DD>Get the result of the javac task (success or failure). <P> <DD><DL> <DT><B>Returns:</B><DD>true if compilation succeeded, or was not neccessary, false if the compilation failed.</DL> </DD> </DL> <HR> <A NAME="createCompilerClasspath()"><!-- --></A><H3> createCompilerClasspath</H3> <PRE> public <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>createCompilerClasspath</B>()</PRE> <DL> <DD>The classpath to use when loading the compiler implementation if it is not a built-in one. <P> <DD><DL> <DT><B>Since:</B></DT> <DD>Ant 1.8.0</DD> </DL> </DD> </DL> <HR> <A NAME="add(org.apache.tools.ant.taskdefs.compilers.CompilerAdapter)"><!-- --></A><H3> add</H3> <PRE> public void <B>add</B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/compilers/CompilerAdapter.html" title="interface in org.apache.tools.ant.taskdefs.compilers">CompilerAdapter</A> adapter)</PRE> <DL> <DD>Set the compiler adapter explicitly. <P> <DD><DL> <DT><B>Since:</B></DT> <DD>Ant 1.8.0</DD> </DL> </DD> </DL> <HR> <A NAME="execute()"><!-- --></A><H3> execute</H3> <PRE> public void <B>execute</B>() throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE> <DL> <DD>Executes the task. <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#execute()">execute</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></DL> </DD> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if an error occurs</DL> </DD> </DL> <HR> <A NAME="resetFileLists()"><!-- --></A><H3> resetFileLists</H3> <PRE> protected void <B>resetFileLists</B>()</PRE> <DL> <DD>Clear the list of files to be compiled and copied.. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="scanDir(java.io.File, java.io.File, java.lang.String[])"><!-- --></A><H3> scanDir</H3> <PRE> protected void <B>scanDir</B>(java.io.File srcDir, java.io.File destDir, java.lang.String[] files)</PRE> <DL> <DD>Scans the directory looking for source files to be compiled. The results are returned in the class variable compileList <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>srcDir</CODE> - The source directory<DD><CODE>destDir</CODE> - The destination directory<DD><CODE>files</CODE> - An array of filenames</DL> </DD> </DL> <HR> <A NAME="getFileList()"><!-- --></A><H3> getFileList</H3> <PRE> public java.io.File[] <B>getFileList</B>()</PRE> <DL> <DD>Gets the list of files to be compiled. <P> <DD><DL> <DT><B>Returns:</B><DD>the list of files as an array</DL> </DD> </DL> <HR> <A NAME="isJdkCompiler(java.lang.String)"><!-- --></A><H3> isJdkCompiler</H3> <PRE> protected boolean <B>isJdkCompiler</B>(java.lang.String compilerImpl)</PRE> <DL> <DD>Is the compiler implementation a jdk compiler <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>compilerImpl</CODE> - the name of the compiler implementation <DT><B>Returns:</B><DD>true if compilerImpl is "modern", "classic", "javac1.1", "javac1.2", "javac1.3", "javac1.4", "javac1.5" or "javac1.6".</DL> </DD> </DL> <HR> <A NAME="getSystemJavac()"><!-- --></A><H3> getSystemJavac</H3> <PRE> protected java.lang.String <B>getSystemJavac</B>()</PRE> <DL> <DD><DL> <DT><B>Returns:</B><DD>the executable name of the java compiler</DL> </DD> </DL> <HR> <A NAME="setCompiler(java.lang.String)"><!-- --></A><H3> setCompiler</H3> <PRE> public void <B>setCompiler</B>(java.lang.String compiler)</PRE> <DL> <DD>Choose the implementation for this particular task. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>compiler</CODE> - the name of the compiler<DT><B>Since:</B></DT> <DD>Ant 1.5</DD> </DL> </DD> </DL> <HR> <A NAME="getCompiler()"><!-- --></A><H3> getCompiler</H3> <PRE> public java.lang.String <B>getCompiler</B>()</PRE> <DL> <DD>The implementation for this particular task. <p>Defaults to the build.compiler property but can be overridden via the compiler and fork attributes.</p> <p>If fork has been set to true, the result will be extJavac and not classic or java1.2 - no matter what the compiler attribute looks like.</p> <P> <DD><DL> <DT><B>Returns:</B><DD>the compiler.<DT><B>Since:</B></DT> <DD>Ant 1.5</DD> <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getCompilerVersion()"><CODE>getCompilerVersion()</CODE></A></DL> </DD> </DL> <HR> <A NAME="getCompilerVersion()"><!-- --></A><H3> getCompilerVersion</H3> <PRE> public java.lang.String <B>getCompilerVersion</B>()</PRE> <DL> <DD>The implementation for this particular task. <p>Defaults to the build.compiler property but can be overridden via the compiler attribute.</p> <p>This method does not take the fork attribute into account.</p> <P> <DD><DL> <DT><B>Returns:</B><DD>the compiler.<DT><B>Since:</B></DT> <DD>Ant 1.5</DD> <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getCompiler()"><CODE>getCompiler()</CODE></A></DL> </DD> </DL> <HR> <A NAME="checkParameters()"><!-- --></A><H3> checkParameters</H3> <PRE> protected void <B>checkParameters</B>() throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE> <DL> <DD>Check that all required attributes have been set and nothing silly has been entered. <P> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if an error occurs<DT><B>Since:</B></DT> <DD>Ant 1.5</DD> </DL> </DD> </DL> <HR> <A NAME="compile()"><!-- --></A><H3> compile</H3> <PRE> protected void <B>compile</B>()</PRE> <DL> <DD>Perform the compilation. <P> <DD><DL> <DT><B>Since:</B></DT> <DD>Ant 1.5</DD> </DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../org/apache/tools/ant/taskdefs/Java.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A> <A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.ImplementationSpecificArgument.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?org/apache/tools/ant/taskdefs/Javac.html" target="_top"><B>FRAMES</B></A> <A HREF="Javac.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de