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:18 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | Chmod (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.Chmod 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="Chmod (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/Checksum.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Concat.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="Chmod.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_classes_inherited_from_class_org.apache.tools.ant.taskdefs.ExecuteOn">NESTED</A> | <A HREF="#fields_inherited_from_class_org.apache.tools.ant.taskdefs.ExecuteOn">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: FIELD | <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 Chmod</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/ExecTask.html" title="class in org.apache.tools.ant.taskdefs">org.apache.tools.ant.taskdefs.ExecTask</A>
|
---|
92 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html" title="class in org.apache.tools.ant.taskdefs">org.apache.tools.ant.taskdefs.ExecuteOn</A>
|
---|
93 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.Chmod</B>
|
---|
94 | </PRE>
|
---|
95 | <HR>
|
---|
96 | <DL>
|
---|
97 | <DT>public class <B>Chmod</B><DT>extends <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html" title="class in org.apache.tools.ant.taskdefs">ExecuteOn</A></DL>
|
---|
98 |
|
---|
99 | <P>
|
---|
100 | Chmod equivalent for unix-like environments.
|
---|
101 | <P>
|
---|
102 |
|
---|
103 | <P>
|
---|
104 | <DL>
|
---|
105 | <DT><B>Since:</B></DT>
|
---|
106 | <DD>Ant 1.1</DD>
|
---|
107 | <DT><B>To do:</B></DT>
|
---|
108 | <DD>Refactor so it does not extend from ExecuteOn and then turn around
|
---|
109 | and unsupport several attributes.</DD>
|
---|
110 | </DL>
|
---|
111 | <HR>
|
---|
112 |
|
---|
113 | <P>
|
---|
114 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
115 |
|
---|
116 | <A NAME="nested_class_summary"><!-- --></A>
|
---|
117 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
118 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
119 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
120 | <B>Nested Class Summary</B></FONT></TD>
|
---|
121 | </TR>
|
---|
122 | </TABLE>
|
---|
123 | <A NAME="nested_classes_inherited_from_class_org.apache.tools.ant.taskdefs.ExecuteOn"><!-- --></A>
|
---|
124 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
125 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
126 | <TD><B>Nested classes inherited from class org.apache.tools.ant.taskdefs.<A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html" title="class in org.apache.tools.ant.taskdefs">ExecuteOn</A></B></TD>
|
---|
127 | </TR>
|
---|
128 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
129 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.FileDirBoth.html" title="class in org.apache.tools.ant.taskdefs">ExecuteOn.FileDirBoth</A></CODE></TD>
|
---|
130 | </TR>
|
---|
131 | </TABLE>
|
---|
132 |
|
---|
133 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
134 |
|
---|
135 | <A NAME="field_summary"><!-- --></A>
|
---|
136 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
137 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
138 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
139 | <B>Field Summary</B></FONT></TD>
|
---|
140 | </TR>
|
---|
141 | </TABLE>
|
---|
142 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.taskdefs.ExecuteOn"><!-- --></A>
|
---|
143 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
144 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
145 | <TD><B>Fields inherited from class org.apache.tools.ant.taskdefs.<A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html" title="class in org.apache.tools.ant.taskdefs">ExecuteOn</A></B></TD>
|
---|
146 | </TR>
|
---|
147 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
148 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#destDir">destDir</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#filesets">filesets</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#mapper">mapper</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#mapperElement">mapperElement</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#srcFilePos">srcFilePos</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#srcIsFirst">srcIsFirst</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#targetFilePos">targetFilePos</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#type">type</A></CODE></TD>
|
---|
149 | </TR>
|
---|
150 | </TABLE>
|
---|
151 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.taskdefs.ExecTask"><!-- --></A>
|
---|
152 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
153 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
154 | <TD><B>Fields inherited from class org.apache.tools.ant.taskdefs.<A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html" title="class in org.apache.tools.ant.taskdefs">ExecTask</A></B></TD>
|
---|
155 | </TR>
|
---|
156 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
157 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#cmdl">cmdl</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#failOnError">failOnError</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#newEnvironment">newEnvironment</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#redirector">redirector</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#redirectorElement">redirectorElement</A></CODE></TD>
|
---|
158 | </TR>
|
---|
159 | </TABLE>
|
---|
160 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
161 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
162 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
163 | <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>
|
---|
164 | </TR>
|
---|
165 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
166 | <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#target">target</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#taskName">taskName</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#taskType">taskType</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#wrapper">wrapper</A></CODE></TD>
|
---|
167 | </TR>
|
---|
168 | </TABLE>
|
---|
169 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
170 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
171 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
172 | <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>
|
---|
173 | </TR>
|
---|
174 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
175 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#project">project</A></CODE></TD>
|
---|
176 | </TR>
|
---|
177 | </TABLE>
|
---|
178 |
|
---|
179 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
180 |
|
---|
181 | <A NAME="constructor_summary"><!-- --></A>
|
---|
182 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
183 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
184 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
185 | <B>Constructor Summary</B></FONT></TD>
|
---|
186 | </TR>
|
---|
187 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
188 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Chmod.html#Chmod()">Chmod</A></B>()</CODE>
|
---|
189 |
|
---|
190 | <BR>
|
---|
191 | Chmod task for setting file and directory permissions.</TD>
|
---|
192 | </TR>
|
---|
193 | </TABLE>
|
---|
194 |
|
---|
195 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
196 |
|
---|
197 | <A NAME="method_summary"><!-- --></A>
|
---|
198 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
199 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
200 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
201 | <B>Method Summary</B></FONT></TD>
|
---|
202 | </TR>
|
---|
203 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
204 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
205 | <CODE>protected void</CODE></FONT></TD>
|
---|
206 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Chmod.html#checkConfiguration()">checkConfiguration</A></B>()</CODE>
|
---|
207 |
|
---|
208 | <BR>
|
---|
209 | Check the configuration of this ExecuteOn instance.</TD>
|
---|
210 | </TR>
|
---|
211 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
212 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
213 | <CODE> <A HREF="../../../../../org/apache/tools/ant/types/PatternSet.NameEntry.html" title="class in org.apache.tools.ant.types">PatternSet.NameEntry</A></CODE></FONT></TD>
|
---|
214 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Chmod.html#createExclude()">createExclude</A></B>()</CODE>
|
---|
215 |
|
---|
216 | <BR>
|
---|
217 | Add a name entry on the exclude list.</TD>
|
---|
218 | </TR>
|
---|
219 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
220 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
221 | <CODE> <A HREF="../../../../../org/apache/tools/ant/types/PatternSet.NameEntry.html" title="class in org.apache.tools.ant.types">PatternSet.NameEntry</A></CODE></FONT></TD>
|
---|
222 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Chmod.html#createInclude()">createInclude</A></B>()</CODE>
|
---|
223 |
|
---|
224 | <BR>
|
---|
225 | Add a name entry on the include list.</TD>
|
---|
226 | </TR>
|
---|
227 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
228 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
229 | <CODE> <A HREF="../../../../../org/apache/tools/ant/types/PatternSet.html" title="class in org.apache.tools.ant.types">PatternSet</A></CODE></FONT></TD>
|
---|
230 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Chmod.html#createPatternSet()">createPatternSet</A></B>()</CODE>
|
---|
231 |
|
---|
232 | <BR>
|
---|
233 | Add a set of patterns.</TD>
|
---|
234 | </TR>
|
---|
235 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
236 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
237 | <CODE> void</CODE></FONT></TD>
|
---|
238 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Chmod.html#execute()">execute</A></B>()</CODE>
|
---|
239 |
|
---|
240 | <BR>
|
---|
241 | Do the work.</TD>
|
---|
242 | </TR>
|
---|
243 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
244 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
245 | <CODE>protected boolean</CODE></FONT></TD>
|
---|
246 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Chmod.html#isValidOs()">isValidOs</A></B>()</CODE>
|
---|
247 |
|
---|
248 | <BR>
|
---|
249 | Is this the OS the user wanted?</TD>
|
---|
250 | </TR>
|
---|
251 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
252 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
253 | <CODE> void</CODE></FONT></TD>
|
---|
254 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Chmod.html#setAddsourcefile(boolean)">setAddsourcefile</A></B>(boolean b)</CODE>
|
---|
255 |
|
---|
256 | <BR>
|
---|
257 | Set whether to send the source file name on the command line.</TD>
|
---|
258 | </TR>
|
---|
259 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
260 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
261 | <CODE> void</CODE></FONT></TD>
|
---|
262 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Chmod.html#setCommand(org.apache.tools.ant.types.Commandline)">setCommand</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/Commandline.html" title="class in org.apache.tools.ant.types">Commandline</A> cmdl)</CODE>
|
---|
263 |
|
---|
264 | <BR>
|
---|
265 | Sets a command line.</TD>
|
---|
266 | </TR>
|
---|
267 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
268 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
269 | <CODE> void</CODE></FONT></TD>
|
---|
270 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Chmod.html#setDefaultexcludes(boolean)">setDefaultexcludes</A></B>(boolean useDefaultExcludes)</CODE>
|
---|
271 |
|
---|
272 | <BR>
|
---|
273 | Sets whether default exclusions should be used or not.</TD>
|
---|
274 | </TR>
|
---|
275 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
276 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
277 | <CODE> void</CODE></FONT></TD>
|
---|
278 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Chmod.html#setDir(java.io.File)">setDir</A></B>(java.io.File src)</CODE>
|
---|
279 |
|
---|
280 | <BR>
|
---|
281 | The directory which holds the files whose permissions must be changed.</TD>
|
---|
282 | </TR>
|
---|
283 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
284 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
285 | <CODE> void</CODE></FONT></TD>
|
---|
286 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Chmod.html#setExcludes(java.lang.String)">setExcludes</A></B>(java.lang.String excludes)</CODE>
|
---|
287 |
|
---|
288 | <BR>
|
---|
289 | Sets the set of exclude patterns.</TD>
|
---|
290 | </TR>
|
---|
291 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
292 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
293 | <CODE> void</CODE></FONT></TD>
|
---|
294 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Chmod.html#setExecutable(java.lang.String)">setExecutable</A></B>(java.lang.String e)</CODE>
|
---|
295 |
|
---|
296 | <BR>
|
---|
297 | Set the name of the executable program.</TD>
|
---|
298 | </TR>
|
---|
299 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
300 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
301 | <CODE> void</CODE></FONT></TD>
|
---|
302 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Chmod.html#setFile(java.io.File)">setFile</A></B>(java.io.File src)</CODE>
|
---|
303 |
|
---|
304 | <BR>
|
---|
305 | The file or single directory of which the permissions must be changed.</TD>
|
---|
306 | </TR>
|
---|
307 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
308 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
309 | <CODE> void</CODE></FONT></TD>
|
---|
310 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Chmod.html#setIncludes(java.lang.String)">setIncludes</A></B>(java.lang.String includes)</CODE>
|
---|
311 |
|
---|
312 | <BR>
|
---|
313 | Sets the set of include patterns.</TD>
|
---|
314 | </TR>
|
---|
315 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
316 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
317 | <CODE> void</CODE></FONT></TD>
|
---|
318 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Chmod.html#setPerm(java.lang.String)">setPerm</A></B>(java.lang.String perm)</CODE>
|
---|
319 |
|
---|
320 | <BR>
|
---|
321 | The new permissions.</TD>
|
---|
322 | </TR>
|
---|
323 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
324 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
325 | <CODE> void</CODE></FONT></TD>
|
---|
326 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Chmod.html#setProject(org.apache.tools.ant.Project)">setProject</A></B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> project)</CODE>
|
---|
327 |
|
---|
328 | <BR>
|
---|
329 | Sets the project object of this component.</TD>
|
---|
330 | </TR>
|
---|
331 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
332 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
333 | <CODE> void</CODE></FONT></TD>
|
---|
334 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Chmod.html#setSkipEmptyFilesets(boolean)">setSkipEmptyFilesets</A></B>(boolean skip)</CODE>
|
---|
335 |
|
---|
336 | <BR>
|
---|
337 | Set whether empty filesets will be skipped.</TD>
|
---|
338 | </TR>
|
---|
339 | </TABLE>
|
---|
340 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.taskdefs.ExecuteOn"><!-- --></A>
|
---|
341 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
342 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
343 | <TD><B>Methods inherited from class org.apache.tools.ant.taskdefs.<A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html" title="class in org.apache.tools.ant.taskdefs">ExecuteOn</A></B></TD>
|
---|
344 | </TR>
|
---|
345 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
346 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#add(org.apache.tools.ant.util.FileNameMapper)">add</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#addDirset(org.apache.tools.ant.types.DirSet)">addDirset</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#addFilelist(org.apache.tools.ant.types.FileList)">addFilelist</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#addFileset(org.apache.tools.ant.types.FileSet)">addFileset</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#createHandler()">createHandler</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#createMapper()">createMapper</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#createSrcfile()">createSrcfile</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#createTargetfile()">createTargetfile</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#getCommandline(java.lang.String[], java.io.File[])">getCommandline</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#getCommandline(java.lang.String, java.io.File)">getCommandline</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#getDirs(java.io.File, org.apache.tools.ant.DirectoryScanner)">getDirs</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#getFiles(java.io.File, org.apache.tools.ant.DirectoryScanner)">getFiles</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#getFilesAndDirs(org.apache.tools.ant.types.FileList)">getFilesAndDirs</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#runExec(org.apache.tools.ant.taskdefs.Execute)">runExec</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#runParallel(org.apache.tools.ant.taskdefs.Execute, java.util.Vector, java.util.Vector)">runParallel</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#setDest(java.io.File)">setDest</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#setForce(boolean)">setForce</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#setForwardslash(boolean)">setForwardslash</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#setIgnoremissing(boolean)">setIgnoremissing</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#setMaxParallel(int)">setMaxParallel</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#setParallel(boolean)">setParallel</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#setRelative(boolean)">setRelative</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#setType(org.apache.tools.ant.taskdefs.ExecuteOn.FileDirBoth)">setType</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#setupRedirector()">setupRedirector</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#setVerbose(boolean)">setVerbose</A></CODE></TD>
|
---|
347 | </TR>
|
---|
348 | </TABLE>
|
---|
349 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.taskdefs.ExecTask"><!-- --></A>
|
---|
350 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
351 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
352 | <TD><B>Methods inherited from class org.apache.tools.ant.taskdefs.<A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html" title="class in org.apache.tools.ant.taskdefs">ExecTask</A></B></TD>
|
---|
353 | </TR>
|
---|
354 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
355 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#addConfiguredRedirector(org.apache.tools.ant.types.RedirectorElement)">addConfiguredRedirector</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#addEnv(org.apache.tools.ant.types.Environment.Variable)">addEnv</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#createArg()">createArg</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#createWatchdog()">createWatchdog</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#getResolveExecutable()">getResolveExecutable</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#logFlush()">logFlush</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#maybeSetResultPropertyValue(int)">maybeSetResultPropertyValue</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#prepareExec()">prepareExec</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#resolveExecutable(java.lang.String, boolean)">resolveExecutable</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#runExecute(org.apache.tools.ant.taskdefs.Execute)">runExecute</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#setAppend(boolean)">setAppend</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#setError(java.io.File)">setError</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#setErrorProperty(java.lang.String)">setErrorProperty</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#setFailIfExecutionFails(boolean)">setFailIfExecutionFails</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#setFailonerror(boolean)">setFailonerror</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#setInput(java.io.File)">setInput</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#setInputString(java.lang.String)">setInputString</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#setLogError(boolean)">setLogError</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#setNewenvironment(boolean)">setNewenvironment</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#setOs(java.lang.String)">setOs</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#setOutput(java.io.File)">setOutput</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#setOutputproperty(java.lang.String)">setOutputproperty</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#setResolveExecutable(boolean)">setResolveExecutable</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#setResultProperty(java.lang.String)">setResultProperty</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#setSearchPath(boolean)">setSearchPath</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#setSpawn(boolean)">setSpawn</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#setTimeout(java.lang.Integer)">setTimeout</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#setTimeout(java.lang.Long)">setTimeout</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#setVMLauncher(boolean)">setVMLauncher</A></CODE></TD>
|
---|
356 | </TR>
|
---|
357 | </TABLE>
|
---|
358 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
359 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
360 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
361 | <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>
|
---|
362 | </TR>
|
---|
363 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
364 | <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>
|
---|
365 | </TR>
|
---|
366 | </TABLE>
|
---|
367 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
368 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
369 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
370 | <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>
|
---|
371 | </TR>
|
---|
372 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
373 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#getProject()">getProject</A></CODE></TD>
|
---|
374 | </TR>
|
---|
375 | </TABLE>
|
---|
376 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
377 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
378 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
379 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
380 | </TR>
|
---|
381 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
382 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
383 | </TR>
|
---|
384 | </TABLE>
|
---|
385 |
|
---|
386 | <P>
|
---|
387 |
|
---|
388 | <!-- ============ FIELD DETAIL =========== -->
|
---|
389 |
|
---|
390 |
|
---|
391 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
392 |
|
---|
393 | <A NAME="constructor_detail"><!-- --></A>
|
---|
394 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
395 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
396 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
397 | <B>Constructor Detail</B></FONT></TD>
|
---|
398 | </TR>
|
---|
399 | </TABLE>
|
---|
400 |
|
---|
401 | <A NAME="Chmod()"><!-- --></A><H3>
|
---|
402 | Chmod</H3>
|
---|
403 | <PRE>
|
---|
404 | public <B>Chmod</B>()</PRE>
|
---|
405 | <DL>
|
---|
406 | <DD>Chmod task for setting file and directory permissions.
|
---|
407 | <P>
|
---|
408 | </DL>
|
---|
409 |
|
---|
410 | <!-- ============ METHOD DETAIL ========== -->
|
---|
411 |
|
---|
412 | <A NAME="method_detail"><!-- --></A>
|
---|
413 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
414 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
415 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
416 | <B>Method Detail</B></FONT></TD>
|
---|
417 | </TR>
|
---|
418 | </TABLE>
|
---|
419 |
|
---|
420 | <A NAME="setProject(org.apache.tools.ant.Project)"><!-- --></A><H3>
|
---|
421 | setProject</H3>
|
---|
422 | <PRE>
|
---|
423 | public void <B>setProject</B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> project)</PRE>
|
---|
424 | <DL>
|
---|
425 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></CODE></B></DD>
|
---|
426 | <DD>Sets the project object of this component. This method is used by
|
---|
427 | Project when a component is added to it so that the component has
|
---|
428 | access to the functions of the project. It should not be used
|
---|
429 | for any other purpose.
|
---|
430 | <P>
|
---|
431 | <DD><DL>
|
---|
432 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#setProject(org.apache.tools.ant.Project)">setProject</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></CODE></DL>
|
---|
433 | </DD>
|
---|
434 | <DD><DL>
|
---|
435 | <DT><B>Parameters:</B><DD><CODE>project</CODE> - Project in whose scope this component belongs.
|
---|
436 | Must not be <code>null</code>.<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#setProject(org.apache.tools.ant.Project)"><CODE>ProjectComponent.setProject(org.apache.tools.ant.Project)</CODE></A></DL>
|
---|
437 | </DD>
|
---|
438 | </DL>
|
---|
439 | <HR>
|
---|
440 |
|
---|
441 | <A NAME="setFile(java.io.File)"><!-- --></A><H3>
|
---|
442 | setFile</H3>
|
---|
443 | <PRE>
|
---|
444 | public void <B>setFile</B>(java.io.File src)</PRE>
|
---|
445 | <DL>
|
---|
446 | <DD>The file or single directory of which the permissions must be changed.
|
---|
447 | <P>
|
---|
448 | <DD><DL>
|
---|
449 | <DT><B>Parameters:</B><DD><CODE>src</CODE> - </DL>
|
---|
450 | </DD>
|
---|
451 | </DL>
|
---|
452 | <HR>
|
---|
453 |
|
---|
454 | <A NAME="setDir(java.io.File)"><!-- --></A><H3>
|
---|
455 | setDir</H3>
|
---|
456 | <PRE>
|
---|
457 | public void <B>setDir</B>(java.io.File src)</PRE>
|
---|
458 | <DL>
|
---|
459 | <DD>The directory which holds the files whose permissions must be changed.
|
---|
460 | <P>
|
---|
461 | <DD><DL>
|
---|
462 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#setDir(java.io.File)">setDir</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html" title="class in org.apache.tools.ant.taskdefs">ExecTask</A></CODE></DL>
|
---|
463 | </DD>
|
---|
464 | <DD><DL>
|
---|
465 | <DT><B>Parameters:</B><DD><CODE>src</CODE> - </DL>
|
---|
466 | </DD>
|
---|
467 | </DL>
|
---|
468 | <HR>
|
---|
469 |
|
---|
470 | <A NAME="setPerm(java.lang.String)"><!-- --></A><H3>
|
---|
471 | setPerm</H3>
|
---|
472 | <PRE>
|
---|
473 | public void <B>setPerm</B>(java.lang.String perm)</PRE>
|
---|
474 | <DL>
|
---|
475 | <DD>The new permissions.
|
---|
476 | <P>
|
---|
477 | <DD><DL>
|
---|
478 | <DT><B>Parameters:</B><DD><CODE>perm</CODE> - </DL>
|
---|
479 | </DD>
|
---|
480 | </DL>
|
---|
481 | <HR>
|
---|
482 |
|
---|
483 | <A NAME="createInclude()"><!-- --></A><H3>
|
---|
484 | createInclude</H3>
|
---|
485 | <PRE>
|
---|
486 | public <A HREF="../../../../../org/apache/tools/ant/types/PatternSet.NameEntry.html" title="class in org.apache.tools.ant.types">PatternSet.NameEntry</A> <B>createInclude</B>()</PRE>
|
---|
487 | <DL>
|
---|
488 | <DD>Add a name entry on the include list.
|
---|
489 | <P>
|
---|
490 | <DD><DL>
|
---|
491 | </DL>
|
---|
492 | </DD>
|
---|
493 | </DL>
|
---|
494 | <HR>
|
---|
495 |
|
---|
496 | <A NAME="createExclude()"><!-- --></A><H3>
|
---|
497 | createExclude</H3>
|
---|
498 | <PRE>
|
---|
499 | public <A HREF="../../../../../org/apache/tools/ant/types/PatternSet.NameEntry.html" title="class in org.apache.tools.ant.types">PatternSet.NameEntry</A> <B>createExclude</B>()</PRE>
|
---|
500 | <DL>
|
---|
501 | <DD>Add a name entry on the exclude list.
|
---|
502 | <P>
|
---|
503 | <DD><DL>
|
---|
504 | </DL>
|
---|
505 | </DD>
|
---|
506 | </DL>
|
---|
507 | <HR>
|
---|
508 |
|
---|
509 | <A NAME="createPatternSet()"><!-- --></A><H3>
|
---|
510 | createPatternSet</H3>
|
---|
511 | <PRE>
|
---|
512 | public <A HREF="../../../../../org/apache/tools/ant/types/PatternSet.html" title="class in org.apache.tools.ant.types">PatternSet</A> <B>createPatternSet</B>()</PRE>
|
---|
513 | <DL>
|
---|
514 | <DD>Add a set of patterns.
|
---|
515 | <P>
|
---|
516 | <DD><DL>
|
---|
517 | </DL>
|
---|
518 | </DD>
|
---|
519 | </DL>
|
---|
520 | <HR>
|
---|
521 |
|
---|
522 | <A NAME="setIncludes(java.lang.String)"><!-- --></A><H3>
|
---|
523 | setIncludes</H3>
|
---|
524 | <PRE>
|
---|
525 | public void <B>setIncludes</B>(java.lang.String includes)</PRE>
|
---|
526 | <DL>
|
---|
527 | <DD>Sets the set of include patterns. Patterns may be separated by a comma
|
---|
528 | or a space.
|
---|
529 | <P>
|
---|
530 | <DD><DL>
|
---|
531 | <DT><B>Parameters:</B><DD><CODE>includes</CODE> - the string containing the include patterns</DL>
|
---|
532 | </DD>
|
---|
533 | </DL>
|
---|
534 | <HR>
|
---|
535 |
|
---|
536 | <A NAME="setExcludes(java.lang.String)"><!-- --></A><H3>
|
---|
537 | setExcludes</H3>
|
---|
538 | <PRE>
|
---|
539 | public void <B>setExcludes</B>(java.lang.String excludes)</PRE>
|
---|
540 | <DL>
|
---|
541 | <DD>Sets the set of exclude patterns. Patterns may be separated by a comma
|
---|
542 | or a space.
|
---|
543 | <P>
|
---|
544 | <DD><DL>
|
---|
545 | <DT><B>Parameters:</B><DD><CODE>excludes</CODE> - the string containing the exclude patterns</DL>
|
---|
546 | </DD>
|
---|
547 | </DL>
|
---|
548 | <HR>
|
---|
549 |
|
---|
550 | <A NAME="setDefaultexcludes(boolean)"><!-- --></A><H3>
|
---|
551 | setDefaultexcludes</H3>
|
---|
552 | <PRE>
|
---|
553 | public void <B>setDefaultexcludes</B>(boolean useDefaultExcludes)</PRE>
|
---|
554 | <DL>
|
---|
555 | <DD>Sets whether default exclusions should be used or not.
|
---|
556 | <P>
|
---|
557 | <DD><DL>
|
---|
558 | <DT><B>Parameters:</B><DD><CODE>useDefaultExcludes</CODE> - "true"|"on"|"yes" when default exclusions
|
---|
559 | should be used, "false"|"off"|"no" when they
|
---|
560 | shouldn't be used.</DL>
|
---|
561 | </DD>
|
---|
562 | </DL>
|
---|
563 | <HR>
|
---|
564 |
|
---|
565 | <A NAME="checkConfiguration()"><!-- --></A><H3>
|
---|
566 | checkConfiguration</H3>
|
---|
567 | <PRE>
|
---|
568 | protected void <B>checkConfiguration</B>()</PRE>
|
---|
569 | <DL>
|
---|
570 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html" title="class in org.apache.tools.ant.taskdefs">ExecuteOn</A></CODE></B></DD>
|
---|
571 | <DD>Check the configuration of this ExecuteOn instance.
|
---|
572 | <P>
|
---|
573 | <DD><DL>
|
---|
574 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#checkConfiguration()">checkConfiguration</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html" title="class in org.apache.tools.ant.taskdefs">ExecuteOn</A></CODE></DL>
|
---|
575 | </DD>
|
---|
576 | <DD><DL>
|
---|
577 | </DL>
|
---|
578 | </DD>
|
---|
579 | </DL>
|
---|
580 | <HR>
|
---|
581 |
|
---|
582 | <A NAME="execute()"><!-- --></A><H3>
|
---|
583 | execute</H3>
|
---|
584 | <PRE>
|
---|
585 | public void <B>execute</B>()
|
---|
586 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
587 | <DL>
|
---|
588 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html" title="class in org.apache.tools.ant.taskdefs">ExecTask</A></CODE></B></DD>
|
---|
589 | <DD>Do the work.
|
---|
590 | <P>
|
---|
591 | <DD><DL>
|
---|
592 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#execute()">execute</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html" title="class in org.apache.tools.ant.taskdefs">ExecTask</A></CODE></DL>
|
---|
593 | </DD>
|
---|
594 | <DD><DL>
|
---|
595 |
|
---|
596 | <DT><B>Throws:</B>
|
---|
597 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - in a number of circumstances:
|
---|
598 | <ul>
|
---|
599 | <li>if failIfExecFails is set to true and the process cannot be started</li>
|
---|
600 | <li>the java13command launcher can send build exceptions</li>
|
---|
601 | <li>this list is not exhaustive or limitative</li>
|
---|
602 | </ul></DL>
|
---|
603 | </DD>
|
---|
604 | </DL>
|
---|
605 | <HR>
|
---|
606 |
|
---|
607 | <A NAME="setExecutable(java.lang.String)"><!-- --></A><H3>
|
---|
608 | setExecutable</H3>
|
---|
609 | <PRE>
|
---|
610 | public void <B>setExecutable</B>(java.lang.String e)</PRE>
|
---|
611 | <DL>
|
---|
612 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html" title="class in org.apache.tools.ant.taskdefs">ExecTask</A></CODE></B></DD>
|
---|
613 | <DD>Set the name of the executable program.
|
---|
614 | <P>
|
---|
615 | <DD><DL>
|
---|
616 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#setExecutable(java.lang.String)">setExecutable</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html" title="class in org.apache.tools.ant.taskdefs">ExecTask</A></CODE></DL>
|
---|
617 | </DD>
|
---|
618 | <DD><DL>
|
---|
619 | <DT><B>Parameters:</B><DD><CODE>e</CODE> - the name of the executable program.</DL>
|
---|
620 | </DD>
|
---|
621 | </DL>
|
---|
622 | <HR>
|
---|
623 |
|
---|
624 | <A NAME="setCommand(org.apache.tools.ant.types.Commandline)"><!-- --></A><H3>
|
---|
625 | setCommand</H3>
|
---|
626 | <PRE>
|
---|
627 | public void <B>setCommand</B>(<A HREF="../../../../../org/apache/tools/ant/types/Commandline.html" title="class in org.apache.tools.ant.types">Commandline</A> cmdl)</PRE>
|
---|
628 | <DL>
|
---|
629 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html" title="class in org.apache.tools.ant.taskdefs">ExecTask</A></CODE></B></DD>
|
---|
630 | <DD>Sets a command line.
|
---|
631 | <P>
|
---|
632 | <DD><DL>
|
---|
633 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#setCommand(org.apache.tools.ant.types.Commandline)">setCommand</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html" title="class in org.apache.tools.ant.taskdefs">ExecTask</A></CODE></DL>
|
---|
634 | </DD>
|
---|
635 | <DD><DL>
|
---|
636 | <DT><B>Parameters:</B><DD><CODE>cmdl</CODE> - command line.</DL>
|
---|
637 | </DD>
|
---|
638 | </DL>
|
---|
639 | <HR>
|
---|
640 |
|
---|
641 | <A NAME="setSkipEmptyFilesets(boolean)"><!-- --></A><H3>
|
---|
642 | setSkipEmptyFilesets</H3>
|
---|
643 | <PRE>
|
---|
644 | public void <B>setSkipEmptyFilesets</B>(boolean skip)</PRE>
|
---|
645 | <DL>
|
---|
646 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html" title="class in org.apache.tools.ant.taskdefs">ExecuteOn</A></CODE></B></DD>
|
---|
647 | <DD>Set whether empty filesets will be skipped. If true and
|
---|
648 | no source files have been found or are newer than their
|
---|
649 | corresponding target files, the command will not be run.
|
---|
650 | <P>
|
---|
651 | <DD><DL>
|
---|
652 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#setSkipEmptyFilesets(boolean)">setSkipEmptyFilesets</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html" title="class in org.apache.tools.ant.taskdefs">ExecuteOn</A></CODE></DL>
|
---|
653 | </DD>
|
---|
654 | <DD><DL>
|
---|
655 | <DT><B>Parameters:</B><DD><CODE>skip</CODE> - whether to skip empty filesets.</DL>
|
---|
656 | </DD>
|
---|
657 | </DL>
|
---|
658 | <HR>
|
---|
659 |
|
---|
660 | <A NAME="setAddsourcefile(boolean)"><!-- --></A><H3>
|
---|
661 | setAddsourcefile</H3>
|
---|
662 | <PRE>
|
---|
663 | public void <B>setAddsourcefile</B>(boolean b)</PRE>
|
---|
664 | <DL>
|
---|
665 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html" title="class in org.apache.tools.ant.taskdefs">ExecuteOn</A></CODE></B></DD>
|
---|
666 | <DD>Set whether to send the source file name on the command line.
|
---|
667 |
|
---|
668 | <p>Defaults to <code>true</code>.
|
---|
669 | <P>
|
---|
670 | <DD><DL>
|
---|
671 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html#setAddsourcefile(boolean)">setAddsourcefile</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecuteOn.html" title="class in org.apache.tools.ant.taskdefs">ExecuteOn</A></CODE></DL>
|
---|
672 | </DD>
|
---|
673 | <DD><DL>
|
---|
674 | <DT><B>Parameters:</B><DD><CODE>b</CODE> - whether to add the source file to the command line.</DL>
|
---|
675 | </DD>
|
---|
676 | </DL>
|
---|
677 | <HR>
|
---|
678 |
|
---|
679 | <A NAME="isValidOs()"><!-- --></A><H3>
|
---|
680 | isValidOs</H3>
|
---|
681 | <PRE>
|
---|
682 | protected boolean <B>isValidOs</B>()</PRE>
|
---|
683 | <DL>
|
---|
684 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html" title="class in org.apache.tools.ant.taskdefs">ExecTask</A></CODE></B></DD>
|
---|
685 | <DD>Is this the OS the user wanted?
|
---|
686 | <P>
|
---|
687 | <DD><DL>
|
---|
688 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html#isValidOs()">isValidOs</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ExecTask.html" title="class in org.apache.tools.ant.taskdefs">ExecTask</A></CODE></DL>
|
---|
689 | </DD>
|
---|
690 | <DD><DL>
|
---|
691 |
|
---|
692 | <DT><B>Returns:</B><DD>boolean.
|
---|
693 | <ul>
|
---|
694 | <li>
|
---|
695 | <code>true</code> if the os under which Ant is running is
|
---|
696 | matches one os in the os attribute
|
---|
697 | or if the os attribute is null</li>
|
---|
698 | <li><code>false</code> otherwise.</li>
|
---|
699 | </ul></DL>
|
---|
700 | </DD>
|
---|
701 | </DL>
|
---|
702 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
703 | <HR>
|
---|
704 |
|
---|
705 |
|
---|
706 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
707 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
708 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
709 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
710 | <TR>
|
---|
711 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
712 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
713 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
714 | <TR ALIGN="center" VALIGN="top">
|
---|
715 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
716 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
717 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
718 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
719 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
720 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
721 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
722 | </TR>
|
---|
723 | </TABLE>
|
---|
724 | </TD>
|
---|
725 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
726 | </EM>
|
---|
727 | </TD>
|
---|
728 | </TR>
|
---|
729 |
|
---|
730 | <TR>
|
---|
731 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
732 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Checksum.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
733 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Concat.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
734 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
735 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
736 | <A HREF="Chmod.html" target="_top"><B>NO FRAMES</B></A>
|
---|
737 | <SCRIPT type="text/javascript">
|
---|
738 | <!--
|
---|
739 | if(window==top) {
|
---|
740 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
741 | }
|
---|
742 | //-->
|
---|
743 | </SCRIPT>
|
---|
744 | <NOSCRIPT>
|
---|
745 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
746 | </NOSCRIPT>
|
---|
747 |
|
---|
748 | </FONT></TD>
|
---|
749 | </TR>
|
---|
750 | <TR>
|
---|
751 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
752 | SUMMARY: <A HREF="#nested_classes_inherited_from_class_org.apache.tools.ant.taskdefs.ExecuteOn">NESTED</A> | <A HREF="#fields_inherited_from_class_org.apache.tools.ant.taskdefs.ExecuteOn">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
753 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
754 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
755 | </TR>
|
---|
756 | </TABLE>
|
---|
757 | <A NAME="skip-navbar_bottom"></A>
|
---|
758 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
759 |
|
---|
760 | <HR>
|
---|
761 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
762 | </BODY>
|
---|
763 | </HTML>
|
---|