org.apache.tools.ant.taskdefs.optional.perforce

Class P4Delete

public class P4Delete extends P4Base

Checkout files for deletion. Example Usage:
<p4delete change="${p4.change}" view="//depot/project/foo.txt" />
Simple re-write of P4Edit changing 'edit' to 'delete'.

UNKNOWN: What to do if file is already open in one of our changelists perhaps (See also P4Edit)?
category="scm"

Field Summary
Stringchange
number of the change list to work on
Method Summary
voidexecute()
executes the p4 delete task
voidsetChange(String change)
An existing changelist number for the deletion; optional but strongly recommended.

Field Detail

change

public String change
number of the change list to work on

Method Detail

execute

public void execute()
executes the p4 delete task

Throws: BuildException if there is no view specified

setChange

public void setChange(String change)
An existing changelist number for the deletion; optional but strongly recommended.

Parameters: change the number of a change list