|
|
@@ -8,8 +8,8 @@ |
|
|
|
<body> |
|
|
|
|
|
|
|
<h2><a name="apply">Apply/<i>ExecOn</i></a></h2> |
|
|
|
<p><i>The name execon is deprecated and only kept for backwards |
|
|
|
compatibilty.</i></p> |
|
|
|
<p><i>The name <code>execon</code> is deprecated and only kept for backwards |
|
|
|
compatibility.</i></p> |
|
|
|
<h3>Description</h3> |
|
|
|
<p>Executes a system command. When the <i>os</i> attribute is specified, then |
|
|
|
the command is only executed when Ant is run on one of the specified operating |
|
|
@@ -18,11 +18,11 @@ systems.</p> |
|
|
|
href="../CoreTypes/fileset.html">FileSet</a>s are passed as arguments |
|
|
|
to the system command.</p> |
|
|
|
<p>If you specify a nested <a |
|
|
|
href="../CoreTypes/mapper.html">mapper</a> and the destdir attribute, |
|
|
|
href="../CoreTypes/mapper.html">mapper</a> and the <i>dest</i> attribute, |
|
|
|
the timestamp of each source file is compared to the timestamp of a |
|
|
|
target file which is defined by the nested mapper element and searched |
|
|
|
for in the given destdir.</p> |
|
|
|
<p>At least one fileset is required, you must not specify more than |
|
|
|
for in the given dest.</p> |
|
|
|
<p>At least one fileset is required, and you must not specify more than |
|
|
|
one mapper.</p> |
|
|
|
<h3>Parameters</h3> |
|
|
|
<table border="1" cellpadding="2" cellspacing="0"> |
|
|
@@ -54,7 +54,7 @@ one mapper.</p> |
|
|
|
<td valign="top">whether the filenames should be passed on the |
|
|
|
command line as absolute or relative pathnames (relative to the |
|
|
|
base directory of the corresponding fileset for source files or |
|
|
|
the dest attribute for target files).</td> |
|
|
|
the <i>dest</i> attribute for target files).</td> |
|
|
|
<td align="center" valign="top">No, default is <i>false</i></td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
@@ -146,7 +146,7 @@ use a nested <code><srcfile></code> element between your |
|
|
|
<code><srcfile></code> and marks the position of the target |
|
|
|
filename on the command line. If omitted, the target filenames will |
|
|
|
not be added to the command line at all. This element can only be |
|
|
|
specified, if you also define a nested mapper and the destdir |
|
|
|
specified, if you also define a nested mapper and the <i>dest</i> |
|
|
|
attribute.</p> |
|
|
|
<h4>env</h4> |
|
|
|
<p>It is possible to specify environment variables to pass to the |
|
|
|