You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Lee Breisacher <LB...@seagullsw.com> on 2000/10/13 15:42:28 UTC

ant.bat on Win98?

ant.bat doesn't work for me on Windows 98 because this statement:

for %%i in (%ANT_HOME%\lib\*.jar) do call %ANT_HOME%\bin\lcp.bat %%i

(which builds up the classpath to use to start ant) does not work if
ANT_HOME has any directories with long file names (such as "jakarta-ant").

I fixed this by adding this line to the bat file:

lfnfor on

which is a little-known (well, I didn't know about it until yesterday) DOS
command which tells the "for" command to work with long file names.

Has anyone else seen this problem? Is it a bug? If so, do I need to submit a
bug report? If so, how?

Thanks,

Lee Breisacher