here are the doc changes for the pvcs task that go with the previous patch
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
Index: ./jakarta-ant/docs/manual/OptionalTasks/pvcstask.html
===================================================================
RCS file: /home/cvspublic/jakarta-ant/docs/manual/OptionalTasks/pvcstask.html,v
retrieving revision 1.1
diff -u -r1.1 pvcstask.html
--- ./jakarta-ant/docs/manual/OptionalTasks/pvcstask.html 2001/02/23
05:01:54 1.1
+++ ./jakarta-ant/docs/manual/OptionalTasks/pvcstask.html 2001/04/25
16:20:02
@@ -132,8 +132,35 @@
<td VALIGN=TOP WIDTH="10%">No</td>
</tr>
</table>
+<h3><a name="nested">Nested Elements</a></h3>
<h3>
+pvcsproject element</h3>
+<p><code>pvcs</code> supports a nested <code><pvcsproject></code>
+element, that represents a project within the PVCS repository to extract files
from. By nesting multiple <code><pvcsproject></code> elements under the
<code><pvcs></code> task, multiple projects can be specified.</p>
+
+<h3>
+Parameters</h3>
+
+<table BORDER CELLSPACING=0 CELLPADDING=2 >
+<tr>
+<td VALIGN=TOP WIDTH="12%"><b>Attribute</b></td>
+
+<td VALIGN=TOP WIDTH="78%"><b>Description</b></td>
+
+<td VALIGN=TOP WIDTH="10%"><b>Required</b></td>
+</tr>
+
+<tr>
+<td VALIGN=TOP WIDTH="12%">name</td>
+
+<td VALIGN=TOP WIDTH="78%">The name of the pvcs project</td>
+
+<td VALIGN=TOP WIDTH="10%">Yes</td>
+</tr>
+</table>
+
+<h3>
Examples</h3>
The following set-up extracts the latest version of the files in the pvcs
repository.
@@ -143,7 +170,7 @@
-->
<br> <!--
===================================================================
-->
-<br> <target name="getlastes">
+<br> <target name="getlatest">
<br> < pvcs repository="/mnt/pvcs"
pvcsproject="/myprj"/>
<br> </target></ul>
@@ -163,6 +190,39 @@
BUILD SUCCESSFUL
Total time: 19 seconds</pre>
+
+This next example extracts the latest version of the files in the pvcs
+repository from two projects using nested <pvcsproject> elements.
+<ul> <!--
===================================================================
+-->
+<br> <!-- Get latest from myprj and
myprj2
+-->
+<br> <!--
===================================================================
+-->
+<br> <target name="getlatest2">
+<br> <pvcs repository="/mnt/pvcs">
+<br>
<pvcsproject name="/myprj" />
+<br>
<pvcsproject name="/myprj2" />
+<br> </pvcs>
+<br> </target></ul>
+Now run:
+<p> ant getlatest2
+<p>This will cause the following output to appear:
+<pre> getlatest2:
+ [pvcs] PVCS Version Manager (VMGUI) v6.6.10 (Build
870) for Windows NT/80x86
+ [pvcs] Copyright 1985-2000 MERANT. All rights
reserved.
+ [pvcs] PVCS Version Manager (get) v6.6.10 (Build 870)
for Windows NT/80x86
+ [pvcs] Copyright 1985-2000 MERANT. All rights
reserved.
+ [pvcs] c:\myws\myprj\main.java <-
C:\mypvcs\archives\myprj\main.java-arc
+ [pvcs] rev 1.1
+ [pvcs] c:\myws\myprj\apache\tool.java <-
C:\mypvcs\archives\myprj\apache\tool.java-arc
+ [pvcs] rev 1.5
+ [pvcs] c:\myws\myprj2\apache\tool2.java <-
C:\mypvcs\archives\myprj2\apache\tool2.java-arc
+ [pvcs] rev 1.2
+
+ BUILD SUCCESSFUL
+
+ Total time: 22 seconds</pre>
<pre>
</pre>