Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.4
-
Fix Version/s: 2.0.8
-
Component/s: Command Line
-
Labels:None
-
Environment:Windows XP & 4NT 8.0
-
Complexity:Intermediate
-
Number of attachments :
Description
Copied from the 4NT 8.0 Documentation:
======================================================================================
"Detecting 4NT or Take Command
From a batch file, you can determine if 4NT or TC is loaded by testing for the variable function @EVAL, with a test like this:
if "%@eval[2 + 2]%" == "4" echo %_cmdproc is loaded!
This test can never succeed in CMD.EXE. (Other variable functions could also be used for the same purpose.) The _CMDPROC internal variable tells you which specific command processor is running.
=======================================================================================
The mvn.bat in 2.0.4 contains:
@REM – 4NT shell
if "%eval[2+2]" == "4" goto 4NTArgs
It should be:
@REM – 4NT shell
if "%@eval[2+2]" == "4" goto 4NTArgs
In case, you don't see it, the first one is missing the @ in between the % and eval
I will attach a patch in a moment.
Attachments
Issue Links
| This issue relates to: | ||||
| MNG-2503 | mvn.bat file is not correct for 4NT 5.0 and does "endlocal" twice if error |
|
|
|
Someone with some Windoze Skilz want to check this.