source: release-kits/lirk3/resources/gs3-release-maker/ant/docs/manual/api/org/apache/tools/ant/taskdefs/ExecuteJava.html@ 14982

Last change on this file since 14982 was 14982, checked in by oranfry, 16 years ago

initial import of LiRK3

File size: 19.8 KB
Line 
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>
7ExecuteJava (Apache Ant API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.ExecuteJava class">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17 parent.document.title="ExecuteJava (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>&nbsp;</TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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&nbsp;<A HREF="../../../../../org/apache/tools/ant/taskdefs/Execute.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>&nbsp;
53&nbsp;<A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.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> &nbsp;
56&nbsp;<A HREF="ExecuteJava.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
57&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
73<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
74DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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">
84org.apache.tools.ant.taskdefs</FONT>
85<BR>
86Class ExecuteJava</H2>
87<PRE>
88java.lang.Object
89 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.ExecuteJava</B>
90</PRE>
91<DL>
92<DT><B>All Implemented Interfaces:</B> <DD>java.lang.Runnable, <A HREF="../../../../../org/apache/tools/ant/util/TimeoutObserver.html" title="interface in org.apache.tools.ant.util">TimeoutObserver</A></DD>
93</DL>
94<HR>
95<DL>
96<DT>public class <B>ExecuteJava</B><DT>extends java.lang.Object<DT>implements java.lang.Runnable, <A HREF="../../../../../org/apache/tools/ant/util/TimeoutObserver.html" title="interface in org.apache.tools.ant.util">TimeoutObserver</A></DL>
97
98<P>
99<DL>
100<DT><B>Since:</B></DT>
101 <DD>Ant 1.2</DD>
102</DL>
103<HR>
104
105<P>
106<!-- ======== NESTED CLASS SUMMARY ======== -->
107
108
109<!-- =========== FIELD SUMMARY =========== -->
110
111
112<!-- ======== CONSTRUCTOR SUMMARY ======== -->
113
114<A NAME="constructor_summary"><!-- --></A>
115<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
116<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
117<TD COLSPAN=2><FONT SIZE="+2">
118<B>Constructor Summary</B></FONT></TD>
119</TR>
120<TR BGCOLOR="white" CLASS="TableRowColor">
121<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteJava.html#ExecuteJava()">ExecuteJava</A></B>()</CODE>
122
123<BR>
124&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
125</TR>
126</TABLE>
127&nbsp;
128<!-- ========== METHOD SUMMARY =========== -->
129
130<A NAME="method_summary"><!-- --></A>
131<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
132<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
133<TD COLSPAN=2><FONT SIZE="+2">
134<B>Method Summary</B></FONT></TD>
135</TR>
136<TR BGCOLOR="white" CLASS="TableRowColor">
137<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
138<CODE>&nbsp;void</CODE></FONT></TD>
139<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteJava.html#execute(org.apache.tools.ant.Project)">execute</A></B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;project)</CODE>
140
141<BR>
142&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
143</TR>
144<TR BGCOLOR="white" CLASS="TableRowColor">
145<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
146<CODE>&nbsp;int</CODE></FONT></TD>
147<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteJava.html#fork(org.apache.tools.ant.ProjectComponent)">fork</A></B>(<A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A>&nbsp;pc)</CODE>
148
149<BR>
150&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Runs the Java command in a separate VM, this does not give you
151 the full flexibility of the Java task, but may be enough for
152 simple needs.</TD>
153</TR>
154<TR BGCOLOR="white" CLASS="TableRowColor">
155<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
156<CODE>&nbsp;boolean</CODE></FONT></TD>
157<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteJava.html#killedProcess()">killedProcess</A></B>()</CODE>
158
159<BR>
160&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
161</TR>
162<TR BGCOLOR="white" CLASS="TableRowColor">
163<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
164<CODE>&nbsp;void</CODE></FONT></TD>
165<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteJava.html#run()">run</A></B>()</CODE>
166
167<BR>
168&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
169</TR>
170<TR BGCOLOR="white" CLASS="TableRowColor">
171<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
172<CODE>&nbsp;void</CODE></FONT></TD>
173<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteJava.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>&nbsp;p)</CODE>
174
175<BR>
176&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the classpath to be used when running the Java class</TD>
177</TR>
178<TR BGCOLOR="white" CLASS="TableRowColor">
179<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
180<CODE>&nbsp;void</CODE></FONT></TD>
181<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteJava.html#setJavaCommand(org.apache.tools.ant.types.Commandline)">setJavaCommand</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/Commandline.html" title="class in org.apache.tools.ant.types">Commandline</A>&nbsp;javaCommand)</CODE>
182
183<BR>
184&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
185</TR>
186<TR BGCOLOR="white" CLASS="TableRowColor">
187<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
188<CODE>&nbsp;void</CODE></FONT></TD>
189<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteJava.html#setOutput(java.io.PrintStream)">setOutput</A></B>(java.io.PrintStream&nbsp;out)</CODE>
190
191<BR>
192&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>manage output at the task level</I></TD>
193</TR>
194<TR BGCOLOR="white" CLASS="TableRowColor">
195<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
196<CODE>&nbsp;void</CODE></FONT></TD>
197<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteJava.html#setPermissions(org.apache.tools.ant.types.Permissions)">setPermissions</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/Permissions.html" title="class in org.apache.tools.ant.types">Permissions</A>&nbsp;permissions)</CODE>
198
199<BR>
200&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Permissions for the application run.</TD>
201</TR>
202<TR BGCOLOR="white" CLASS="TableRowColor">
203<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
204<CODE>&nbsp;void</CODE></FONT></TD>
205<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteJava.html#setSystemProperties(org.apache.tools.ant.types.CommandlineJava.SysProperties)">setSystemProperties</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/CommandlineJava.SysProperties.html" title="class in org.apache.tools.ant.types">CommandlineJava.SysProperties</A>&nbsp;s)</CODE>
206
207<BR>
208&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
209</TR>
210<TR BGCOLOR="white" CLASS="TableRowColor">
211<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
212<CODE>&nbsp;void</CODE></FONT></TD>
213<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteJava.html#setTimeout(java.lang.Long)">setTimeout</A></B>(java.lang.Long&nbsp;timeout)</CODE>
214
215<BR>
216&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
217</TR>
218<TR BGCOLOR="white" CLASS="TableRowColor">
219<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
220<CODE>&nbsp;void</CODE></FONT></TD>
221<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteJava.html#timeoutOccured(org.apache.tools.ant.util.Watchdog)">timeoutOccured</A></B>(<A HREF="../../../../../org/apache/tools/ant/util/Watchdog.html" title="class in org.apache.tools.ant.util">Watchdog</A>&nbsp;w)</CODE>
222
223<BR>
224&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called when the watchdow times out.</TD>
225</TR>
226</TABLE>
227&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
228<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
229<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
230<TD><B>Methods inherited from class java.lang.Object</B></TD>
231</TR>
232<TR BGCOLOR="white" CLASS="TableRowColor">
233<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
234</TR>
235</TABLE>
236&nbsp;
237<P>
238
239<!-- ============ FIELD DETAIL =========== -->
240
241
242<!-- ========= CONSTRUCTOR DETAIL ======== -->
243
244<A NAME="constructor_detail"><!-- --></A>
245<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
246<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
247<TD COLSPAN=1><FONT SIZE="+2">
248<B>Constructor Detail</B></FONT></TD>
249</TR>
250</TABLE>
251
252<A NAME="ExecuteJava()"><!-- --></A><H3>
253ExecuteJava</H3>
254<PRE>
255public <B>ExecuteJava</B>()</PRE>
256<DL>
257</DL>
258
259<!-- ============ METHOD DETAIL ========== -->
260
261<A NAME="method_detail"><!-- --></A>
262<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
263<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
264<TD COLSPAN=1><FONT SIZE="+2">
265<B>Method Detail</B></FONT></TD>
266</TR>
267</TABLE>
268
269<A NAME="setJavaCommand(org.apache.tools.ant.types.Commandline)"><!-- --></A><H3>
270setJavaCommand</H3>
271<PRE>
272public void <B>setJavaCommand</B>(<A HREF="../../../../../org/apache/tools/ant/types/Commandline.html" title="class in org.apache.tools.ant.types">Commandline</A>&nbsp;javaCommand)</PRE>
273<DL>
274<DD><DL>
275</DL>
276</DD>
277<DD><DL>
278</DL>
279</DD>
280</DL>
281<HR>
282
283<A NAME="setClasspath(org.apache.tools.ant.types.Path)"><!-- --></A><H3>
284setClasspath</H3>
285<PRE>
286public void <B>setClasspath</B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A>&nbsp;p)</PRE>
287<DL>
288<DD>Set the classpath to be used when running the Java class
289<P>
290<DD><DL>
291</DL>
292</DD>
293<DD><DL>
294<DT><B>Parameters:</B><DD><CODE>p</CODE> - an Ant Path object containing the classpath.</DL>
295</DD>
296</DL>
297<HR>
298
299<A NAME="setSystemProperties(org.apache.tools.ant.types.CommandlineJava.SysProperties)"><!-- --></A><H3>
300setSystemProperties</H3>
301<PRE>
302public void <B>setSystemProperties</B>(<A HREF="../../../../../org/apache/tools/ant/types/CommandlineJava.SysProperties.html" title="class in org.apache.tools.ant.types">CommandlineJava.SysProperties</A>&nbsp;s)</PRE>
303<DL>
304<DD><DL>
305</DL>
306</DD>
307<DD><DL>
308</DL>
309</DD>
310</DL>
311<HR>
312
313<A NAME="setPermissions(org.apache.tools.ant.types.Permissions)"><!-- --></A><H3>
314setPermissions</H3>
315<PRE>
316public void <B>setPermissions</B>(<A HREF="../../../../../org/apache/tools/ant/types/Permissions.html" title="class in org.apache.tools.ant.types">Permissions</A>&nbsp;permissions)</PRE>
317<DL>
318<DD>Permissions for the application run.
319<P>
320<DD><DL>
321</DL>
322</DD>
323<DD><DL>
324<DT><B>Parameters:</B><DD><CODE>permissions</CODE> - <DT><B>Since:</B></DT>
325 <DD>Ant 1.6</DD>
326</DL>
327</DD>
328</DL>
329<HR>
330
331<A NAME="setOutput(java.io.PrintStream)"><!-- --></A><H3>
332setOutput</H3>
333<PRE>
334public void <B>setOutput</B>(java.io.PrintStream&nbsp;out)</PRE>
335<DL>
336<DD><B>Deprecated.</B>&nbsp;<I>manage output at the task level</I>
337<P>
338<DD>All output (System.out as well as System.err) will be written
339 to this Stream.
340<P>
341<DD><DL>
342</DL>
343</DD>
344<DD><DL>
345</DL>
346</DD>
347</DL>
348<HR>
349
350<A NAME="setTimeout(java.lang.Long)"><!-- --></A><H3>
351setTimeout</H3>
352<PRE>
353public void <B>setTimeout</B>(java.lang.Long&nbsp;timeout)</PRE>
354<DL>
355<DD><DL>
356</DL>
357</DD>
358<DD><DL>
359<DT><B>Since:</B></DT>
360 <DD>Ant 1.5</DD>
361</DL>
362</DD>
363</DL>
364<HR>
365
366<A NAME="execute(org.apache.tools.ant.Project)"><!-- --></A><H3>
367execute</H3>
368<PRE>
369public void <B>execute</B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;project)
370 throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
371<DL>
372<DD><DL>
373</DL>
374</DD>
375<DD><DL>
376
377<DT><B>Throws:</B>
378<DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
379</DD>
380</DL>
381<HR>
382
383<A NAME="run()"><!-- --></A><H3>
384run</H3>
385<PRE>
386public void <B>run</B>()</PRE>
387<DL>
388<DD><DL>
389<DT><B>Specified by:</B><DD><CODE>run</CODE> in interface <CODE>java.lang.Runnable</CODE></DL>
390</DD>
391<DD><DL>
392<DT><B>Since:</B></DT>
393 <DD>Ant 1.5</DD>
394</DL>
395</DD>
396</DL>
397<HR>
398
399<A NAME="timeoutOccured(org.apache.tools.ant.util.Watchdog)"><!-- --></A><H3>
400timeoutOccured</H3>
401<PRE>
402public void <B>timeoutOccured</B>(<A HREF="../../../../../org/apache/tools/ant/util/Watchdog.html" title="class in org.apache.tools.ant.util">Watchdog</A>&nbsp;w)</PRE>
403<DL>
404<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/tools/ant/util/TimeoutObserver.html" title="interface in org.apache.tools.ant.util">TimeoutObserver</A></CODE></B></DD>
405<DD>Called when the watchdow times out.
406<P>
407<DD><DL>
408<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/util/TimeoutObserver.html#timeoutOccured(org.apache.tools.ant.util.Watchdog)">timeoutOccured</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/tools/ant/util/TimeoutObserver.html" title="interface in org.apache.tools.ant.util">TimeoutObserver</A></CODE></DL>
409</DD>
410<DD><DL>
411<DT><B>Parameters:</B><DD><CODE>w</CODE> - the watchdog that timed out.<DT><B>Since:</B></DT>
412 <DD>Ant 1.5</DD>
413</DL>
414</DD>
415</DL>
416<HR>
417
418<A NAME="killedProcess()"><!-- --></A><H3>
419killedProcess</H3>
420<PRE>
421public boolean <B>killedProcess</B>()</PRE>
422<DL>
423<DD><DL>
424</DL>
425</DD>
426<DD><DL>
427<DT><B>Since:</B></DT>
428 <DD>1.19, Ant 1.5</DD>
429</DL>
430</DD>
431</DL>
432<HR>
433
434<A NAME="fork(org.apache.tools.ant.ProjectComponent)"><!-- --></A><H3>
435fork</H3>
436<PRE>
437public int <B>fork</B>(<A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A>&nbsp;pc)
438 throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
439<DL>
440<DD>Runs the Java command in a separate VM, this does not give you
441 the full flexibility of the Java task, but may be enough for
442 simple needs.
443<P>
444<DD><DL>
445</DL>
446</DD>
447<DD><DL>
448
449<DT><B>Throws:</B>
450<DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE><DT><B>Since:</B></DT>
451 <DD>Ant 1.6.3</DD>
452</DL>
453</DD>
454</DL>
455<!-- ========= END OF CLASS DATA ========= -->
456<HR>
457
458
459<!-- ======= START OF BOTTOM NAVBAR ====== -->
460<A NAME="navbar_bottom"><!-- --></A>
461<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
462<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
463<TR>
464<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
465<A NAME="navbar_bottom_firstrow"><!-- --></A>
466<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
467 <TR ALIGN="center" VALIGN="top">
468 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
469 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
470 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
471 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
472 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
473 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
474 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
475 </TR>
476</TABLE>
477</TD>
478<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
479</EM>
480</TD>
481</TR>
482
483<TR>
484<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
485&nbsp;<A HREF="../../../../../org/apache/tools/ant/taskdefs/Execute.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>&nbsp;
486&nbsp;<A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD>
487<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
488 <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
489&nbsp;<A HREF="ExecuteJava.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
490&nbsp;<SCRIPT type="text/javascript">
491 <!--
492 if(window==top) {
493 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
494 }
495 //-->
496</SCRIPT>
497<NOSCRIPT>
498 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
499</NOSCRIPT>
500
501</FONT></TD>
502</TR>
503<TR>
504<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
505 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
506<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
507DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
508</TR>
509</TABLE>
510<A NAME="skip-navbar_bottom"></A>
511<!-- ======== END OF BOTTOM NAVBAR ======= -->
512
513<HR>
514Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
515</BODY>
516</HTML>
Note: See TracBrowser for help on using the repository browser.