org.apache.tools.ant.taskdefs.optional.perforce
Class P4Edit
Open file(s) for edit.
P4Change should be used to obtain a new changelist for P4Edit as,
although P4Edit can open files to the default change,
P4Submit cannot yet submit to it.
Example Usage:
<p4edit change="${p4.change}" view="//depot/project/foo.txt" />
- Should call reopen if file is already open in one of our changelists perhaps?
String | change- number of the change list to work on
|
void | execute()- Run the p4 edit command
|
void | setChange(String change)- An existing changelist number to assign files to; optional
but strongly recommended.
|
execP4Command, execP4Command, getErrorMessage, getInError, init, setClient, setCmdopts, setErrorMessage, setFailonerror, setGlobalopts, setInError, setPort, setUser, setView |
execute, getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
change
public String change
number of the change list to work on
setChange
public void setChange(String change)
An existing changelist number to assign files to; optional
but strongly recommended.
change - the change list number
Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.