On Fri, 10 Aug 2001 02:11, [EMAIL PROTECTED] wrote: > During the build of the beta1 I found a problem with > the new ant.bat. > > The classpath I use for building contains directory names > with spaces which are enclosed by quotes > (like in CLASSPATH=dir_a;"dir b";dir_c) > > The ant.bat encloses the LOCALCLASSPATH in quotes, too, > which leads to a java command to execute Ant like: > java -classpath "...\ant.jar;dir_a"dir b";dir_c" -D... > which is interpreted by java to execute the class b";dir_c" > with the classpath "...\ant.jar;dir_a"dir. > > As this worked in 1.3 I reverted some changes, > The diff file is attached. The space/quote handling > seems to be quite tricky, so I hope this > doesn't break other cases.
I think it is nastyness between different shells. You wouldn't happen to be on win98 rather than NT would you? Cheers, Pete *-----------------------------------------------------* | "Faced with the choice between changing one's mind, | | and proving that there is no need to do so - almost | | everyone gets busy on the proof." | | - John Kenneth Galbraith | *-----------------------------------------------------*
