Solution

The user needs to isolate the error and fix the problem. Check the error messages from the build script output to isolate the problem.

Running a ' build configtest ' in the command prompt from the directory that the build script resides will test to check if the reporting environment is setup correctly. The results of running this command are displayed including a message indicating if the environment has been setup correctly (BUILD SUCCESSFUL) or not (BUILD FAILED). The exact error message for failing is also displayed. Should a command not run successfully, then prior to the 'BUILD FAILED' message, an error message report would specify where the issue needs to be fixed. An example of one of these error message reports is as follows:

----Report Start--------------------------

you should investigate the following issues:

no informational issues Error(s),

you MUST fix the following issues:

Error: please set JAVA_HOME=

----Report End----------------------------

In this case, the user has not set an environment variable correctly.