1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
---|
2 | <!--NewPage-->
|
---|
3 | <HTML>
|
---|
4 | <HEAD>
|
---|
5 | <!-- Generated by javadoc (build 1.4.2_13) on Mon Oct 01 14:33:19 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | Javac (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.Javac class">
|
---|
11 |
|
---|
12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
|
---|
13 |
|
---|
14 | <SCRIPT type="text/javascript">
|
---|
15 | function windowTitle()
|
---|
16 | {
|
---|
17 | parent.document.title="Javac (Apache Ant API)";
|
---|
18 | }
|
---|
19 | </SCRIPT>
|
---|
20 |
|
---|
21 | </HEAD>
|
---|
22 |
|
---|
23 | <BODY BGCOLOR="white" onload="windowTitle();">
|
---|
24 |
|
---|
25 |
|
---|
26 | <!-- ========= START OF TOP NAVBAR ======= -->
|
---|
27 | <A NAME="navbar_top"><!-- --></A>
|
---|
28 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
---|
29 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
30 | <TR>
|
---|
31 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
32 | <A NAME="navbar_top_firstrow"><!-- --></A>
|
---|
33 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
34 | <TR ALIGN="center" VALIGN="top">
|
---|
35 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
36 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
37 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
38 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
42 | </TR>
|
---|
43 | </TABLE>
|
---|
44 | </TD>
|
---|
45 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
46 | </EM>
|
---|
47 | </TD>
|
---|
48 | </TR>
|
---|
49 |
|
---|
50 | <TR>
|
---|
51 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
52 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Java.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
53 | <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>
|
---|
54 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
55 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
56 | <A HREF="Javac.html" target="_top"><B>NO FRAMES</B></A>
|
---|
57 | <SCRIPT type="text/javascript">
|
---|
58 | <!--
|
---|
59 | if(window==top) {
|
---|
60 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
61 | }
|
---|
62 | //-->
|
---|
63 | </SCRIPT>
|
---|
64 | <NOSCRIPT>
|
---|
65 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
66 | </NOSCRIPT>
|
---|
67 |
|
---|
68 | </FONT></TD>
|
---|
69 | </TR>
|
---|
70 | <TR>
|
---|
71 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
72 | 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>
|
---|
73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
74 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
75 | </TR>
|
---|
76 | </TABLE>
|
---|
77 | <A NAME="skip-navbar_top"></A>
|
---|
78 | <!-- ========= END OF TOP NAVBAR ========= -->
|
---|
79 |
|
---|
80 | <HR>
|
---|
81 | <!-- ======== START OF CLASS DATA ======== -->
|
---|
82 | <H2>
|
---|
83 | <FONT SIZE="-1">
|
---|
84 | org.apache.tools.ant.taskdefs</FONT>
|
---|
85 | <BR>
|
---|
86 | Class Javac</H2>
|
---|
87 | <PRE>
|
---|
88 | java.lang.Object
|
---|
89 | <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>
|
---|
90 | <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>
|
---|
91 | <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>
|
---|
92 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.Javac</B>
|
---|
93 | </PRE>
|
---|
94 | <DL>
|
---|
95 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/tools/ant/types/selectors/SelectorContainer.html" title="interface in org.apache.tools.ant.types.selectors">SelectorContainer</A></DD>
|
---|
96 | </DL>
|
---|
97 | <HR>
|
---|
98 | <DL>
|
---|
99 | <DT>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>
|
---|
100 |
|
---|
101 | <P>
|
---|
102 | Compiles Java source files. This task can take the following
|
---|
103 | arguments:
|
---|
104 | <ul>
|
---|
105 | <li>sourcedir
|
---|
106 | <li>destdir
|
---|
107 | <li>deprecation
|
---|
108 | <li>classpath
|
---|
109 | <li>bootclasspath
|
---|
110 | <li>extdirs
|
---|
111 | <li>optimize
|
---|
112 | <li>debug
|
---|
113 | <li>encoding
|
---|
114 | <li>target
|
---|
115 | <li>depend
|
---|
116 | <li>verbose
|
---|
117 | <li>failonerror
|
---|
118 | <li>includeantruntime
|
---|
119 | <li>includejavaruntime
|
---|
120 | <li>source
|
---|
121 | <li>compiler
|
---|
122 | </ul>
|
---|
123 | Of these arguments, the <b>sourcedir</b> and <b>destdir</b> are required.
|
---|
124 | <p>
|
---|
125 | When this task executes, it will recursively scan the sourcedir and
|
---|
126 | destdir looking for Java source files to compile. This task makes its
|
---|
127 | compile decision based on timestamp.
|
---|
128 | <P>
|
---|
129 |
|
---|
130 | <P>
|
---|
131 | <DL>
|
---|
132 | <DT><B>Since:</B></DT>
|
---|
133 | <DD>Ant 1.1</DD>
|
---|
134 | </DL>
|
---|
135 | <HR>
|
---|
136 |
|
---|
137 | <P>
|
---|
138 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
139 |
|
---|
140 | <A NAME="nested_class_summary"><!-- --></A>
|
---|
141 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
142 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
143 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
144 | <B>Nested Class Summary</B></FONT></TD>
|
---|
145 | </TR>
|
---|
146 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
147 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
148 | <CODE> class</CODE></FONT></TD>
|
---|
149 | <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>
|
---|
150 |
|
---|
151 | <BR>
|
---|
152 | Adds an "compiler" attribute to Commandline$Attribute used to
|
---|
153 | filter command line attributes based on the current
|
---|
154 | implementation.</TD>
|
---|
155 | </TR>
|
---|
156 | </TABLE>
|
---|
157 |
|
---|
158 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
159 |
|
---|
160 | <A NAME="field_summary"><!-- --></A>
|
---|
161 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
162 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
163 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
164 | <B>Field Summary</B></FONT></TD>
|
---|
165 | </TR>
|
---|
166 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
167 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
168 | <CODE>protected java.io.File[]</CODE></FONT></TD>
|
---|
169 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#compileList">compileList</A></B></CODE>
|
---|
170 |
|
---|
171 | <BR>
|
---|
172 | </TD>
|
---|
173 | </TR>
|
---|
174 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
175 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
176 | <CODE>protected boolean</CODE></FONT></TD>
|
---|
177 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#failOnError">failOnError</A></B></CODE>
|
---|
178 |
|
---|
179 | <BR>
|
---|
180 | </TD>
|
---|
181 | </TR>
|
---|
182 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
183 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
184 | <CODE>protected boolean</CODE></FONT></TD>
|
---|
185 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#listFiles">listFiles</A></B></CODE>
|
---|
186 |
|
---|
187 | <BR>
|
---|
188 | </TD>
|
---|
189 | </TR>
|
---|
190 | </TABLE>
|
---|
191 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.taskdefs.MatchingTask"><!-- --></A>
|
---|
192 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
193 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
194 | <TD><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></TD>
|
---|
195 | </TR>
|
---|
196 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
197 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#fileset">fileset</A></CODE></TD>
|
---|
198 | </TR>
|
---|
199 | </TABLE>
|
---|
200 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
201 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
202 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
203 | <TD><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></TD>
|
---|
204 | </TR>
|
---|
205 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
206 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#description">description</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#location">location</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>
|
---|
207 | </TR>
|
---|
208 | </TABLE>
|
---|
209 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
210 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
211 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
212 | <TD><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></TD>
|
---|
213 | </TR>
|
---|
214 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
215 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#project">project</A></CODE></TD>
|
---|
216 | </TR>
|
---|
217 | </TABLE>
|
---|
218 |
|
---|
219 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
220 |
|
---|
221 | <A NAME="constructor_summary"><!-- --></A>
|
---|
222 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
223 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
224 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
225 | <B>Constructor Summary</B></FONT></TD>
|
---|
226 | </TR>
|
---|
227 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
228 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#Javac()">Javac</A></B>()</CODE>
|
---|
229 |
|
---|
230 | <BR>
|
---|
231 | Javac task for compilation of Java files.</TD>
|
---|
232 | </TR>
|
---|
233 | </TABLE>
|
---|
234 |
|
---|
235 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
236 |
|
---|
237 | <A NAME="method_summary"><!-- --></A>
|
---|
238 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
239 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
240 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
241 | <B>Method Summary</B></FONT></TD>
|
---|
242 | </TR>
|
---|
243 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
244 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
245 | <CODE>protected void</CODE></FONT></TD>
|
---|
246 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#checkParameters()">checkParameters</A></B>()</CODE>
|
---|
247 |
|
---|
248 | <BR>
|
---|
249 | Check that all required attributes have been set and nothing
|
---|
250 | silly has been entered.</TD>
|
---|
251 | </TR>
|
---|
252 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
253 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
254 | <CODE>protected void</CODE></FONT></TD>
|
---|
255 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#compile()">compile</A></B>()</CODE>
|
---|
256 |
|
---|
257 | <BR>
|
---|
258 | Perform the compilation.</TD>
|
---|
259 | </TR>
|
---|
260 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
261 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
262 | <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
|
---|
263 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#createBootclasspath()">createBootclasspath</A></B>()</CODE>
|
---|
264 |
|
---|
265 | <BR>
|
---|
266 | Adds a path to the bootclasspath.</TD>
|
---|
267 | </TR>
|
---|
268 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
269 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
270 | <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
|
---|
271 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#createClasspath()">createClasspath</A></B>()</CODE>
|
---|
272 |
|
---|
273 | <BR>
|
---|
274 | Adds a path to the classpath.</TD>
|
---|
275 | </TR>
|
---|
276 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
277 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
278 | <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>
|
---|
279 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#createCompilerArg()">createCompilerArg</A></B>()</CODE>
|
---|
280 |
|
---|
281 | <BR>
|
---|
282 | Adds an implementation specific command-line argument.</TD>
|
---|
283 | </TR>
|
---|
284 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
285 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
286 | <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
|
---|
287 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#createExtdirs()">createExtdirs</A></B>()</CODE>
|
---|
288 |
|
---|
289 | <BR>
|
---|
290 | Adds a path to extdirs.</TD>
|
---|
291 | </TR>
|
---|
292 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
293 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
294 | <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
|
---|
295 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#createSourcepath()">createSourcepath</A></B>()</CODE>
|
---|
296 |
|
---|
297 | <BR>
|
---|
298 | Adds a path to sourcepath.</TD>
|
---|
299 | </TR>
|
---|
300 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
301 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
302 | <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
|
---|
303 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#createSrc()">createSrc</A></B>()</CODE>
|
---|
304 |
|
---|
305 | <BR>
|
---|
306 | Adds a path for source compilation.</TD>
|
---|
307 | </TR>
|
---|
308 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
309 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
310 | <CODE> void</CODE></FONT></TD>
|
---|
311 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#execute()">execute</A></B>()</CODE>
|
---|
312 |
|
---|
313 | <BR>
|
---|
314 | Executes the task.</TD>
|
---|
315 | </TR>
|
---|
316 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
317 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
318 | <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
|
---|
319 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getBootclasspath()">getBootclasspath</A></B>()</CODE>
|
---|
320 |
|
---|
321 | <BR>
|
---|
322 | Gets the bootclasspath that will be used to compile the classes
|
---|
323 | against.</TD>
|
---|
324 | </TR>
|
---|
325 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
326 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
327 | <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
|
---|
328 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getClasspath()">getClasspath</A></B>()</CODE>
|
---|
329 |
|
---|
330 | <BR>
|
---|
331 | Gets the classpath to be used for this compilation.</TD>
|
---|
332 | </TR>
|
---|
333 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
334 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
335 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
336 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getCompiler()">getCompiler</A></B>()</CODE>
|
---|
337 |
|
---|
338 | <BR>
|
---|
339 | The implementation for this particular task.</TD>
|
---|
340 | </TR>
|
---|
341 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
342 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
343 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
344 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getCompilerVersion()">getCompilerVersion</A></B>()</CODE>
|
---|
345 |
|
---|
346 | <BR>
|
---|
347 | The implementation for this particular task.</TD>
|
---|
348 | </TR>
|
---|
349 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
350 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
351 | <CODE> java.lang.String[]</CODE></FONT></TD>
|
---|
352 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getCurrentCompilerArgs()">getCurrentCompilerArgs</A></B>()</CODE>
|
---|
353 |
|
---|
354 | <BR>
|
---|
355 | Get the additional implementation specific command line arguments.</TD>
|
---|
356 | </TR>
|
---|
357 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
358 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
359 | <CODE> boolean</CODE></FONT></TD>
|
---|
360 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getDebug()">getDebug</A></B>()</CODE>
|
---|
361 |
|
---|
362 | <BR>
|
---|
363 | Gets the debug flag.</TD>
|
---|
364 | </TR>
|
---|
365 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
366 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
367 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
368 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getDebugLevel()">getDebugLevel</A></B>()</CODE>
|
---|
369 |
|
---|
370 | <BR>
|
---|
371 | Get the value of debugLevel.</TD>
|
---|
372 | </TR>
|
---|
373 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
374 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
375 | <CODE> boolean</CODE></FONT></TD>
|
---|
376 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getDepend()">getDepend</A></B>()</CODE>
|
---|
377 |
|
---|
378 | <BR>
|
---|
379 | Gets the depend flag.</TD>
|
---|
380 | </TR>
|
---|
381 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
382 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
383 | <CODE> boolean</CODE></FONT></TD>
|
---|
384 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getDeprecation()">getDeprecation</A></B>()</CODE>
|
---|
385 |
|
---|
386 | <BR>
|
---|
387 | Gets the deprecation flag.</TD>
|
---|
388 | </TR>
|
---|
389 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
390 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
391 | <CODE> java.io.File</CODE></FONT></TD>
|
---|
392 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getDestdir()">getDestdir</A></B>()</CODE>
|
---|
393 |
|
---|
394 | <BR>
|
---|
395 | Gets the destination directory into which the java source files
|
---|
396 | should be compiled.</TD>
|
---|
397 | </TR>
|
---|
398 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
399 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
400 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
401 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getEncoding()">getEncoding</A></B>()</CODE>
|
---|
402 |
|
---|
403 | <BR>
|
---|
404 | Gets the java source file encoding name.</TD>
|
---|
405 | </TR>
|
---|
406 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
407 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
408 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
409 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getExecutable()">getExecutable</A></B>()</CODE>
|
---|
410 |
|
---|
411 | <BR>
|
---|
412 | The value of the executable attribute, if any.</TD>
|
---|
413 | </TR>
|
---|
414 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
415 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
416 | <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
|
---|
417 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getExtdirs()">getExtdirs</A></B>()</CODE>
|
---|
418 |
|
---|
419 | <BR>
|
---|
420 | Gets the extension directories that will be used during the
|
---|
421 | compilation.</TD>
|
---|
422 | </TR>
|
---|
423 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
424 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
425 | <CODE> boolean</CODE></FONT></TD>
|
---|
426 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getFailonerror()">getFailonerror</A></B>()</CODE>
|
---|
427 |
|
---|
428 | <BR>
|
---|
429 | Gets the failonerror flag.</TD>
|
---|
430 | </TR>
|
---|
431 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
432 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
433 | <CODE> java.io.File[]</CODE></FONT></TD>
|
---|
434 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getFileList()">getFileList</A></B>()</CODE>
|
---|
435 |
|
---|
436 | <BR>
|
---|
437 | Gets the list of files to be compiled.</TD>
|
---|
438 | </TR>
|
---|
439 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
440 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
441 | <CODE> boolean</CODE></FONT></TD>
|
---|
442 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getIncludeantruntime()">getIncludeantruntime</A></B>()</CODE>
|
---|
443 |
|
---|
444 | <BR>
|
---|
445 | Gets whether or not the ant classpath is to be included in the classpath.</TD>
|
---|
446 | </TR>
|
---|
447 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
448 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
449 | <CODE> boolean</CODE></FONT></TD>
|
---|
450 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getIncludejavaruntime()">getIncludejavaruntime</A></B>()</CODE>
|
---|
451 |
|
---|
452 | <BR>
|
---|
453 | Gets whether or not the java runtime should be included in this
|
---|
454 | task's classpath.</TD>
|
---|
455 | </TR>
|
---|
456 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
457 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
458 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
459 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getJavacExecutable()">getJavacExecutable</A></B>()</CODE>
|
---|
460 |
|
---|
461 | <BR>
|
---|
462 | The name of the javac executable to use in fork-mode.</TD>
|
---|
463 | </TR>
|
---|
464 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
465 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
466 | <CODE> boolean</CODE></FONT></TD>
|
---|
467 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getListfiles()">getListfiles</A></B>()</CODE>
|
---|
468 |
|
---|
469 | <BR>
|
---|
470 | Get the listfiles flag.</TD>
|
---|
471 | </TR>
|
---|
472 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
473 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
474 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
475 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getMemoryInitialSize()">getMemoryInitialSize</A></B>()</CODE>
|
---|
476 |
|
---|
477 | <BR>
|
---|
478 | Gets the memoryInitialSize flag.</TD>
|
---|
479 | </TR>
|
---|
480 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
481 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
482 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
483 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getMemoryMaximumSize()">getMemoryMaximumSize</A></B>()</CODE>
|
---|
484 |
|
---|
485 | <BR>
|
---|
486 | Gets the memoryMaximumSize flag.</TD>
|
---|
487 | </TR>
|
---|
488 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
489 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
490 | <CODE> boolean</CODE></FONT></TD>
|
---|
491 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getNowarn()">getNowarn</A></B>()</CODE>
|
---|
492 |
|
---|
493 | <BR>
|
---|
494 | Should the -nowarn option be used.</TD>
|
---|
495 | </TR>
|
---|
496 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
497 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
498 | <CODE> boolean</CODE></FONT></TD>
|
---|
499 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getOptimize()">getOptimize</A></B>()</CODE>
|
---|
500 |
|
---|
501 | <BR>
|
---|
502 | Gets the optimize flag.</TD>
|
---|
503 | </TR>
|
---|
504 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
505 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
506 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
507 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getSource()">getSource</A></B>()</CODE>
|
---|
508 |
|
---|
509 | <BR>
|
---|
510 | Get the value of source.</TD>
|
---|
511 | </TR>
|
---|
512 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
513 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
514 | <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
|
---|
515 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getSourcepath()">getSourcepath</A></B>()</CODE>
|
---|
516 |
|
---|
517 | <BR>
|
---|
518 | Gets the sourcepath to be used for this compilation.</TD>
|
---|
519 | </TR>
|
---|
520 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
521 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
522 | <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
|
---|
523 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getSrcdir()">getSrcdir</A></B>()</CODE>
|
---|
524 |
|
---|
525 | <BR>
|
---|
526 | Gets the source dirs to find the source java files.</TD>
|
---|
527 | </TR>
|
---|
528 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
529 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
530 | <CODE>protected java.lang.String</CODE></FONT></TD>
|
---|
531 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getSystemJavac()">getSystemJavac</A></B>()</CODE>
|
---|
532 |
|
---|
533 | <BR>
|
---|
534 | </TD>
|
---|
535 | </TR>
|
---|
536 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
537 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
538 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
539 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getTarget()">getTarget</A></B>()</CODE>
|
---|
540 |
|
---|
541 | <BR>
|
---|
542 | Gets the target VM that the classes will be compiled for.</TD>
|
---|
543 | </TR>
|
---|
544 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
545 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
546 | <CODE> java.io.File</CODE></FONT></TD>
|
---|
547 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getTempdir()">getTempdir</A></B>()</CODE>
|
---|
548 |
|
---|
549 | <BR>
|
---|
550 | Where Ant should place temporary files.</TD>
|
---|
551 | </TR>
|
---|
552 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
553 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
554 | <CODE> boolean</CODE></FONT></TD>
|
---|
555 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getVerbose()">getVerbose</A></B>()</CODE>
|
---|
556 |
|
---|
557 | <BR>
|
---|
558 | Gets the verbose flag.</TD>
|
---|
559 | </TR>
|
---|
560 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
561 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
562 | <CODE> boolean</CODE></FONT></TD>
|
---|
563 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#isForkedJavac()">isForkedJavac</A></B>()</CODE>
|
---|
564 |
|
---|
565 | <BR>
|
---|
566 | Is this a forked invocation of JDK's javac?</TD>
|
---|
567 | </TR>
|
---|
568 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
569 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
570 | <CODE>protected boolean</CODE></FONT></TD>
|
---|
571 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#isJdkCompiler(java.lang.String)">isJdkCompiler</A></B>(java.lang.String compilerImpl)</CODE>
|
---|
572 |
|
---|
573 | <BR>
|
---|
574 | Is the compiler implementation a jdk compiler</TD>
|
---|
575 | </TR>
|
---|
576 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
577 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
578 | <CODE>protected <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
|
---|
579 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#recreateSrc()">recreateSrc</A></B>()</CODE>
|
---|
580 |
|
---|
581 | <BR>
|
---|
582 | Recreate src.</TD>
|
---|
583 | </TR>
|
---|
584 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
585 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
586 | <CODE>protected void</CODE></FONT></TD>
|
---|
587 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#resetFileLists()">resetFileLists</A></B>()</CODE>
|
---|
588 |
|
---|
589 | <BR>
|
---|
590 | Clear the list of files to be compiled and copied..</TD>
|
---|
591 | </TR>
|
---|
592 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
593 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
594 | <CODE>protected void</CODE></FONT></TD>
|
---|
595 | <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,
|
---|
596 | java.io.File destDir,
|
---|
597 | java.lang.String[] files)</CODE>
|
---|
598 |
|
---|
599 | <BR>
|
---|
600 | Scans the directory looking for source files to be compiled.</TD>
|
---|
601 | </TR>
|
---|
602 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
603 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
604 | <CODE> void</CODE></FONT></TD>
|
---|
605 | <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>
|
---|
606 |
|
---|
607 | <BR>
|
---|
608 | Sets the bootclasspath that will be used to compile the classes
|
---|
609 | against.</TD>
|
---|
610 | </TR>
|
---|
611 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
612 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
613 | <CODE> void</CODE></FONT></TD>
|
---|
614 | <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>
|
---|
615 |
|
---|
616 | <BR>
|
---|
617 | Adds a reference to a classpath defined elsewhere.</TD>
|
---|
618 | </TR>
|
---|
619 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
620 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
621 | <CODE> void</CODE></FONT></TD>
|
---|
622 | <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>
|
---|
623 |
|
---|
624 | <BR>
|
---|
625 | Set the classpath to be used for this compilation.</TD>
|
---|
626 | </TR>
|
---|
627 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
628 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
629 | <CODE> void</CODE></FONT></TD>
|
---|
630 | <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>
|
---|
631 |
|
---|
632 | <BR>
|
---|
633 | Adds a reference to a classpath defined elsewhere.</TD>
|
---|
634 | </TR>
|
---|
635 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
636 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
637 | <CODE> void</CODE></FONT></TD>
|
---|
638 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setCompiler(java.lang.String)">setCompiler</A></B>(java.lang.String compiler)</CODE>
|
---|
639 |
|
---|
640 | <BR>
|
---|
641 | Choose the implementation for this particular task.</TD>
|
---|
642 | </TR>
|
---|
643 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
644 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
645 | <CODE> void</CODE></FONT></TD>
|
---|
646 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setDebug(boolean)">setDebug</A></B>(boolean debug)</CODE>
|
---|
647 |
|
---|
648 | <BR>
|
---|
649 | Indicates whether source should be compiled
|
---|
650 | with debug information; defaults to off.</TD>
|
---|
651 | </TR>
|
---|
652 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
653 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
654 | <CODE> void</CODE></FONT></TD>
|
---|
655 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setDebugLevel(java.lang.String)">setDebugLevel</A></B>(java.lang.String v)</CODE>
|
---|
656 |
|
---|
657 | <BR>
|
---|
658 | Keyword list to be appended to the -g command-line switch.</TD>
|
---|
659 | </TR>
|
---|
660 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
661 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
662 | <CODE> void</CODE></FONT></TD>
|
---|
663 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setDepend(boolean)">setDepend</A></B>(boolean depend)</CODE>
|
---|
664 |
|
---|
665 | <BR>
|
---|
666 | Enables dependency-tracking for compilers
|
---|
667 | that support this (jikes and classic).</TD>
|
---|
668 | </TR>
|
---|
669 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
670 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
671 | <CODE> void</CODE></FONT></TD>
|
---|
672 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setDeprecation(boolean)">setDeprecation</A></B>(boolean deprecation)</CODE>
|
---|
673 |
|
---|
674 | <BR>
|
---|
675 | Indicates whether source should be
|
---|
676 | compiled with deprecation information; defaults to off.</TD>
|
---|
677 | </TR>
|
---|
678 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
679 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
680 | <CODE> void</CODE></FONT></TD>
|
---|
681 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setDestdir(java.io.File)">setDestdir</A></B>(java.io.File destDir)</CODE>
|
---|
682 |
|
---|
683 | <BR>
|
---|
684 | Set the destination directory into which the Java source
|
---|
685 | files should be compiled.</TD>
|
---|
686 | </TR>
|
---|
687 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
688 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
689 | <CODE> void</CODE></FONT></TD>
|
---|
690 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setEncoding(java.lang.String)">setEncoding</A></B>(java.lang.String encoding)</CODE>
|
---|
691 |
|
---|
692 | <BR>
|
---|
693 | Set the Java source file encoding name.</TD>
|
---|
694 | </TR>
|
---|
695 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
696 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
697 | <CODE> void</CODE></FONT></TD>
|
---|
698 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setExecutable(java.lang.String)">setExecutable</A></B>(java.lang.String forkExec)</CODE>
|
---|
699 |
|
---|
700 | <BR>
|
---|
701 | Sets the name of the javac executable.</TD>
|
---|
702 | </TR>
|
---|
703 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
704 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
705 | <CODE> void</CODE></FONT></TD>
|
---|
706 | <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>
|
---|
707 |
|
---|
708 | <BR>
|
---|
709 | Sets the extension directories that will be used during the
|
---|
710 | compilation.</TD>
|
---|
711 | </TR>
|
---|
712 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
713 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
714 | <CODE> void</CODE></FONT></TD>
|
---|
715 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setFailonerror(boolean)">setFailonerror</A></B>(boolean fail)</CODE>
|
---|
716 |
|
---|
717 | <BR>
|
---|
718 | Indicates whether the build will continue
|
---|
719 | even if there are compilation errors; defaults to true.</TD>
|
---|
720 | </TR>
|
---|
721 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
722 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
723 | <CODE> void</CODE></FONT></TD>
|
---|
724 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setFork(boolean)">setFork</A></B>(boolean f)</CODE>
|
---|
725 |
|
---|
726 | <BR>
|
---|
727 | If true, forks the javac compiler.</TD>
|
---|
728 | </TR>
|
---|
729 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
730 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
731 | <CODE> void</CODE></FONT></TD>
|
---|
732 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setIncludeantruntime(boolean)">setIncludeantruntime</A></B>(boolean include)</CODE>
|
---|
733 |
|
---|
734 | <BR>
|
---|
735 | If true, includes Ant's own classpath in the classpath.</TD>
|
---|
736 | </TR>
|
---|
737 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
738 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
739 | <CODE> void</CODE></FONT></TD>
|
---|
740 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setIncludejavaruntime(boolean)">setIncludejavaruntime</A></B>(boolean include)</CODE>
|
---|
741 |
|
---|
742 | <BR>
|
---|
743 | If true, includes the Java runtime libraries in the classpath.</TD>
|
---|
744 | </TR>
|
---|
745 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
746 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
747 | <CODE> void</CODE></FONT></TD>
|
---|
748 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setListfiles(boolean)">setListfiles</A></B>(boolean list)</CODE>
|
---|
749 |
|
---|
750 | <BR>
|
---|
751 | If true, list the source files being handed off to the compiler.</TD>
|
---|
752 | </TR>
|
---|
753 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
754 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
755 | <CODE> void</CODE></FONT></TD>
|
---|
756 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setMemoryInitialSize(java.lang.String)">setMemoryInitialSize</A></B>(java.lang.String memoryInitialSize)</CODE>
|
---|
757 |
|
---|
758 | <BR>
|
---|
759 | The initial size of the memory for the underlying VM
|
---|
760 | if javac is run externally; ignored otherwise.</TD>
|
---|
761 | </TR>
|
---|
762 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
763 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
764 | <CODE> void</CODE></FONT></TD>
|
---|
765 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setMemoryMaximumSize(java.lang.String)">setMemoryMaximumSize</A></B>(java.lang.String memoryMaximumSize)</CODE>
|
---|
766 |
|
---|
767 | <BR>
|
---|
768 | The maximum size of the memory for the underlying VM
|
---|
769 | if javac is run externally; ignored otherwise.</TD>
|
---|
770 | </TR>
|
---|
771 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
772 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
773 | <CODE> void</CODE></FONT></TD>
|
---|
774 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setNowarn(boolean)">setNowarn</A></B>(boolean flag)</CODE>
|
---|
775 |
|
---|
776 | <BR>
|
---|
777 | If true, enables the -nowarn option.</TD>
|
---|
778 | </TR>
|
---|
779 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
780 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
781 | <CODE> void</CODE></FONT></TD>
|
---|
782 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setOptimize(boolean)">setOptimize</A></B>(boolean optimize)</CODE>
|
---|
783 |
|
---|
784 | <BR>
|
---|
785 | If true, compiles with optimization enabled.</TD>
|
---|
786 | </TR>
|
---|
787 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
788 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
789 | <CODE> void</CODE></FONT></TD>
|
---|
790 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setProceed(boolean)">setProceed</A></B>(boolean proceed)</CODE>
|
---|
791 |
|
---|
792 | <BR>
|
---|
793 | </TD>
|
---|
794 | </TR>
|
---|
795 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
796 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
797 | <CODE> void</CODE></FONT></TD>
|
---|
798 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setSource(java.lang.String)">setSource</A></B>(java.lang.String v)</CODE>
|
---|
799 |
|
---|
800 | <BR>
|
---|
801 | Value of the -source command-line switch; will be ignored
|
---|
802 | by all implementations except modern and jikes.</TD>
|
---|
803 | </TR>
|
---|
804 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
805 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
806 | <CODE> void</CODE></FONT></TD>
|
---|
807 | <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>
|
---|
808 |
|
---|
809 | <BR>
|
---|
810 | Set the sourcepath to be used for this compilation.</TD>
|
---|
811 | </TR>
|
---|
812 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
813 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
814 | <CODE> void</CODE></FONT></TD>
|
---|
815 | <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>
|
---|
816 |
|
---|
817 | <BR>
|
---|
818 | Adds a reference to a source path defined elsewhere.</TD>
|
---|
819 | </TR>
|
---|
820 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
821 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
822 | <CODE> void</CODE></FONT></TD>
|
---|
823 | <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>
|
---|
824 |
|
---|
825 | <BR>
|
---|
826 | Set the source directories to find the source Java files.</TD>
|
---|
827 | </TR>
|
---|
828 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
829 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
830 | <CODE> void</CODE></FONT></TD>
|
---|
831 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setTarget(java.lang.String)">setTarget</A></B>(java.lang.String target)</CODE>
|
---|
832 |
|
---|
833 | <BR>
|
---|
834 | Sets the target VM that the classes will be compiled for.</TD>
|
---|
835 | </TR>
|
---|
836 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
837 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
838 | <CODE> void</CODE></FONT></TD>
|
---|
839 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setTempdir(java.io.File)">setTempdir</A></B>(java.io.File tmpDir)</CODE>
|
---|
840 |
|
---|
841 | <BR>
|
---|
842 | Where Ant should place temporary files.</TD>
|
---|
843 | </TR>
|
---|
844 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
845 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
846 | <CODE> void</CODE></FONT></TD>
|
---|
847 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#setVerbose(boolean)">setVerbose</A></B>(boolean verbose)</CODE>
|
---|
848 |
|
---|
849 | <BR>
|
---|
850 | If true, asks the compiler for verbose output.</TD>
|
---|
851 | </TR>
|
---|
852 | </TABLE>
|
---|
853 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.taskdefs.MatchingTask"><!-- --></A>
|
---|
854 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
855 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
856 | <TD><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></TD>
|
---|
857 | </TR>
|
---|
858 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
859 | <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>
|
---|
860 | </TR>
|
---|
861 | </TABLE>
|
---|
862 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
863 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
864 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
865 | <TD><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></TD>
|
---|
866 | </TR>
|
---|
867 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
868 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#getDescription()">getDescription</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getLocation()">getLocation</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#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#setDescription(java.lang.String)">setDescription</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setLocation(org.apache.tools.ant.Location)">setLocation</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>
|
---|
869 | </TR>
|
---|
870 | </TABLE>
|
---|
871 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
872 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
873 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
874 | <TD><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></TD>
|
---|
875 | </TR>
|
---|
876 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
877 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#getProject()">getProject</A></CODE></TD>
|
---|
878 | </TR>
|
---|
879 | </TABLE>
|
---|
880 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
881 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
882 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
883 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
884 | </TR>
|
---|
885 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
886 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
887 | </TR>
|
---|
888 | </TABLE>
|
---|
889 |
|
---|
890 | <P>
|
---|
891 |
|
---|
892 | <!-- ============ FIELD DETAIL =========== -->
|
---|
893 |
|
---|
894 | <A NAME="field_detail"><!-- --></A>
|
---|
895 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
896 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
897 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
898 | <B>Field Detail</B></FONT></TD>
|
---|
899 | </TR>
|
---|
900 | </TABLE>
|
---|
901 |
|
---|
902 | <A NAME="failOnError"><!-- --></A><H3>
|
---|
903 | failOnError</H3>
|
---|
904 | <PRE>
|
---|
905 | protected boolean <B>failOnError</B></PRE>
|
---|
906 | <DL>
|
---|
907 | <DL>
|
---|
908 | </DL>
|
---|
909 | </DL>
|
---|
910 | <HR>
|
---|
911 |
|
---|
912 | <A NAME="listFiles"><!-- --></A><H3>
|
---|
913 | listFiles</H3>
|
---|
914 | <PRE>
|
---|
915 | protected boolean <B>listFiles</B></PRE>
|
---|
916 | <DL>
|
---|
917 | <DL>
|
---|
918 | </DL>
|
---|
919 | </DL>
|
---|
920 | <HR>
|
---|
921 |
|
---|
922 | <A NAME="compileList"><!-- --></A><H3>
|
---|
923 | compileList</H3>
|
---|
924 | <PRE>
|
---|
925 | protected java.io.File[] <B>compileList</B></PRE>
|
---|
926 | <DL>
|
---|
927 | <DL>
|
---|
928 | </DL>
|
---|
929 | </DL>
|
---|
930 |
|
---|
931 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
932 |
|
---|
933 | <A NAME="constructor_detail"><!-- --></A>
|
---|
934 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
935 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
936 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
937 | <B>Constructor Detail</B></FONT></TD>
|
---|
938 | </TR>
|
---|
939 | </TABLE>
|
---|
940 |
|
---|
941 | <A NAME="Javac()"><!-- --></A><H3>
|
---|
942 | Javac</H3>
|
---|
943 | <PRE>
|
---|
944 | public <B>Javac</B>()</PRE>
|
---|
945 | <DL>
|
---|
946 | <DD>Javac task for compilation of Java files.
|
---|
947 | <P>
|
---|
948 | </DL>
|
---|
949 |
|
---|
950 | <!-- ============ METHOD DETAIL ========== -->
|
---|
951 |
|
---|
952 | <A NAME="method_detail"><!-- --></A>
|
---|
953 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
954 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
955 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
956 | <B>Method Detail</B></FONT></TD>
|
---|
957 | </TR>
|
---|
958 | </TABLE>
|
---|
959 |
|
---|
960 | <A NAME="getDebugLevel()"><!-- --></A><H3>
|
---|
961 | getDebugLevel</H3>
|
---|
962 | <PRE>
|
---|
963 | public java.lang.String <B>getDebugLevel</B>()</PRE>
|
---|
964 | <DL>
|
---|
965 | <DD>Get the value of debugLevel.
|
---|
966 | <P>
|
---|
967 | <DD><DL>
|
---|
968 |
|
---|
969 | <DT><B>Returns:</B><DD>value of debugLevel.</DL>
|
---|
970 | </DD>
|
---|
971 | </DL>
|
---|
972 | <HR>
|
---|
973 |
|
---|
974 | <A NAME="setDebugLevel(java.lang.String)"><!-- --></A><H3>
|
---|
975 | setDebugLevel</H3>
|
---|
976 | <PRE>
|
---|
977 | public void <B>setDebugLevel</B>(java.lang.String v)</PRE>
|
---|
978 | <DL>
|
---|
979 | <DD>Keyword list to be appended to the -g command-line switch.
|
---|
980 |
|
---|
981 | This will be ignored by all implementations except modern
|
---|
982 | and classic(ver >= 1.2). Legal values are none or a
|
---|
983 | comma-separated list of the following keywords: lines, vars,
|
---|
984 | and source. If debuglevel is not specified, by default, :none
|
---|
985 | will be appended to -g. If debug is not turned on, this attribute
|
---|
986 | will be ignored.
|
---|
987 | <P>
|
---|
988 | <DD><DL>
|
---|
989 | <DT><B>Parameters:</B><DD><CODE>v</CODE> - Value to assign to debugLevel.</DL>
|
---|
990 | </DD>
|
---|
991 | </DL>
|
---|
992 | <HR>
|
---|
993 |
|
---|
994 | <A NAME="getSource()"><!-- --></A><H3>
|
---|
995 | getSource</H3>
|
---|
996 | <PRE>
|
---|
997 | public java.lang.String <B>getSource</B>()</PRE>
|
---|
998 | <DL>
|
---|
999 | <DD>Get the value of source.
|
---|
1000 | <P>
|
---|
1001 | <DD><DL>
|
---|
1002 |
|
---|
1003 | <DT><B>Returns:</B><DD>value of source.</DL>
|
---|
1004 | </DD>
|
---|
1005 | </DL>
|
---|
1006 | <HR>
|
---|
1007 |
|
---|
1008 | <A NAME="setSource(java.lang.String)"><!-- --></A><H3>
|
---|
1009 | setSource</H3>
|
---|
1010 | <PRE>
|
---|
1011 | public void <B>setSource</B>(java.lang.String v)</PRE>
|
---|
1012 | <DL>
|
---|
1013 | <DD>Value of the -source command-line switch; will be ignored
|
---|
1014 | by all implementations except modern and jikes.
|
---|
1015 |
|
---|
1016 | If you use this attribute together with jikes, you must
|
---|
1017 | make sure that your version of jikes supports the -source switch.
|
---|
1018 | Legal values are 1.3, 1.4 and 1.5 - by default, no -source argument
|
---|
1019 | will be used at all.
|
---|
1020 | <P>
|
---|
1021 | <DD><DL>
|
---|
1022 | <DT><B>Parameters:</B><DD><CODE>v</CODE> - Value to assign to source.</DL>
|
---|
1023 | </DD>
|
---|
1024 | </DL>
|
---|
1025 | <HR>
|
---|
1026 |
|
---|
1027 | <A NAME="createSrc()"><!-- --></A><H3>
|
---|
1028 | createSrc</H3>
|
---|
1029 | <PRE>
|
---|
1030 | public <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>createSrc</B>()</PRE>
|
---|
1031 | <DL>
|
---|
1032 | <DD>Adds a path for source compilation.
|
---|
1033 | <P>
|
---|
1034 | <DD><DL>
|
---|
1035 |
|
---|
1036 | <DT><B>Returns:</B><DD>a nested src element.</DL>
|
---|
1037 | </DD>
|
---|
1038 | </DL>
|
---|
1039 | <HR>
|
---|
1040 |
|
---|
1041 | <A NAME="recreateSrc()"><!-- --></A><H3>
|
---|
1042 | recreateSrc</H3>
|
---|
1043 | <PRE>
|
---|
1044 | protected <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>recreateSrc</B>()</PRE>
|
---|
1045 | <DL>
|
---|
1046 | <DD>Recreate src.
|
---|
1047 | <P>
|
---|
1048 | <DD><DL>
|
---|
1049 |
|
---|
1050 | <DT><B>Returns:</B><DD>a nested src element.</DL>
|
---|
1051 | </DD>
|
---|
1052 | </DL>
|
---|
1053 | <HR>
|
---|
1054 |
|
---|
1055 | <A NAME="setSrcdir(org.apache.tools.ant.types.Path)"><!-- --></A><H3>
|
---|
1056 | setSrcdir</H3>
|
---|
1057 | <PRE>
|
---|
1058 | 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>
|
---|
1059 | <DL>
|
---|
1060 | <DD>Set the source directories to find the source Java files.
|
---|
1061 | <P>
|
---|
1062 | <DD><DL>
|
---|
1063 | <DT><B>Parameters:</B><DD><CODE>srcDir</CODE> - the source directories as a path</DL>
|
---|
1064 | </DD>
|
---|
1065 | </DL>
|
---|
1066 | <HR>
|
---|
1067 |
|
---|
1068 | <A NAME="getSrcdir()"><!-- --></A><H3>
|
---|
1069 | getSrcdir</H3>
|
---|
1070 | <PRE>
|
---|
1071 | public <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>getSrcdir</B>()</PRE>
|
---|
1072 | <DL>
|
---|
1073 | <DD>Gets the source dirs to find the source java files.
|
---|
1074 | <P>
|
---|
1075 | <DD><DL>
|
---|
1076 |
|
---|
1077 | <DT><B>Returns:</B><DD>the source directories as a path</DL>
|
---|
1078 | </DD>
|
---|
1079 | </DL>
|
---|
1080 | <HR>
|
---|
1081 |
|
---|
1082 | <A NAME="setDestdir(java.io.File)"><!-- --></A><H3>
|
---|
1083 | setDestdir</H3>
|
---|
1084 | <PRE>
|
---|
1085 | public void <B>setDestdir</B>(java.io.File destDir)</PRE>
|
---|
1086 | <DL>
|
---|
1087 | <DD>Set the destination directory into which the Java source
|
---|
1088 | files should be compiled.
|
---|
1089 | <P>
|
---|
1090 | <DD><DL>
|
---|
1091 | <DT><B>Parameters:</B><DD><CODE>destDir</CODE> - the destination director</DL>
|
---|
1092 | </DD>
|
---|
1093 | </DL>
|
---|
1094 | <HR>
|
---|
1095 |
|
---|
1096 | <A NAME="getDestdir()"><!-- --></A><H3>
|
---|
1097 | getDestdir</H3>
|
---|
1098 | <PRE>
|
---|
1099 | public java.io.File <B>getDestdir</B>()</PRE>
|
---|
1100 | <DL>
|
---|
1101 | <DD>Gets the destination directory into which the java source files
|
---|
1102 | should be compiled.
|
---|
1103 | <P>
|
---|
1104 | <DD><DL>
|
---|
1105 |
|
---|
1106 | <DT><B>Returns:</B><DD>the destination directory</DL>
|
---|
1107 | </DD>
|
---|
1108 | </DL>
|
---|
1109 | <HR>
|
---|
1110 |
|
---|
1111 | <A NAME="setSourcepath(org.apache.tools.ant.types.Path)"><!-- --></A><H3>
|
---|
1112 | setSourcepath</H3>
|
---|
1113 | <PRE>
|
---|
1114 | 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>
|
---|
1115 | <DL>
|
---|
1116 | <DD>Set the sourcepath to be used for this compilation.
|
---|
1117 | <P>
|
---|
1118 | <DD><DL>
|
---|
1119 | <DT><B>Parameters:</B><DD><CODE>sourcepath</CODE> - the source path</DL>
|
---|
1120 | </DD>
|
---|
1121 | </DL>
|
---|
1122 | <HR>
|
---|
1123 |
|
---|
1124 | <A NAME="getSourcepath()"><!-- --></A><H3>
|
---|
1125 | getSourcepath</H3>
|
---|
1126 | <PRE>
|
---|
1127 | public <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>getSourcepath</B>()</PRE>
|
---|
1128 | <DL>
|
---|
1129 | <DD>Gets the sourcepath to be used for this compilation.
|
---|
1130 | <P>
|
---|
1131 | <DD><DL>
|
---|
1132 |
|
---|
1133 | <DT><B>Returns:</B><DD>the source path</DL>
|
---|
1134 | </DD>
|
---|
1135 | </DL>
|
---|
1136 | <HR>
|
---|
1137 |
|
---|
1138 | <A NAME="createSourcepath()"><!-- --></A><H3>
|
---|
1139 | createSourcepath</H3>
|
---|
1140 | <PRE>
|
---|
1141 | public <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>createSourcepath</B>()</PRE>
|
---|
1142 | <DL>
|
---|
1143 | <DD>Adds a path to sourcepath.
|
---|
1144 | <P>
|
---|
1145 | <DD><DL>
|
---|
1146 |
|
---|
1147 | <DT><B>Returns:</B><DD>a sourcepath to be configured</DL>
|
---|
1148 | </DD>
|
---|
1149 | </DL>
|
---|
1150 | <HR>
|
---|
1151 |
|
---|
1152 | <A NAME="setSourcepathRef(org.apache.tools.ant.types.Reference)"><!-- --></A><H3>
|
---|
1153 | setSourcepathRef</H3>
|
---|
1154 | <PRE>
|
---|
1155 | 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>
|
---|
1156 | <DL>
|
---|
1157 | <DD>Adds a reference to a source path defined elsewhere.
|
---|
1158 | <P>
|
---|
1159 | <DD><DL>
|
---|
1160 | <DT><B>Parameters:</B><DD><CODE>r</CODE> - a reference to a source path</DL>
|
---|
1161 | </DD>
|
---|
1162 | </DL>
|
---|
1163 | <HR>
|
---|
1164 |
|
---|
1165 | <A NAME="setClasspath(org.apache.tools.ant.types.Path)"><!-- --></A><H3>
|
---|
1166 | setClasspath</H3>
|
---|
1167 | <PRE>
|
---|
1168 | 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>
|
---|
1169 | <DL>
|
---|
1170 | <DD>Set the classpath to be used for this compilation.
|
---|
1171 | <P>
|
---|
1172 | <DD><DL>
|
---|
1173 | <DT><B>Parameters:</B><DD><CODE>classpath</CODE> - an Ant Path object containing the compilation classpath.</DL>
|
---|
1174 | </DD>
|
---|
1175 | </DL>
|
---|
1176 | <HR>
|
---|
1177 |
|
---|
1178 | <A NAME="getClasspath()"><!-- --></A><H3>
|
---|
1179 | getClasspath</H3>
|
---|
1180 | <PRE>
|
---|
1181 | public <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>getClasspath</B>()</PRE>
|
---|
1182 | <DL>
|
---|
1183 | <DD>Gets the classpath to be used for this compilation.
|
---|
1184 | <P>
|
---|
1185 | <DD><DL>
|
---|
1186 |
|
---|
1187 | <DT><B>Returns:</B><DD>the class path</DL>
|
---|
1188 | </DD>
|
---|
1189 | </DL>
|
---|
1190 | <HR>
|
---|
1191 |
|
---|
1192 | <A NAME="createClasspath()"><!-- --></A><H3>
|
---|
1193 | createClasspath</H3>
|
---|
1194 | <PRE>
|
---|
1195 | public <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>createClasspath</B>()</PRE>
|
---|
1196 | <DL>
|
---|
1197 | <DD>Adds a path to the classpath.
|
---|
1198 | <P>
|
---|
1199 | <DD><DL>
|
---|
1200 |
|
---|
1201 | <DT><B>Returns:</B><DD>a class path to be configured</DL>
|
---|
1202 | </DD>
|
---|
1203 | </DL>
|
---|
1204 | <HR>
|
---|
1205 |
|
---|
1206 | <A NAME="setClasspathRef(org.apache.tools.ant.types.Reference)"><!-- --></A><H3>
|
---|
1207 | setClasspathRef</H3>
|
---|
1208 | <PRE>
|
---|
1209 | 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>
|
---|
1210 | <DL>
|
---|
1211 | <DD>Adds a reference to a classpath defined elsewhere.
|
---|
1212 | <P>
|
---|
1213 | <DD><DL>
|
---|
1214 | <DT><B>Parameters:</B><DD><CODE>r</CODE> - a reference to a classpath</DL>
|
---|
1215 | </DD>
|
---|
1216 | </DL>
|
---|
1217 | <HR>
|
---|
1218 |
|
---|
1219 | <A NAME="setBootclasspath(org.apache.tools.ant.types.Path)"><!-- --></A><H3>
|
---|
1220 | setBootclasspath</H3>
|
---|
1221 | <PRE>
|
---|
1222 | 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>
|
---|
1223 | <DL>
|
---|
1224 | <DD>Sets the bootclasspath that will be used to compile the classes
|
---|
1225 | against.
|
---|
1226 | <P>
|
---|
1227 | <DD><DL>
|
---|
1228 | <DT><B>Parameters:</B><DD><CODE>bootclasspath</CODE> - a path to use as a boot class path (may be more
|
---|
1229 | than one)</DL>
|
---|
1230 | </DD>
|
---|
1231 | </DL>
|
---|
1232 | <HR>
|
---|
1233 |
|
---|
1234 | <A NAME="getBootclasspath()"><!-- --></A><H3>
|
---|
1235 | getBootclasspath</H3>
|
---|
1236 | <PRE>
|
---|
1237 | public <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>getBootclasspath</B>()</PRE>
|
---|
1238 | <DL>
|
---|
1239 | <DD>Gets the bootclasspath that will be used to compile the classes
|
---|
1240 | against.
|
---|
1241 | <P>
|
---|
1242 | <DD><DL>
|
---|
1243 |
|
---|
1244 | <DT><B>Returns:</B><DD>the boot path</DL>
|
---|
1245 | </DD>
|
---|
1246 | </DL>
|
---|
1247 | <HR>
|
---|
1248 |
|
---|
1249 | <A NAME="createBootclasspath()"><!-- --></A><H3>
|
---|
1250 | createBootclasspath</H3>
|
---|
1251 | <PRE>
|
---|
1252 | public <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>createBootclasspath</B>()</PRE>
|
---|
1253 | <DL>
|
---|
1254 | <DD>Adds a path to the bootclasspath.
|
---|
1255 | <P>
|
---|
1256 | <DD><DL>
|
---|
1257 |
|
---|
1258 | <DT><B>Returns:</B><DD>a path to be configured</DL>
|
---|
1259 | </DD>
|
---|
1260 | </DL>
|
---|
1261 | <HR>
|
---|
1262 |
|
---|
1263 | <A NAME="setBootClasspathRef(org.apache.tools.ant.types.Reference)"><!-- --></A><H3>
|
---|
1264 | setBootClasspathRef</H3>
|
---|
1265 | <PRE>
|
---|
1266 | 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>
|
---|
1267 | <DL>
|
---|
1268 | <DD>Adds a reference to a classpath defined elsewhere.
|
---|
1269 | <P>
|
---|
1270 | <DD><DL>
|
---|
1271 | <DT><B>Parameters:</B><DD><CODE>r</CODE> - a reference to a classpath</DL>
|
---|
1272 | </DD>
|
---|
1273 | </DL>
|
---|
1274 | <HR>
|
---|
1275 |
|
---|
1276 | <A NAME="setExtdirs(org.apache.tools.ant.types.Path)"><!-- --></A><H3>
|
---|
1277 | setExtdirs</H3>
|
---|
1278 | <PRE>
|
---|
1279 | 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>
|
---|
1280 | <DL>
|
---|
1281 | <DD>Sets the extension directories that will be used during the
|
---|
1282 | compilation.
|
---|
1283 | <P>
|
---|
1284 | <DD><DL>
|
---|
1285 | <DT><B>Parameters:</B><DD><CODE>extdirs</CODE> - a path</DL>
|
---|
1286 | </DD>
|
---|
1287 | </DL>
|
---|
1288 | <HR>
|
---|
1289 |
|
---|
1290 | <A NAME="getExtdirs()"><!-- --></A><H3>
|
---|
1291 | getExtdirs</H3>
|
---|
1292 | <PRE>
|
---|
1293 | public <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>getExtdirs</B>()</PRE>
|
---|
1294 | <DL>
|
---|
1295 | <DD>Gets the extension directories that will be used during the
|
---|
1296 | compilation.
|
---|
1297 | <P>
|
---|
1298 | <DD><DL>
|
---|
1299 |
|
---|
1300 | <DT><B>Returns:</B><DD>the extension directories as a path</DL>
|
---|
1301 | </DD>
|
---|
1302 | </DL>
|
---|
1303 | <HR>
|
---|
1304 |
|
---|
1305 | <A NAME="createExtdirs()"><!-- --></A><H3>
|
---|
1306 | createExtdirs</H3>
|
---|
1307 | <PRE>
|
---|
1308 | public <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>createExtdirs</B>()</PRE>
|
---|
1309 | <DL>
|
---|
1310 | <DD>Adds a path to extdirs.
|
---|
1311 | <P>
|
---|
1312 | <DD><DL>
|
---|
1313 |
|
---|
1314 | <DT><B>Returns:</B><DD>a path to be configured</DL>
|
---|
1315 | </DD>
|
---|
1316 | </DL>
|
---|
1317 | <HR>
|
---|
1318 |
|
---|
1319 | <A NAME="setListfiles(boolean)"><!-- --></A><H3>
|
---|
1320 | setListfiles</H3>
|
---|
1321 | <PRE>
|
---|
1322 | public void <B>setListfiles</B>(boolean list)</PRE>
|
---|
1323 | <DL>
|
---|
1324 | <DD>If true, list the source files being handed off to the compiler.
|
---|
1325 | <P>
|
---|
1326 | <DD><DL>
|
---|
1327 | <DT><B>Parameters:</B><DD><CODE>list</CODE> - if true list the source files</DL>
|
---|
1328 | </DD>
|
---|
1329 | </DL>
|
---|
1330 | <HR>
|
---|
1331 |
|
---|
1332 | <A NAME="getListfiles()"><!-- --></A><H3>
|
---|
1333 | getListfiles</H3>
|
---|
1334 | <PRE>
|
---|
1335 | public boolean <B>getListfiles</B>()</PRE>
|
---|
1336 | <DL>
|
---|
1337 | <DD>Get the listfiles flag.
|
---|
1338 | <P>
|
---|
1339 | <DD><DL>
|
---|
1340 |
|
---|
1341 | <DT><B>Returns:</B><DD>the listfiles flag</DL>
|
---|
1342 | </DD>
|
---|
1343 | </DL>
|
---|
1344 | <HR>
|
---|
1345 |
|
---|
1346 | <A NAME="setFailonerror(boolean)"><!-- --></A><H3>
|
---|
1347 | setFailonerror</H3>
|
---|
1348 | <PRE>
|
---|
1349 | public void <B>setFailonerror</B>(boolean fail)</PRE>
|
---|
1350 | <DL>
|
---|
1351 | <DD>Indicates whether the build will continue
|
---|
1352 | even if there are compilation errors; defaults to true.
|
---|
1353 | <P>
|
---|
1354 | <DD><DL>
|
---|
1355 | <DT><B>Parameters:</B><DD><CODE>fail</CODE> - if true halt the build on failure</DL>
|
---|
1356 | </DD>
|
---|
1357 | </DL>
|
---|
1358 | <HR>
|
---|
1359 |
|
---|
1360 | <A NAME="setProceed(boolean)"><!-- --></A><H3>
|
---|
1361 | setProceed</H3>
|
---|
1362 | <PRE>
|
---|
1363 | public void <B>setProceed</B>(boolean proceed)</PRE>
|
---|
1364 | <DL>
|
---|
1365 | <DD><DL>
|
---|
1366 | <DT><B>Parameters:</B><DD><CODE>proceed</CODE> - inverse of failoferror</DL>
|
---|
1367 | </DD>
|
---|
1368 | </DL>
|
---|
1369 | <HR>
|
---|
1370 |
|
---|
1371 | <A NAME="getFailonerror()"><!-- --></A><H3>
|
---|
1372 | getFailonerror</H3>
|
---|
1373 | <PRE>
|
---|
1374 | public boolean <B>getFailonerror</B>()</PRE>
|
---|
1375 | <DL>
|
---|
1376 | <DD>Gets the failonerror flag.
|
---|
1377 | <P>
|
---|
1378 | <DD><DL>
|
---|
1379 |
|
---|
1380 | <DT><B>Returns:</B><DD>the failonerror flag</DL>
|
---|
1381 | </DD>
|
---|
1382 | </DL>
|
---|
1383 | <HR>
|
---|
1384 |
|
---|
1385 | <A NAME="setDeprecation(boolean)"><!-- --></A><H3>
|
---|
1386 | setDeprecation</H3>
|
---|
1387 | <PRE>
|
---|
1388 | public void <B>setDeprecation</B>(boolean deprecation)</PRE>
|
---|
1389 | <DL>
|
---|
1390 | <DD>Indicates whether source should be
|
---|
1391 | compiled with deprecation information; defaults to off.
|
---|
1392 | <P>
|
---|
1393 | <DD><DL>
|
---|
1394 | <DT><B>Parameters:</B><DD><CODE>deprecation</CODE> - if true turn on deprecation information</DL>
|
---|
1395 | </DD>
|
---|
1396 | </DL>
|
---|
1397 | <HR>
|
---|
1398 |
|
---|
1399 | <A NAME="getDeprecation()"><!-- --></A><H3>
|
---|
1400 | getDeprecation</H3>
|
---|
1401 | <PRE>
|
---|
1402 | public boolean <B>getDeprecation</B>()</PRE>
|
---|
1403 | <DL>
|
---|
1404 | <DD>Gets the deprecation flag.
|
---|
1405 | <P>
|
---|
1406 | <DD><DL>
|
---|
1407 |
|
---|
1408 | <DT><B>Returns:</B><DD>the deprecation flag</DL>
|
---|
1409 | </DD>
|
---|
1410 | </DL>
|
---|
1411 | <HR>
|
---|
1412 |
|
---|
1413 | <A NAME="setMemoryInitialSize(java.lang.String)"><!-- --></A><H3>
|
---|
1414 | setMemoryInitialSize</H3>
|
---|
1415 | <PRE>
|
---|
1416 | public void <B>setMemoryInitialSize</B>(java.lang.String memoryInitialSize)</PRE>
|
---|
1417 | <DL>
|
---|
1418 | <DD>The initial size of the memory for the underlying VM
|
---|
1419 | if javac is run externally; ignored otherwise.
|
---|
1420 | Defaults to the standard VM memory setting.
|
---|
1421 | (Examples: 83886080, 81920k, or 80m)
|
---|
1422 | <P>
|
---|
1423 | <DD><DL>
|
---|
1424 | <DT><B>Parameters:</B><DD><CODE>memoryInitialSize</CODE> - string to pass to VM</DL>
|
---|
1425 | </DD>
|
---|
1426 | </DL>
|
---|
1427 | <HR>
|
---|
1428 |
|
---|
1429 | <A NAME="getMemoryInitialSize()"><!-- --></A><H3>
|
---|
1430 | getMemoryInitialSize</H3>
|
---|
1431 | <PRE>
|
---|
1432 | public java.lang.String <B>getMemoryInitialSize</B>()</PRE>
|
---|
1433 | <DL>
|
---|
1434 | <DD>Gets the memoryInitialSize flag.
|
---|
1435 | <P>
|
---|
1436 | <DD><DL>
|
---|
1437 |
|
---|
1438 | <DT><B>Returns:</B><DD>the memoryInitialSize flag</DL>
|
---|
1439 | </DD>
|
---|
1440 | </DL>
|
---|
1441 | <HR>
|
---|
1442 |
|
---|
1443 | <A NAME="setMemoryMaximumSize(java.lang.String)"><!-- --></A><H3>
|
---|
1444 | setMemoryMaximumSize</H3>
|
---|
1445 | <PRE>
|
---|
1446 | public void <B>setMemoryMaximumSize</B>(java.lang.String memoryMaximumSize)</PRE>
|
---|
1447 | <DL>
|
---|
1448 | <DD>The maximum size of the memory for the underlying VM
|
---|
1449 | if javac is run externally; ignored otherwise.
|
---|
1450 | Defaults to the standard VM memory setting.
|
---|
1451 | (Examples: 83886080, 81920k, or 80m)
|
---|
1452 | <P>
|
---|
1453 | <DD><DL>
|
---|
1454 | <DT><B>Parameters:</B><DD><CODE>memoryMaximumSize</CODE> - string to pass to VM</DL>
|
---|
1455 | </DD>
|
---|
1456 | </DL>
|
---|
1457 | <HR>
|
---|
1458 |
|
---|
1459 | <A NAME="getMemoryMaximumSize()"><!-- --></A><H3>
|
---|
1460 | getMemoryMaximumSize</H3>
|
---|
1461 | <PRE>
|
---|
1462 | public java.lang.String <B>getMemoryMaximumSize</B>()</PRE>
|
---|
1463 | <DL>
|
---|
1464 | <DD>Gets the memoryMaximumSize flag.
|
---|
1465 | <P>
|
---|
1466 | <DD><DL>
|
---|
1467 |
|
---|
1468 | <DT><B>Returns:</B><DD>the memoryMaximumSize flag</DL>
|
---|
1469 | </DD>
|
---|
1470 | </DL>
|
---|
1471 | <HR>
|
---|
1472 |
|
---|
1473 | <A NAME="setEncoding(java.lang.String)"><!-- --></A><H3>
|
---|
1474 | setEncoding</H3>
|
---|
1475 | <PRE>
|
---|
1476 | public void <B>setEncoding</B>(java.lang.String encoding)</PRE>
|
---|
1477 | <DL>
|
---|
1478 | <DD>Set the Java source file encoding name.
|
---|
1479 | <P>
|
---|
1480 | <DD><DL>
|
---|
1481 | <DT><B>Parameters:</B><DD><CODE>encoding</CODE> - the source file encoding</DL>
|
---|
1482 | </DD>
|
---|
1483 | </DL>
|
---|
1484 | <HR>
|
---|
1485 |
|
---|
1486 | <A NAME="getEncoding()"><!-- --></A><H3>
|
---|
1487 | getEncoding</H3>
|
---|
1488 | <PRE>
|
---|
1489 | public java.lang.String <B>getEncoding</B>()</PRE>
|
---|
1490 | <DL>
|
---|
1491 | <DD>Gets the java source file encoding name.
|
---|
1492 | <P>
|
---|
1493 | <DD><DL>
|
---|
1494 |
|
---|
1495 | <DT><B>Returns:</B><DD>the source file encoding name</DL>
|
---|
1496 | </DD>
|
---|
1497 | </DL>
|
---|
1498 | <HR>
|
---|
1499 |
|
---|
1500 | <A NAME="setDebug(boolean)"><!-- --></A><H3>
|
---|
1501 | setDebug</H3>
|
---|
1502 | <PRE>
|
---|
1503 | public void <B>setDebug</B>(boolean debug)</PRE>
|
---|
1504 | <DL>
|
---|
1505 | <DD>Indicates whether source should be compiled
|
---|
1506 | with debug information; defaults to off.
|
---|
1507 | <P>
|
---|
1508 | <DD><DL>
|
---|
1509 | <DT><B>Parameters:</B><DD><CODE>debug</CODE> - if true compile with debug information</DL>
|
---|
1510 | </DD>
|
---|
1511 | </DL>
|
---|
1512 | <HR>
|
---|
1513 |
|
---|
1514 | <A NAME="getDebug()"><!-- --></A><H3>
|
---|
1515 | getDebug</H3>
|
---|
1516 | <PRE>
|
---|
1517 | public boolean <B>getDebug</B>()</PRE>
|
---|
1518 | <DL>
|
---|
1519 | <DD>Gets the debug flag.
|
---|
1520 | <P>
|
---|
1521 | <DD><DL>
|
---|
1522 |
|
---|
1523 | <DT><B>Returns:</B><DD>the debug flag</DL>
|
---|
1524 | </DD>
|
---|
1525 | </DL>
|
---|
1526 | <HR>
|
---|
1527 |
|
---|
1528 | <A NAME="setOptimize(boolean)"><!-- --></A><H3>
|
---|
1529 | setOptimize</H3>
|
---|
1530 | <PRE>
|
---|
1531 | public void <B>setOptimize</B>(boolean optimize)</PRE>
|
---|
1532 | <DL>
|
---|
1533 | <DD>If true, compiles with optimization enabled.
|
---|
1534 | <P>
|
---|
1535 | <DD><DL>
|
---|
1536 | <DT><B>Parameters:</B><DD><CODE>optimize</CODE> - if true compile with optimization enabled</DL>
|
---|
1537 | </DD>
|
---|
1538 | </DL>
|
---|
1539 | <HR>
|
---|
1540 |
|
---|
1541 | <A NAME="getOptimize()"><!-- --></A><H3>
|
---|
1542 | getOptimize</H3>
|
---|
1543 | <PRE>
|
---|
1544 | public boolean <B>getOptimize</B>()</PRE>
|
---|
1545 | <DL>
|
---|
1546 | <DD>Gets the optimize flag.
|
---|
1547 | <P>
|
---|
1548 | <DD><DL>
|
---|
1549 |
|
---|
1550 | <DT><B>Returns:</B><DD>the optimize flag</DL>
|
---|
1551 | </DD>
|
---|
1552 | </DL>
|
---|
1553 | <HR>
|
---|
1554 |
|
---|
1555 | <A NAME="setDepend(boolean)"><!-- --></A><H3>
|
---|
1556 | setDepend</H3>
|
---|
1557 | <PRE>
|
---|
1558 | public void <B>setDepend</B>(boolean depend)</PRE>
|
---|
1559 | <DL>
|
---|
1560 | <DD>Enables dependency-tracking for compilers
|
---|
1561 | that support this (jikes and classic).
|
---|
1562 | <P>
|
---|
1563 | <DD><DL>
|
---|
1564 | <DT><B>Parameters:</B><DD><CODE>depend</CODE> - if true enable dependency-tracking</DL>
|
---|
1565 | </DD>
|
---|
1566 | </DL>
|
---|
1567 | <HR>
|
---|
1568 |
|
---|
1569 | <A NAME="getDepend()"><!-- --></A><H3>
|
---|
1570 | getDepend</H3>
|
---|
1571 | <PRE>
|
---|
1572 | public boolean <B>getDepend</B>()</PRE>
|
---|
1573 | <DL>
|
---|
1574 | <DD>Gets the depend flag.
|
---|
1575 | <P>
|
---|
1576 | <DD><DL>
|
---|
1577 |
|
---|
1578 | <DT><B>Returns:</B><DD>the depend flag</DL>
|
---|
1579 | </DD>
|
---|
1580 | </DL>
|
---|
1581 | <HR>
|
---|
1582 |
|
---|
1583 | <A NAME="setVerbose(boolean)"><!-- --></A><H3>
|
---|
1584 | setVerbose</H3>
|
---|
1585 | <PRE>
|
---|
1586 | public void <B>setVerbose</B>(boolean verbose)</PRE>
|
---|
1587 | <DL>
|
---|
1588 | <DD>If true, asks the compiler for verbose output.
|
---|
1589 | <P>
|
---|
1590 | <DD><DL>
|
---|
1591 | <DT><B>Parameters:</B><DD><CODE>verbose</CODE> - if true, asks the compiler for verbose output</DL>
|
---|
1592 | </DD>
|
---|
1593 | </DL>
|
---|
1594 | <HR>
|
---|
1595 |
|
---|
1596 | <A NAME="getVerbose()"><!-- --></A><H3>
|
---|
1597 | getVerbose</H3>
|
---|
1598 | <PRE>
|
---|
1599 | public boolean <B>getVerbose</B>()</PRE>
|
---|
1600 | <DL>
|
---|
1601 | <DD>Gets the verbose flag.
|
---|
1602 | <P>
|
---|
1603 | <DD><DL>
|
---|
1604 |
|
---|
1605 | <DT><B>Returns:</B><DD>the verbose flag</DL>
|
---|
1606 | </DD>
|
---|
1607 | </DL>
|
---|
1608 | <HR>
|
---|
1609 |
|
---|
1610 | <A NAME="setTarget(java.lang.String)"><!-- --></A><H3>
|
---|
1611 | setTarget</H3>
|
---|
1612 | <PRE>
|
---|
1613 | public void <B>setTarget</B>(java.lang.String target)</PRE>
|
---|
1614 | <DL>
|
---|
1615 | <DD>Sets the target VM that the classes will be compiled for. Valid
|
---|
1616 | values depend on the compiler, for jdk 1.4 the valid values are
|
---|
1617 | "1.1", "1.2", "1.3", "1.4" and "1.5".
|
---|
1618 | <P>
|
---|
1619 | <DD><DL>
|
---|
1620 | <DT><B>Parameters:</B><DD><CODE>target</CODE> - the target VM</DL>
|
---|
1621 | </DD>
|
---|
1622 | </DL>
|
---|
1623 | <HR>
|
---|
1624 |
|
---|
1625 | <A NAME="getTarget()"><!-- --></A><H3>
|
---|
1626 | getTarget</H3>
|
---|
1627 | <PRE>
|
---|
1628 | public java.lang.String <B>getTarget</B>()</PRE>
|
---|
1629 | <DL>
|
---|
1630 | <DD>Gets the target VM that the classes will be compiled for.
|
---|
1631 | <P>
|
---|
1632 | <DD><DL>
|
---|
1633 |
|
---|
1634 | <DT><B>Returns:</B><DD>the target VM</DL>
|
---|
1635 | </DD>
|
---|
1636 | </DL>
|
---|
1637 | <HR>
|
---|
1638 |
|
---|
1639 | <A NAME="setIncludeantruntime(boolean)"><!-- --></A><H3>
|
---|
1640 | setIncludeantruntime</H3>
|
---|
1641 | <PRE>
|
---|
1642 | public void <B>setIncludeantruntime</B>(boolean include)</PRE>
|
---|
1643 | <DL>
|
---|
1644 | <DD>If true, includes Ant's own classpath in the classpath.
|
---|
1645 | <P>
|
---|
1646 | <DD><DL>
|
---|
1647 | <DT><B>Parameters:</B><DD><CODE>include</CODE> - if true, includes Ant's own classpath in the classpath</DL>
|
---|
1648 | </DD>
|
---|
1649 | </DL>
|
---|
1650 | <HR>
|
---|
1651 |
|
---|
1652 | <A NAME="getIncludeantruntime()"><!-- --></A><H3>
|
---|
1653 | getIncludeantruntime</H3>
|
---|
1654 | <PRE>
|
---|
1655 | public boolean <B>getIncludeantruntime</B>()</PRE>
|
---|
1656 | <DL>
|
---|
1657 | <DD>Gets whether or not the ant classpath is to be included in the classpath.
|
---|
1658 | <P>
|
---|
1659 | <DD><DL>
|
---|
1660 |
|
---|
1661 | <DT><B>Returns:</B><DD>whether or not the ant classpath is to be included in the classpath</DL>
|
---|
1662 | </DD>
|
---|
1663 | </DL>
|
---|
1664 | <HR>
|
---|
1665 |
|
---|
1666 | <A NAME="setIncludejavaruntime(boolean)"><!-- --></A><H3>
|
---|
1667 | setIncludejavaruntime</H3>
|
---|
1668 | <PRE>
|
---|
1669 | public void <B>setIncludejavaruntime</B>(boolean include)</PRE>
|
---|
1670 | <DL>
|
---|
1671 | <DD>If true, includes the Java runtime libraries in the classpath.
|
---|
1672 | <P>
|
---|
1673 | <DD><DL>
|
---|
1674 | <DT><B>Parameters:</B><DD><CODE>include</CODE> - if true, includes the Java runtime libraries in the classpath</DL>
|
---|
1675 | </DD>
|
---|
1676 | </DL>
|
---|
1677 | <HR>
|
---|
1678 |
|
---|
1679 | <A NAME="getIncludejavaruntime()"><!-- --></A><H3>
|
---|
1680 | getIncludejavaruntime</H3>
|
---|
1681 | <PRE>
|
---|
1682 | public boolean <B>getIncludejavaruntime</B>()</PRE>
|
---|
1683 | <DL>
|
---|
1684 | <DD>Gets whether or not the java runtime should be included in this
|
---|
1685 | task's classpath.
|
---|
1686 | <P>
|
---|
1687 | <DD><DL>
|
---|
1688 |
|
---|
1689 | <DT><B>Returns:</B><DD>the includejavaruntime attribute</DL>
|
---|
1690 | </DD>
|
---|
1691 | </DL>
|
---|
1692 | <HR>
|
---|
1693 |
|
---|
1694 | <A NAME="setFork(boolean)"><!-- --></A><H3>
|
---|
1695 | setFork</H3>
|
---|
1696 | <PRE>
|
---|
1697 | public void <B>setFork</B>(boolean f)</PRE>
|
---|
1698 | <DL>
|
---|
1699 | <DD>If true, forks the javac compiler.
|
---|
1700 | <P>
|
---|
1701 | <DD><DL>
|
---|
1702 | <DT><B>Parameters:</B><DD><CODE>f</CODE> - "true|false|on|off|yes|no"</DL>
|
---|
1703 | </DD>
|
---|
1704 | </DL>
|
---|
1705 | <HR>
|
---|
1706 |
|
---|
1707 | <A NAME="setExecutable(java.lang.String)"><!-- --></A><H3>
|
---|
1708 | setExecutable</H3>
|
---|
1709 | <PRE>
|
---|
1710 | public void <B>setExecutable</B>(java.lang.String forkExec)</PRE>
|
---|
1711 | <DL>
|
---|
1712 | <DD>Sets the name of the javac executable.
|
---|
1713 |
|
---|
1714 | <p>Ignored unless fork is true or extJavac has been specified
|
---|
1715 | as the compiler.</p>
|
---|
1716 | <P>
|
---|
1717 | <DD><DL>
|
---|
1718 | <DT><B>Parameters:</B><DD><CODE>forkExec</CODE> - the name of the executable</DL>
|
---|
1719 | </DD>
|
---|
1720 | </DL>
|
---|
1721 | <HR>
|
---|
1722 |
|
---|
1723 | <A NAME="getExecutable()"><!-- --></A><H3>
|
---|
1724 | getExecutable</H3>
|
---|
1725 | <PRE>
|
---|
1726 | public java.lang.String <B>getExecutable</B>()</PRE>
|
---|
1727 | <DL>
|
---|
1728 | <DD>The value of the executable attribute, if any.
|
---|
1729 | <P>
|
---|
1730 | <DD><DL>
|
---|
1731 |
|
---|
1732 | <DT><B>Returns:</B><DD>the name of the java executable<DT><B>Since:</B></DT>
|
---|
1733 | <DD>Ant 1.6</DD>
|
---|
1734 | </DL>
|
---|
1735 | </DD>
|
---|
1736 | </DL>
|
---|
1737 | <HR>
|
---|
1738 |
|
---|
1739 | <A NAME="isForkedJavac()"><!-- --></A><H3>
|
---|
1740 | isForkedJavac</H3>
|
---|
1741 | <PRE>
|
---|
1742 | public boolean <B>isForkedJavac</B>()</PRE>
|
---|
1743 | <DL>
|
---|
1744 | <DD>Is this a forked invocation of JDK's javac?
|
---|
1745 | <P>
|
---|
1746 | <DD><DL>
|
---|
1747 |
|
---|
1748 | <DT><B>Returns:</B><DD>true if this is a forked invocation</DL>
|
---|
1749 | </DD>
|
---|
1750 | </DL>
|
---|
1751 | <HR>
|
---|
1752 |
|
---|
1753 | <A NAME="getJavacExecutable()"><!-- --></A><H3>
|
---|
1754 | getJavacExecutable</H3>
|
---|
1755 | <PRE>
|
---|
1756 | public java.lang.String <B>getJavacExecutable</B>()</PRE>
|
---|
1757 | <DL>
|
---|
1758 | <DD>The name of the javac executable to use in fork-mode.
|
---|
1759 |
|
---|
1760 | <p>This is either the name specified with the executable
|
---|
1761 | attribute or the full path of the javac compiler of the VM Ant
|
---|
1762 | is currently running in - guessed by Ant.</p>
|
---|
1763 |
|
---|
1764 | <p>You should <strong>not</strong> invoke this method if you
|
---|
1765 | 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>
|
---|
1766 | <P>
|
---|
1767 | <DD><DL>
|
---|
1768 |
|
---|
1769 | <DT><B>Returns:</B><DD>the name of the javac executable</DL>
|
---|
1770 | </DD>
|
---|
1771 | </DL>
|
---|
1772 | <HR>
|
---|
1773 |
|
---|
1774 | <A NAME="setNowarn(boolean)"><!-- --></A><H3>
|
---|
1775 | setNowarn</H3>
|
---|
1776 | <PRE>
|
---|
1777 | public void <B>setNowarn</B>(boolean flag)</PRE>
|
---|
1778 | <DL>
|
---|
1779 | <DD>If true, enables the -nowarn option.
|
---|
1780 | <P>
|
---|
1781 | <DD><DL>
|
---|
1782 | <DT><B>Parameters:</B><DD><CODE>flag</CODE> - if true, enable the -nowarn option</DL>
|
---|
1783 | </DD>
|
---|
1784 | </DL>
|
---|
1785 | <HR>
|
---|
1786 |
|
---|
1787 | <A NAME="getNowarn()"><!-- --></A><H3>
|
---|
1788 | getNowarn</H3>
|
---|
1789 | <PRE>
|
---|
1790 | public boolean <B>getNowarn</B>()</PRE>
|
---|
1791 | <DL>
|
---|
1792 | <DD>Should the -nowarn option be used.
|
---|
1793 | <P>
|
---|
1794 | <DD><DL>
|
---|
1795 |
|
---|
1796 | <DT><B>Returns:</B><DD>true if the -nowarn option should be used</DL>
|
---|
1797 | </DD>
|
---|
1798 | </DL>
|
---|
1799 | <HR>
|
---|
1800 |
|
---|
1801 | <A NAME="createCompilerArg()"><!-- --></A><H3>
|
---|
1802 | createCompilerArg</H3>
|
---|
1803 | <PRE>
|
---|
1804 | 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>
|
---|
1805 | <DL>
|
---|
1806 | <DD>Adds an implementation specific command-line argument.
|
---|
1807 | <P>
|
---|
1808 | <DD><DL>
|
---|
1809 |
|
---|
1810 | <DT><B>Returns:</B><DD>a ImplementationSpecificArgument to be configured</DL>
|
---|
1811 | </DD>
|
---|
1812 | </DL>
|
---|
1813 | <HR>
|
---|
1814 |
|
---|
1815 | <A NAME="getCurrentCompilerArgs()"><!-- --></A><H3>
|
---|
1816 | getCurrentCompilerArgs</H3>
|
---|
1817 | <PRE>
|
---|
1818 | public java.lang.String[] <B>getCurrentCompilerArgs</B>()</PRE>
|
---|
1819 | <DL>
|
---|
1820 | <DD>Get the additional implementation specific command line arguments.
|
---|
1821 | <P>
|
---|
1822 | <DD><DL>
|
---|
1823 |
|
---|
1824 | <DT><B>Returns:</B><DD>array of command line arguments, guaranteed to be non-null.</DL>
|
---|
1825 | </DD>
|
---|
1826 | </DL>
|
---|
1827 | <HR>
|
---|
1828 |
|
---|
1829 | <A NAME="setTempdir(java.io.File)"><!-- --></A><H3>
|
---|
1830 | setTempdir</H3>
|
---|
1831 | <PRE>
|
---|
1832 | public void <B>setTempdir</B>(java.io.File tmpDir)</PRE>
|
---|
1833 | <DL>
|
---|
1834 | <DD>Where Ant should place temporary files.
|
---|
1835 | <P>
|
---|
1836 | <DD><DL>
|
---|
1837 | <DT><B>Parameters:</B><DD><CODE>tmpDir</CODE> - the temporary directory<DT><B>Since:</B></DT>
|
---|
1838 | <DD>Ant 1.6</DD>
|
---|
1839 | </DL>
|
---|
1840 | </DD>
|
---|
1841 | </DL>
|
---|
1842 | <HR>
|
---|
1843 |
|
---|
1844 | <A NAME="getTempdir()"><!-- --></A><H3>
|
---|
1845 | getTempdir</H3>
|
---|
1846 | <PRE>
|
---|
1847 | public java.io.File <B>getTempdir</B>()</PRE>
|
---|
1848 | <DL>
|
---|
1849 | <DD>Where Ant should place temporary files.
|
---|
1850 | <P>
|
---|
1851 | <DD><DL>
|
---|
1852 |
|
---|
1853 | <DT><B>Returns:</B><DD>the temporary directory<DT><B>Since:</B></DT>
|
---|
1854 | <DD>Ant 1.6</DD>
|
---|
1855 | </DL>
|
---|
1856 | </DD>
|
---|
1857 | </DL>
|
---|
1858 | <HR>
|
---|
1859 |
|
---|
1860 | <A NAME="execute()"><!-- --></A><H3>
|
---|
1861 | execute</H3>
|
---|
1862 | <PRE>
|
---|
1863 | public void <B>execute</B>()
|
---|
1864 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
1865 | <DL>
|
---|
1866 | <DD>Executes the task.
|
---|
1867 | <P>
|
---|
1868 | <DD><DL>
|
---|
1869 | <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>
|
---|
1870 | </DD>
|
---|
1871 | <DD><DL>
|
---|
1872 |
|
---|
1873 | <DT><B>Throws:</B>
|
---|
1874 | <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>
|
---|
1875 | </DD>
|
---|
1876 | </DL>
|
---|
1877 | <HR>
|
---|
1878 |
|
---|
1879 | <A NAME="resetFileLists()"><!-- --></A><H3>
|
---|
1880 | resetFileLists</H3>
|
---|
1881 | <PRE>
|
---|
1882 | protected void <B>resetFileLists</B>()</PRE>
|
---|
1883 | <DL>
|
---|
1884 | <DD>Clear the list of files to be compiled and copied..
|
---|
1885 | <P>
|
---|
1886 | <DD><DL>
|
---|
1887 | </DL>
|
---|
1888 | </DD>
|
---|
1889 | </DL>
|
---|
1890 | <HR>
|
---|
1891 |
|
---|
1892 | <A NAME="scanDir(java.io.File, java.io.File, java.lang.String[])"><!-- --></A><H3>
|
---|
1893 | scanDir</H3>
|
---|
1894 | <PRE>
|
---|
1895 | protected void <B>scanDir</B>(java.io.File srcDir,
|
---|
1896 | java.io.File destDir,
|
---|
1897 | java.lang.String[] files)</PRE>
|
---|
1898 | <DL>
|
---|
1899 | <DD>Scans the directory looking for source files to be compiled.
|
---|
1900 | The results are returned in the class variable compileList
|
---|
1901 | <P>
|
---|
1902 | <DD><DL>
|
---|
1903 | <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>
|
---|
1904 | </DD>
|
---|
1905 | </DL>
|
---|
1906 | <HR>
|
---|
1907 |
|
---|
1908 | <A NAME="getFileList()"><!-- --></A><H3>
|
---|
1909 | getFileList</H3>
|
---|
1910 | <PRE>
|
---|
1911 | public java.io.File[] <B>getFileList</B>()</PRE>
|
---|
1912 | <DL>
|
---|
1913 | <DD>Gets the list of files to be compiled.
|
---|
1914 | <P>
|
---|
1915 | <DD><DL>
|
---|
1916 |
|
---|
1917 | <DT><B>Returns:</B><DD>the list of files as an array</DL>
|
---|
1918 | </DD>
|
---|
1919 | </DL>
|
---|
1920 | <HR>
|
---|
1921 |
|
---|
1922 | <A NAME="isJdkCompiler(java.lang.String)"><!-- --></A><H3>
|
---|
1923 | isJdkCompiler</H3>
|
---|
1924 | <PRE>
|
---|
1925 | protected boolean <B>isJdkCompiler</B>(java.lang.String compilerImpl)</PRE>
|
---|
1926 | <DL>
|
---|
1927 | <DD>Is the compiler implementation a jdk compiler
|
---|
1928 | <P>
|
---|
1929 | <DD><DL>
|
---|
1930 | <DT><B>Parameters:</B><DD><CODE>compilerImpl</CODE> - the name of the compiler implementation
|
---|
1931 | <DT><B>Returns:</B><DD>true if compilerImpl is "modern", "classic", "javac1.1",
|
---|
1932 | "javac1.2", "javac1.3", "javac1.4" or "javac1.5".</DL>
|
---|
1933 | </DD>
|
---|
1934 | </DL>
|
---|
1935 | <HR>
|
---|
1936 |
|
---|
1937 | <A NAME="getSystemJavac()"><!-- --></A><H3>
|
---|
1938 | getSystemJavac</H3>
|
---|
1939 | <PRE>
|
---|
1940 | protected java.lang.String <B>getSystemJavac</B>()</PRE>
|
---|
1941 | <DL>
|
---|
1942 | <DD><DL>
|
---|
1943 |
|
---|
1944 | <DT><B>Returns:</B><DD>the executable name of the java compiler</DL>
|
---|
1945 | </DD>
|
---|
1946 | </DL>
|
---|
1947 | <HR>
|
---|
1948 |
|
---|
1949 | <A NAME="setCompiler(java.lang.String)"><!-- --></A><H3>
|
---|
1950 | setCompiler</H3>
|
---|
1951 | <PRE>
|
---|
1952 | public void <B>setCompiler</B>(java.lang.String compiler)</PRE>
|
---|
1953 | <DL>
|
---|
1954 | <DD>Choose the implementation for this particular task.
|
---|
1955 | <P>
|
---|
1956 | <DD><DL>
|
---|
1957 | <DT><B>Parameters:</B><DD><CODE>compiler</CODE> - the name of the compiler<DT><B>Since:</B></DT>
|
---|
1958 | <DD>Ant 1.5</DD>
|
---|
1959 | </DL>
|
---|
1960 | </DD>
|
---|
1961 | </DL>
|
---|
1962 | <HR>
|
---|
1963 |
|
---|
1964 | <A NAME="getCompiler()"><!-- --></A><H3>
|
---|
1965 | getCompiler</H3>
|
---|
1966 | <PRE>
|
---|
1967 | public java.lang.String <B>getCompiler</B>()</PRE>
|
---|
1968 | <DL>
|
---|
1969 | <DD>The implementation for this particular task.
|
---|
1970 |
|
---|
1971 | <p>Defaults to the build.compiler property but can be overridden
|
---|
1972 | via the compiler and fork attributes.</p>
|
---|
1973 |
|
---|
1974 | <p>If fork has been set to true, the result will be extJavac
|
---|
1975 | and not classic or java1.2 - no matter what the compiler
|
---|
1976 | attribute looks like.</p>
|
---|
1977 | <P>
|
---|
1978 | <DD><DL>
|
---|
1979 | <DT><B>Since:</B></DT>
|
---|
1980 | <DD>Ant 1.5</DD>
|
---|
1981 | <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getCompilerVersion()"><CODE>getCompilerVersion()</CODE></A></DL>
|
---|
1982 | </DD>
|
---|
1983 | </DL>
|
---|
1984 | <HR>
|
---|
1985 |
|
---|
1986 | <A NAME="getCompilerVersion()"><!-- --></A><H3>
|
---|
1987 | getCompilerVersion</H3>
|
---|
1988 | <PRE>
|
---|
1989 | public java.lang.String <B>getCompilerVersion</B>()</PRE>
|
---|
1990 | <DL>
|
---|
1991 | <DD>The implementation for this particular task.
|
---|
1992 |
|
---|
1993 | <p>Defaults to the build.compiler property but can be overridden
|
---|
1994 | via the compiler attribute.</p>
|
---|
1995 |
|
---|
1996 | <p>This method does not take the fork attribute into
|
---|
1997 | account.</p>
|
---|
1998 | <P>
|
---|
1999 | <DD><DL>
|
---|
2000 | <DT><B>Since:</B></DT>
|
---|
2001 | <DD>Ant 1.5</DD>
|
---|
2002 | <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/tools/ant/taskdefs/Javac.html#getCompiler()"><CODE>getCompiler()</CODE></A></DL>
|
---|
2003 | </DD>
|
---|
2004 | </DL>
|
---|
2005 | <HR>
|
---|
2006 |
|
---|
2007 | <A NAME="checkParameters()"><!-- --></A><H3>
|
---|
2008 | checkParameters</H3>
|
---|
2009 | <PRE>
|
---|
2010 | protected void <B>checkParameters</B>()
|
---|
2011 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
2012 | <DL>
|
---|
2013 | <DD>Check that all required attributes have been set and nothing
|
---|
2014 | silly has been entered.
|
---|
2015 | <P>
|
---|
2016 | <DD><DL>
|
---|
2017 |
|
---|
2018 | <DT><B>Throws:</B>
|
---|
2019 | <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>
|
---|
2020 | <DD>Ant 1.5</DD>
|
---|
2021 | </DL>
|
---|
2022 | </DD>
|
---|
2023 | </DL>
|
---|
2024 | <HR>
|
---|
2025 |
|
---|
2026 | <A NAME="compile()"><!-- --></A><H3>
|
---|
2027 | compile</H3>
|
---|
2028 | <PRE>
|
---|
2029 | protected void <B>compile</B>()</PRE>
|
---|
2030 | <DL>
|
---|
2031 | <DD>Perform the compilation.
|
---|
2032 | <P>
|
---|
2033 | <DD><DL>
|
---|
2034 | <DT><B>Since:</B></DT>
|
---|
2035 | <DD>Ant 1.5</DD>
|
---|
2036 | </DL>
|
---|
2037 | </DD>
|
---|
2038 | </DL>
|
---|
2039 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
2040 | <HR>
|
---|
2041 |
|
---|
2042 |
|
---|
2043 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
2044 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
2045 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
2046 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
2047 | <TR>
|
---|
2048 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
2049 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
2050 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
2051 | <TR ALIGN="center" VALIGN="top">
|
---|
2052 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
2053 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
2054 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
2055 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
2056 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
2057 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
2058 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
2059 | </TR>
|
---|
2060 | </TABLE>
|
---|
2061 | </TD>
|
---|
2062 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
2063 | </EM>
|
---|
2064 | </TD>
|
---|
2065 | </TR>
|
---|
2066 |
|
---|
2067 | <TR>
|
---|
2068 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
2069 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Java.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
2070 | <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>
|
---|
2071 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
2072 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
2073 | <A HREF="Javac.html" target="_top"><B>NO FRAMES</B></A>
|
---|
2074 | <SCRIPT type="text/javascript">
|
---|
2075 | <!--
|
---|
2076 | if(window==top) {
|
---|
2077 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
2078 | }
|
---|
2079 | //-->
|
---|
2080 | </SCRIPT>
|
---|
2081 | <NOSCRIPT>
|
---|
2082 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
2083 | </NOSCRIPT>
|
---|
2084 |
|
---|
2085 | </FONT></TD>
|
---|
2086 | </TR>
|
---|
2087 | <TR>
|
---|
2088 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
2089 | 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>
|
---|
2090 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
2091 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
2092 | </TR>
|
---|
2093 | </TABLE>
|
---|
2094 | <A NAME="skip-navbar_bottom"></A>
|
---|
2095 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
2096 |
|
---|
2097 | <HR>
|
---|
2098 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
2099 | </BODY>
|
---|
2100 | </HTML>
|
---|