cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jackylv
Level 4

why my command line build return 4862

Hi all,

I used command line to build my project (build.exe myproject.iap_xml) in a batch file.

in the batch file, I wrote the following:

build.exe myproject.iap_xml
ECHO.%ERRORLEVEL%

finally, it prints the ERRORLEVEL value is "4862".
in the cmd window, I saw the last line of the IA build saying "EXITING:0".

I need this ERRORLEVEL value to identy whether the build is successful or not, I check from the help file, 4862 is not list in the table and since IA build saying that "EXITING:0", I thought that the ERRORLEVEL value should be "0".

do I do anything wrong here? thanks?
Labels (1)
0 Kudos
(2) Replies
pv7721
Level 20

On what type of Windows does this happen? If you launch build.exe yourproject.iap_xml in the command line, does it work?
0 Kudos
jackylv
Level 4

Hi, it is run on Windows XP SP2.

I had tried to run it in command line, it work and the final line of the result is "EXITING:0", and I see this line in the result of my batch file run.


pv7721 wrote:
On what type of Windows does this happen? If you launch build.exe yourproject.iap_xml in the command line, does it work?
0 Kudos