[p4] Trigger question
robert at vaccaperna.co.uk
Wed Aug 22 00:59:30 PDT 2007
The biggest problem with triggers is that the environment they are run as is
different to the env on the command line.
Thus you need to be very careful not to make assumptions:
- is PATH set up?
- what Perforce env parameters are there?
- how good is your error checking (and logging!)
Personally I always look to have an option to print the environment for
debugging purposes, and typically always specify P4PORT/USER/CLIENT as
Logins can also cause problems.
Take it slowly and methodically and you will find out what isn't working.
More information about the perforce-user