diff options
Diffstat (limited to 'docs/manual/tasks/forget.html')
-rw-r--r-- | docs/manual/tasks/forget.html | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/docs/manual/tasks/forget.html b/docs/manual/tasks/forget.html new file mode 100644 index 0000000..59b5d46 --- /dev/null +++ b/docs/manual/tasks/forget.html @@ -0,0 +1,62 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> + <head> + <title>Ant-contrib Tasks: Forget</title> + </head> + + <body> + <h1>Forget</h1> + + <p>The Forget task will execute a set of tasks sequentially as a background + thread. Once the thread is started, control is returned to the calling + target. This is useful in being able to kick off a background server process, + such as a webserver. This allows you to not have to use the <code>parallel</code> + task to start server processes.</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">daemon</td> + <td valign="top">Should the created thread be a daemon thread. That is, + should the ANT program be allowed to exit if the thread is still + running.</td> + <td align="center" valign="top">No. Defaults to true.</td> + </tr> + </table> + + + <h2>Example</h2> + + + The following code + + <pre> + <code> + <forget> + <exec executeable="${env.CATALINA_HOME}/bin/catalina.bat}"> + <arg line="start -security" /> + </exec> + </forget> + + <waitfor maxwait="1" maxwaitunit="minute" + checkevery="100" checkeveryunit="millisecond"> + <http url="http://localhost:8080" /> + </waitfor> + + </code> + </pre> + + Would start the Tomcat webserver as a background process, then waiting + for the server to become available. + + <hr> + <p align="center">Copyright © 2002-2003 Ant-Contrib Project. All + rights Reserved.</p> + + </body> +</html> |