There is a bug in the code for detecting the 4NT environment. The current code is: if "%eval[2+2]" == "4" goto setup4NT However, the code should be: if "%@eval[2+2]" == "4" goto setup4NT This is pointed out in a previous post to the ant-user group: http://www.mail-archive.com/ant-user@jakarta.apache.org/msg06753.html
*** Bug 3952 has been marked as a duplicate of this bug. ***
Fixed in the nightly build. NB, 4NT 4.00A ran ant even though the test was broken, as it was more compatible with CMD.
*** Bug 5478 has been marked as a duplicate of this bug. ***
*** Bug 8207 has been marked as a duplicate of this bug. ***
*** Bug 8221 has been marked as a duplicate of this bug. ***
*** Bug 10101 has been marked as a duplicate of this bug. ***