Bug 3654 - ant.bat support for 4NT fails
Summary: ant.bat support for 4NT fails
Status: RESOLVED FIXED
Alias: None
Product: Ant
Classification: Unclassified
Component: Core (show other bugs)
Version: 1.4
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL:
Keywords:
: 3952 5478 8207 8221 10101 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-09-17 08:34 UTC by Greg Fenton
Modified: 2008-02-22 12:18 UTC (History)
5 users (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Fenton 2001-09-17 08:34:40 UTC
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
Comment 1 Steve Loughran 2001-11-30 13:10:22 UTC
*** Bug 3952 has been marked as a duplicate of this bug. ***
Comment 2 Steve Loughran 2001-11-30 13:13:09 UTC
Fixed in the nightly build.

NB, 4NT 4.00A ran ant even though the test was broken, as it was more 
compatible with CMD.
Comment 3 Magesh Umasankar 2001-12-18 11:56:21 UTC
*** Bug 5478 has been marked as a duplicate of this bug. ***
Comment 4 Conor MacNeill 2002-04-17 14:47:12 UTC
*** Bug 8207 has been marked as a duplicate of this bug. ***
Comment 5 Conor MacNeill 2002-04-17 23:28:33 UTC
*** Bug 8221 has been marked as a duplicate of this bug. ***
Comment 6 Stefan Bodewig 2002-06-21 08:06:50 UTC
*** Bug 10101 has been marked as a duplicate of this bug. ***