org.apache.tools.ant.taskdefs.optional.perforce
Class P4Submit
Submits a numbered changelist to Perforce.
Note: P4Submit cannot (yet) submit the default changelist.
This shouldn't be a problem with the ANT task as the usual flow is
P4Change to create a new numbered change followed by P4Edit then P4Submit.
Example Usage:-
<p4submit change="${p4.change}" />
String | change - change list number
|
void | execute() - do the work
|
void | setChange(String change) - set the change list number to submit
|
void | setChangeProperty(String changeProperty) - property defining the change number if the change number gets renumbered
|
void | setNeedsResolveProperty(String needsResolveProperty) - property defining the need to resolve the change list
|
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
change list number
setChange
public void setChange(String change)
set the change list number to submit
change
- The changelist number to submit; required.
setChangeProperty
public void setChangeProperty(String changeProperty)
property defining the change number if the change number gets renumbered
changeProperty
- name of a new property to which the change number
will be assigned if it changes
setNeedsResolveProperty
public void setNeedsResolveProperty(String needsResolveProperty)
property defining the need to resolve the change list
needsResolveProperty
- a property which will be set if the change needs resolve
Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.