ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francis GALIEGUE <...@one2team.com>
Subject Re: Setting Property to a path containing Space
Date Thu, 22 Oct 2009 12:00:43 GMT
On Thu, Oct 22, 2009 at 13:45, Knuplesch, Juergen
<Juergen.Knuplesch@icongmbh.de> wrote:
> Better use only arg  without line. Then you give each argument alone. The syntax is:
> <arg value="/c" />
> <arg value="dir" />
> <arg value="${SpaceVar}" />
>
> But probably you need quotes, because this is read bei windows batch stuff.
>

No you don't. <arg value=""/> ensures that whatever the OS, the value
is one and one argument only. No need to quote, since you use execve()
(under Unix like) or the equivalent in Windows.

-- 

Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
fge@one2team.com
40 avenue Raymond Poincaré
75116 Paris

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


Mime
View raw message