Thanks, thats good to know...

Juergen


-- 
Jürgen Knuplesch                    
-----Ursprüngliche Nachricht-----
Von: Francis GALIEGUE [mailto:f...@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.knuple...@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
f...@one2team.com
40 avenue Raymond Poincaré
75116 Paris

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


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

Reply via email to