diff --git a/docs/P4desc.html b/docs/P4desc.html new file mode 100644 index 000000000..298c510ae --- /dev/null +++ b/docs/P4desc.html @@ -0,0 +1,90 @@ + + +
+ +Handles packages/modules retrieved from a Perforce repository.
+ +Attribute | +Description | +Required | +
localpath | +The local path of the file/directory to + write file(s) to. | +Yes | +
user | +Specifies the user name, overriding the value of $P4USER, + $USER, and $USERNAME in the environment. | +No + |
+
port | +Specifies the server's listen address, overriding the + value of $P4PORT in the environment and the default (perforce:1666). | +No + |
+
version | +The revision number of the file being + extracted. | +No | +
date | +Get files as of this date. Either [yyyy/mm/dd] + or [yyyy/mm/dd:hh:mm:ss]. Note that [yyyy/mm/dd] means [yyyy/mm/dd:00:00:00], + so if you want to include all events on that day refer to + the next day. | +No | +
label | +A label from which to check out files. | +No | +
force | +"[true|false]". Forces + resynchronization even if the client already has the + file, and clobbers writable files. This flag doesn't + affect open files. | +No, default "false" | +
change | +Gets the file(s) as they were when a specified change + number was applied. | +No + |
+
<perforce localpath="//path/to/source/..." + force="true" + change="4513" + />+ +
syncs the files in the source directory that are in the +Perforce repository, as of change number 4513, overwriting any +modified files in the current source tree is needed.
+ +<perforce localpath="//path/to/source/..." />+ +
Syncs with the latest version of the file in the repository.
+ + diff --git a/docs/index.html b/docs/index.html index 1025f6137..657bd62b7 100644 --- a/docs/index.html +++ b/docs/index.html @@ -4382,6 +4382,7 @@ it had been located athtdocs/manual/ChangeLog.txt
.
- * >p4sync dir="src" - * force="no" - * date="2000/04/01" - * time="14:15:29" - * label="labelname" - * revision="#have" - * viewonly="true" - * /> - *- * Where: - * 1. "dir" is mandatory, the rest are optional; - * 2. If you specify time, you have to specify date. - * 2a. If you specify date but not time, midnight is implied. - * 3. You cannot specify more than one of (date, label, revision). - * 4. Any "sync" error is considered a fatal error, and a BuildException is returned. + *
Handles packages/modules retrieved from a Perforce repository.
+ *Attribute | + *Description | + *Required | + *
localpath | + *The local path of the file/directory to + * write file(s) to. | + *Yes | + *
user | + *Specifies the user name, overriding the value of $P4USER, + * $USER, and $USERNAME in the environment. | + *No + * |
+ *
port | + *Specifies the server's listen address, overriding the + * value of $P4PORT in the environment and the default (perforce:1666). | + *No + * |
+ *
version | + *The revision number of the file being + * extracted. | + *No | + *
date | + *Get files as of this date. Either [yyyy/mm/dd] + * or [yyyy/mm/dd:hh:mm:ss]. Note that [yyyy/mm/dd] means [yyyy/mm/dd:00:00:00], + * so if you want to include all events on that day refer to + * the next day. | + *No | + *
label | + *A label from which to check out files. | + *No | + *
force | + *"[true|false]". Forces + * resynchronization even if the client already has the + * file, and clobbers writable files. This flag doesn't + * affect open files. | + *No, default "false" | + *
change | + *Gets the file(s) as they were when a specified change + * number was applied. | + *No + * |
+ *
<perforce localpath="//path/to/source/..." + * force="true" + * change="4513" + * />+ * + *
syncs the files in the source directory that are in the + * Perforce repository, as of change number 4513, overwriting any + * modified files in the current source tree is needed. You cannot + * specify more than one of (date, label, revision).
+ * + *<perforce localpath="//path/to/source/..." />+ * + *
Syncs with the latest version of the file in the repository.
*/ public class P4sync extends Exec { private String p4user;