--- Erik Hatcher <[EMAIL PROTECTED]> wrote: > I did this very thing myself and posted it not too long ago and someone > (Conor? Stefan?) replied and told me that it was not compatible with > some versions of DOS that we support. I believe?!
I did a bit more noodling around and found out you don't actually need to capture it into a var, so there's no need to change the ant.bat script afterall -- you can just test on errorlevel itself. So, for the guy doing it from a Makefile, you just need to have a little batch file that has: @echo off ant && if errorlevel 1 echo bad bongos and his make target runs that batch file instead -- eg: runant : @runant.bat And people running 'ant' directly from a command prompt can do: C:\> ant && if errorlevel 1 echo bad bongos (Phew! -- are we all done with this now?? ... schlepping through DOSville isn't exactly what I'd call a party :) Diane ===== ([EMAIL PROTECTED]) __________________________________________________ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
