|
@@ -23,8 +23,14 @@ preferred over the <i>checkout</i> command, because of speed.</p> |
|
|
<tr> |
|
|
<tr> |
|
|
<td valign="top">command</td> |
|
|
<td valign="top">command</td> |
|
|
<td valign="top">the CVS command to execute.</td> |
|
|
<td valign="top">the CVS command to execute.</td> |
|
|
<td align="center" valign="top">No, default "checkout"</td> |
|
|
|
|
|
|
|
|
<td align="center" valign="top">No, default "checkout".</td> |
|
|
</tr> |
|
|
</tr> |
|
|
|
|
|
<tr> |
|
|
|
|
|
<td valign="top">commpression</td> |
|
|
|
|
|
<td valign="top"><code>true</code>, <code>false</code>, or the number 1-9 (corresponding to possible values for CVS' <code>-z#</code> argument). Any other value is treated as false</td> |
|
|
|
|
|
<td align="center" valign="top">No. Defaults to no compression. if passed <code>true</code>, level 3 compression is assumed.</td> |
|
|
|
|
|
</tr> |
|
|
|
|
|
|
|
|
<tr> |
|
|
<tr> |
|
|
<td valign="top">cvsRoot</td> |
|
|
<td valign="top">cvsRoot</td> |
|
|
<td valign="top">the CVSROOT variable.</td> |
|
|
<td valign="top">the CVSROOT variable.</td> |
|
@@ -107,8 +113,37 @@ repository pointed to by the cvsRoot attribute, and stores the files in "${ |
|
|
<pre> <cvs dest="${ws.dir}" command="update"/></pre> |
|
|
<pre> <cvs dest="${ws.dir}" command="update"/></pre> |
|
|
<p>updates the package/module that has previously been checked out into |
|
|
<p>updates the package/module that has previously been checked out into |
|
|
"${ws.dir}".</p> |
|
|
"${ws.dir}".</p> |
|
|
|
|
|
|
|
|
<pre> <cvs command="-q diff -u -N" output="patch.txt"/></pre> |
|
|
<pre> <cvs command="-q diff -u -N" output="patch.txt"/></pre> |
|
|
<p>silently (-q) creates a file called patch.txt which contains a unified (-u) diff which includes new files added via "cvs add" (-N) and can be used as input to patch.</p> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>silently (-q) creates a file called patch.txt which contains a unified (-u) diff which includes new files added via "cvs add" (-N) and can be used as input to patch. |
|
|
|
|
|
The equivalent, using <commandline> elements, is: |
|
|
|
|
|
</p> |
|
|
|
|
|
<pre> |
|
|
|
|
|
<cvs output="patch"> |
|
|
|
|
|
<commandline> |
|
|
|
|
|
<argument value="-q"/> |
|
|
|
|
|
<argument value="diff"/> |
|
|
|
|
|
<argument value="-u"/> |
|
|
|
|
|
<argument value="-N"/> |
|
|
|
|
|
</commandline> |
|
|
|
|
|
</cvs> |
|
|
|
|
|
</pre> |
|
|
|
|
|
or: |
|
|
|
|
|
<pre> |
|
|
|
|
|
<cvs output="patch"> |
|
|
|
|
|
<commandline> |
|
|
|
|
|
<argument line="-q diff -u -N"/> |
|
|
|
|
|
</commandline> |
|
|
|
|
|
</cvs> |
|
|
|
|
|
</pre> |
|
|
|
|
|
<p> |
|
|
|
|
|
You may include as many <commandline> elements as you like. |
|
|
|
|
|
Each will inherit the <code>failonerror</code>, <code>compression</code>, and other "global" parameters |
|
|
|
|
|
from the <code><cvs></code> element. |
|
|
|
|
|
</p> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<pre> <cvs command="update -A -d"/></pre> |
|
|
<pre> <cvs command="update -A -d"/></pre> |
|
|
<p>Updates from the head of repository ignoring sticky bits (-A) and creating any new directories as necessary (-d).</p> |
|
|
<p>Updates from the head of repository ignoring sticky bits (-A) and creating any new directories as necessary (-d).</p> |
|
|
<p>Note: the text of the command is passed to cvs "as-is" so any cvs options should appear |
|
|
<p>Note: the text of the command is passed to cvs "as-is" so any cvs options should appear |
|
|