ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 50506] Ant Exec task is not failing in windows while running bat file
Date Tue, 21 Dec 2010 19:23:15 GMT

Antoine Levy-Lambert <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Antoine Levy-Lambert <> 2010-12-21 14:23:11 EST
Most likely you should change build.bat to do this

call ant -f build.xml

instead of just

ant -f build.xml

with the keyword call your build.bat will wait until ant.bat has finished and
capture its error level.

If this does not work just right on your version of Windows you can add another
line right after

call ant -f build.xml
exit /B %errorlevel%

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message