You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bo...@apache.org on 2002/07/04 13:36:51 UTC
cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/pvcs Pvcs.java
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 <sn...@standard.com>
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:tchristensen@nordija.com">Thomas Christensen</a>
* @author <a href="mailto:donj@apogeenet.com">Don Jeffery</a>
- * @author <a href="snewton@standard.com">Steven E. Newton</a>
+ * @author <a href="mailto:snewton@standard.com">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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/pvcs Pvcs.java
Posted by Stefan Bodewig <bo...@apache.org>.
On Fri, 5 Jul 2002, Diane Holt <ho...@yahoo.com> wrote:
> --- bodewig@apache.org wrote:
>> + command. It defaults to <code>"P:</code>.
> ^^^^^^^^
>
> Is this really meant to be this way, or is it missing its closing
> quote?
This is what I've picked up from the sources, yes.
Stefan
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/pvcs Pvcs.java
Posted by Diane Holt <ho...@yahoo.com>.
--- bodewig@apache.org wrote:
> + command. It defaults to <code>"P:</code>.
^^^^^^^^
Is this really meant to be this way, or is it missing its closing quote?
Diane
=====
(holtdl@yahoo.com)
__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>