Perforce Class

Summary

Static helper class for Perforce tasks.
Assembly
NAnt.Contrib.dll
Namespace
NAnt.Contrib.Tasks.Perforce
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["Perforce"] class Type type-node

Syntax

public class Perforce

Methods

Name Value Summary
CreateClient(string, string, string, string) void
Create a new Client
static
CreateLabel(string, string, string) void
Create a new label
static
GetChangelistNumber(string, string, string) string
Get a changelist number based on on its name
static
GetChangelistNumber(string, string, string, bool) string
Get a changelist number based on on its name
static
GetClient() string
ask p4 for the client name
static
GetP4Info(string[]) string[]
call the p4 process to
static
getProcessOutput(string, string, string) string
Execute a process and return its ourput
static
GetUserName() string
ask p4 for the user name
static
RunProcess(string, string, string) int
Execute a process by name
static
RunProcess(string, string, string, string) int
Execute a process and return its ourput
static
SetVariable(string, string) void
static