You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/12/28 23:47:28 UTC

DO NOT REPLY [Bug 13655] - proper retrncode for ant.bat

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=13655>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=13655


phatVee@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #5022 is|0                           |1
           obsolete|                            |
Attachment #7911 is|0                           |1
           obsolete|                            |




------- Additional Comments From phatVee@gmail.com  2004-12-28 23:47 -------
Created an attachment (id=13849)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=13849&action=view)
updated ant.bat with proper errorlevel exit

The other solutions seem overly complicated and set a random variable
"ANT_ERROR".  The proper way to exit a batch file with an error code is to use
exit /b #.  This works in win2k but not sure about 98.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org