bodewig 2002/07/04 04:36:51
Modified: docs/manual/OptionalTasks Tag: ANT_15_BRANCH pvcstask.html
src/main/org/apache/tools/ant/taskdefs/optional/pvcs Tag:
ANT_15_BRANCH Pvcs.java
Log:
Update pcvs documentation.
Submitted by: Steven Newton <[EMAIL PROTECTED]>
Revision Changes Path
No revision
No revision
1.4.2.2 +8 -8 jakarta-ant/docs/manual/OptionalTasks/pvcstask.html
Index: pvcstask.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/manual/OptionalTasks/pvcstask.html,v
retrieving revision 1.4.2.1
retrieving revision 1.4.2.2
diff -u -r1.4.2.1 -r1.4.2.2
--- pvcstask.html 12 Jun 2002 13:46:30 -0000 1.4.2.1
+++ pvcstask.html 4 Jul 2002 11:36:51 -0000 1.4.2.2
@@ -141,18 +141,18 @@
<td valign="TOP">filenameformat</td>
<td valign="TOP">The format of your folder names in a
format suitable for <code>java.text.MessageFormat</code>.
- Index 1 of the format will be used as the file name.
- Defaults to <code>{0}-arc({1})</code>.</td>
+ Defaults to <code>{0}-arc({1})</code>. Repositories where
+ the archive extension is not <code>-arc</code> should set
+ this.</td>
<td valign="TOP">No</td>
</tr>
<tr>
<td valign="TOP">linestart</td>
- <td valign="TOP">What a valid return value from PVCS looks like
- when it describes a file. Defaults to <code>"P:</code>.
- If you are not using an UNC name for your repository and the
- drive letter <code>P</code> is incorrect for your setup, you may
- need to change this value, UNC names will always be
- accepted.</td>
+ <td valign="TOP">Used to parse the output of the pcli
+ command. It defaults to <code>"P:</code>. The parser already
+ knows about / and \\, this property is useful in cases where the
+ repository is accessed on a Windows platform via a drive letter
+ mapping.</td>
<td valign="TOP">No</td>
</tr>
</table>
No revision
No revision
1.14.2.4 +15 -1
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/pvcs/Pvcs.java
Index: Pvcs.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/pvcs/Pvcs.java,v
retrieving revision 1.14.2.3
retrieving revision 1.14.2.4
diff -u -r1.14.2.3 -r1.14.2.4
--- Pvcs.java 24 Jun 2002 02:28:11 -0000 1.14.2.3
+++ Pvcs.java 4 Jul 2002 11:36:51 -0000 1.14.2.4
@@ -101,7 +101,7 @@
*
* @author <a href="mailto:[EMAIL PROTECTED]">Thomas Christensen</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Don Jeffery</a>
- * @author <a href="[EMAIL PROTECTED]">Steven E. Newton</a>
+ * @author <a href="mailto:[EMAIL PROTECTED]">Steven E. Newton</a>
*/
public class Pvcs extends org.apache.tools.ant.Task {
private String pvcsbin;
@@ -390,6 +390,12 @@
return repository;
}
+ /**
+ * The filenameFormat attribute defines a MessageFormat string used
+ * to parse the output of the pcli command. It defaults to
+ * <code>{0}-arc({1})</code>. Repositories where the archive
+ * extension is not -arc should set this.
+ */
public String getFilenameFormat() {
return filenameFormat;
}
@@ -405,6 +411,14 @@
filenameFormat = f;
}
+ /**
+
+ * The lineStart attribute is used to parse the output of the pcli
+ * command. It defaults to <code>"P:</code>. The parser already
+ * knows about / and \\, this property is useful in cases where the
+ * repository is accessed on a Windows platform via a drive letter
+ * mapping.
+ */
public String getLineStart() {
return lineStart;
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>