ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: [Beta1] Problem with ant.bat
Date Thu, 09 Aug 2001 16:20:17 GMT
On Fri, 10 Aug 2001 02:11, wolf.siberski@tui.de 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               |
*-----------------------------------------------------*

Mime
View raw message