A.4 Program Exit Codes

Phing is script-safe - means that you can execute Phing and Configure within a automated script context. To check back the success of a Phing call it returns an exit code that can be captured by your calling script. The following list gives you details on the used exit codes and their meaning.

Table A.3: Program Exit Codes

ExitcodeDescription
-2Environment not properly defined
-1Parameter or configuration error occurred
0Successful execution (build succeeded), no errors (there may be warnings)
1Unsuccessful execution (build failed), errors occurred