Perforce Example Triggers === This project is to show examples of triggers for Perforce. P4NetContentTrigger === This is an example of a change-content trigger - with the following features: * written in C# (Visual Studio 2010 for backwards compatibility) * uses the P4.Net API * shows how to turn on logging of all API calls (useful for debugging) * has a Python test harness Usage -- -p, --port (Default: environment) P4PORT to connect to -u, --user (Default: environment) P4USER to connect as -c, --change Required. Changelist to process -t, --testing (Default: False) Testing mode - if first line of a file contains 'fail' will return error otherwise success. -v, --verbose (Default: False) Makes sure log4net logging is set to Debug level/ -h, --help Install in triggers table: ValidateContent submit-content //depot/... "P4NetContentTrigger.exe -p %serverport% -u p4admin -c %changelist%" Packages Referenced -- * CommandLineParser * log4net