Checkout files for deletion.
Example Usage:
<p4delete change="${p4.change}" view="//depot/project/foo.txt" />
Simple re-write of P4Edit changing 'edit' to 'delete'.
todo
What to do if file is already open in one of our changelists perhaps
(See also {@link P4Edit P4Edit})?
ant.task
category="scm"
Fields Summary
public String
change
number of the change list to work on
Constructors Summary
Methods Summary
public void
execute()
executes the p4 delete task
throws
BuildException if there is no view specified
if (change != null) {
P4CmdOpts = "-c " + change;
}
if (P4View == null) {
throw new BuildException("No view specified to delete");
}
execP4Command("-s delete " + P4CmdOpts + " " + P4View, new SimpleP4OutputHandler(this));