Name
p4sync
Synopsis
Synchronizes a workspace with the Perforce depot.
Attributes
-
client
(1.3, 1.4, String, N) Specifies the
p4 -c
option. Defaults to the value of thep4.client
property, if set.-
force
(1.3, 1.4, String, N) If set to a nonempty string, set the
-f
Perforce flag. Forces a refresh of files.[55]-
label
(1.3, 1.4, String, N) If set, the task synchronizes a workspace with files from a Perforce depot using the specified label.
-
port
(1.3, 1.4, String, N) Specifies the
p4 -p
option. Defaults to the value of thep4.port
property, if set.-
user
(1.3, 1.4, String, N) Specifies the
p4 -u
option. Defaults to the value of thep4.user
property, if set.-
view
(1.3, 1.4, String, N) The client, branch, or label view this command operates on.
Content
None.
[55] A Boolean attribute makes more sense in this case. Ant optional tasks are not as consistent as the core tasks.
Get Ant: The Definitive Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.