org.apache.tools.ant.taskdefs.optional.perforce
public class P4Label extends P4Base
<P4Label name="MyLabel-${TSTAMP}-${DSTAMP}" desc="Auto Build Label" />
UNKNOWN: category="scm"
Field Summary | |
---|---|
protected String | desc |
protected String | lock |
protected String | name |
Method Summary | |
---|---|
void | execute()
do the work |
void | setDesc(String desc)
Label Description; optional |
void | setLock(String lock)
when set to "locked", Perforce will lock the label once created; optional. |
void | setName(String name)
The name of the label; optional, default "AntLabel" |
Throws: BuildException if failonerror has been set to true and Perforce fails
Parameters: desc description of the label
Parameters: lock only admissible value "locked"
Parameters: name the name of the label