FileDocCategorySizeDatePackage
P4Reopen.javaAPI DocApache Ant 1.702079Wed Dec 13 06:16:24 GMT 2006org.apache.tools.ant.taskdefs.optional.perforce

P4Reopen

public class P4Reopen extends P4Base
Reopen Perforce checkout files between changelists.
ant.task
category="scm"

Fields Summary
private String
toChange
Constructors Summary
Methods Summary
public voidexecute()
do the work

throws
BuildException if P4View is null

        if (P4View == null) {
            throw new BuildException("No view specified to reopen");
        }
        execP4Command("-s reopen -c " + toChange + " " + P4View, new SimpleP4OutputHandler(this));
    
public voidsetToChange(java.lang.String toChange)
The changelist to move files to; required.

param
toChange new change list number
throws
BuildException if the change parameter is null or empty


                                
          
        if (toChange == null || toChange.equals("")) {
            throw new BuildException("P4Reopen: tochange cannot be null or empty");
        }

        this.toChange = toChange;