|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.Task | +--org.apache.tools.ant.taskdefs.optional.perforce.P4Base | +--org.apache.tools.ant.taskdefs.optional.perforce.P4Change
P4Change - grab a new changelist from Perforce. P4Change creates a new changelist in perforce. P4Change sets the property ${p4.change} with the new changelist number. This should then be passed into p4edit and p4submit.
P4Edit
,
P4Submit
Field Summary | |
protected java.lang.String |
emptyChangeList
|
Fields inherited from class org.apache.tools.ant.taskdefs.optional.perforce.P4Base |
P4Client, P4CmdOpts, P4Opts, P4Port, P4User, P4View, shell, util |
Fields inherited from class org.apache.tools.ant.Task |
description, location, project, target, taskName, taskType, wrapper |
Constructor Summary | |
P4Change()
|
Method Summary | |
void |
execute()
Called by the project to let the task do it's work. |
java.lang.String |
getEmptyChangeList()
|
Methods inherited from class org.apache.tools.ant.taskdefs.optional.perforce.P4Base |
execP4Command, execP4Command, init, setClient, setCmdopts, setPort, setUser, setView |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getProject, getRuntimeConfigurableWrapper, getTaskName, log, log, maybeConfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String emptyChangeList
Constructor Detail |
public P4Change()
Method Detail |
public void execute() throws BuildException
Task
execute
in class Task
org.apache.tools.ant.Task
BuildException
- if someting goes wrong with the buildpublic java.lang.String getEmptyChangeList() throws BuildException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |