Please note, that there are two levels of execution here.
Please note, that there are two levels of execution here: Ant calls cmd.exe. Cmd. Exe executes DIRSS.
You see, if the the second step fails, this does not necessarily mean, that cmd. Exe does propagate the error back to Ant. This might be more obvious if the mentally replace the well-known cmd.
Exe with something "innocent" like foo.exe. So the next step is to explore, why the second step behaves differently on your machine than on the machines of the commentators of your question. After that riddle is solved, you can get back to the Ant question.
A first step might be this: Open a new shell window and try > cmd /c dir > echo %ERRORLEVEL% > cmd /c dir nonexisting-directory > echo %ERRORLEVEL% > cmd /c dirr > echo %ERRORLEVEL% Also tell us the version of your OS.
I have never seen something failing like this. I mean it should fail on all - or none windows machines unless some magic is being done. – FailedDev Oct 31 at 11:26 @FailedDev: In the end the "magic part" turns out to be a dirr.
Exe somewhere in the path :-) I would ROTFL. – A.H. Oct 31 at 11:53 +1 if this is the reason. :) I will observe this question closely.
I am using ant like nuts but have yet to see such an error! – FailedDev Oct 31 at 11:58.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.