Exit Codes

The command-line build tool returns an exit code based upon the results of the build as shown in Tables 18.3 to 18.9.

Table 18.3. Resource-Related Exit Codes
CodeStatus
cancelled1Missing resources; build abort cancelled by preferences

Table 18.9. Other Errors
CodeStatus
-1Other error/unknown error
0No errors; build completed successfully without errors or warnings
666Insufficient rights in directory
799Unknown internal error

Table 18.4. Project File–Related Exit Codes
CodeStatus
101Project load error
102Project copy load error
103Project file not found
104Project file is read-only
199Project file unknown error

Table 18.5. Command Line Options–Related Exit Codes
CodeStatus
200Illegal build flag
201Insufficient build flag

Table 18.6. VM Pack–Related Exit Codes
CodeStatus
300VM Pack replaced
301VM Pack not found
302VM Pack illegal format
399VM Pack unknown error

Table 18.7. File Write Errors
CodeStatus
400File write not found
401File write busy
402File write protected
403File write error
499File write unknown error

Table 18.8. File Read Errors
CodeStatus
500File read not found
501File read busy
502File read protected
503File read error
599File read unknown error

Examples

To build installers for MyProduct project with the previously saved build settings, use the following:

build MyProduct.iap_xml

To build installers for MyProduct project overriding the saved build settings for that project with a build properties file, use the following:

build MyProduct.iap_xml -p Build.properties

To build installers for MyProduct project overriding the build platforms and building for Mac OS X and Linux only (turning all others off), use the following:

build MyProduct.iap_xml +x +l -s -j -w -u

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.20.224.107