ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: Ant v1.7 and pathnames with spaces
Date Wed, 14 Feb 2007 15:44:11 GMT
Graham Leggett wrote:
> Hi all,
> 
> I am trying to build an ant build script capable of calling the cl.exe
> compiler from Visual Studio to compile some c++ code.
> 
> When called from the command line, the parameter:
> 
>   -I"c:\Program Files\somewhere\include"
> 
> is resolved correctly.
> 
> From within ant, the parameter:
> 
>   <arg value="-I&quot;c:\Program Files\somewhere\include&quot;" />
> 
> Doesn't work, the quotes get stripped out and cl.exe complains about the
> following unknown file:
> 
>   Files\somewhere\include
> 
> Is the XML &quot; sequence the correct way of specifying quotes, or is
> there some other mechanism that should be used?
> 
> I am trying to determine whether ant v1.7 is broken, or whether I am doing
> something wrong.

do a -verbose run and see what is being passed down

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message