Exit Codes

FinalBuilder IDE and FBCMD uses the following Windows exit codes to indicate the outcome of the build:

Exit Code Description
0 The run completed Successfully
1 An Error occurred in the run. Check the log for the details.
2 Invalid project when auto running project (-r) with "exit when done" (-e).
3 Project file not found.
4 Expected log file to be specified. Caused when redirecting the logfile to a file with the FinalBuilder project file extension.
5 Unable to create the log file. Occurs when the location to write the log file is unable to be written to.
6 Invalid project specified. The file extension of the project file is not what is expected.
7 Project thread exception. A general uncaught error occurred in the project runner. Please report these errors to support.
8 Run aborted. The project run was aborted on the console.
9 Project load error. The project could not be loaded, usually due to merge errors on project files, or invalid project files.
10 Initialisation error. A general uncaught error that occurs during run initialisation please report these to support.
11 Validation errors in project. The validation failures will be reported into the console.
12 Package loading errors. The packages failing to load will be reported into the console.
13 Required package not found. The package not found will be reported into the console.
14 Setting variable error. The variable that can not be set will be reported into the console.
15 Unexpected internal error. An error that was not caught by the general handler, these should never occur. Please report these errors to support.
16 Parameter file missing from command line.
17 Parameter file contains errors. The errors in the file will be reported into the console.
18 Wrong edition in use. (Deprecated)
19 Wrong edition for server. (Deprecated)
20 License key violation. The installed key is not valid for the installed version of FinalBuilder, or does not exist.
21 Project info file is read only. The %fbproject%.info file is readonly. This file needs to be writable for the project to be run.
22 Trail key has expired. A trail key has been detected, and has expired.
23 Empty main target. The main target has no actions to be run.
24 Software assurance has expired. The version of FinalBuilder is newer than the license file allows for.
25 No MSXML installed on the system. COM classes for DOMDocument60 or DOMDocument40 have not been found on the system. Required for XML based projects.
998 FinalBuilder was force terminated following a remote request from another FinalBuilder instance (started using the -of option).
999 The user elected to force terminate FinalBuilder after the running project failed to terminate.

See Also

IDE Command Line Interface | Scheduling builds