ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knuplesch, Juergen" <Juergen.Knuple...@icongmbh.de>
Subject AW: Setting Property to a path containing Space
Date Thu, 22 Oct 2009 14:02:46 GMT
Thanks, thats good to know...

Juergen


-- 
Jürgen Knuplesch                    
-----Ursprüngliche Nachricht-----
Von: Francis GALIEGUE [mailto:fge@one2team.com] 
Gesendet: Donnerstag, 22. Oktober 2009 14:01
An: Ant Users List
Betreff: Re: Setting Property to a path containing Space

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


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


Mime
View raw message