ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: splitting "arg line" into multiple "arg value"s fails? Unable to execute command
Date Mon, 14 Oct 2002 16:37:16 GMT
On Mon, 14 Oct 2002, Ralf Hauser <> wrote:

> when I do
>     <exec executable="${shCmd}">
>        <arg value='-c '/>
>        <arg value='"rm  '/>
>        <arg value='*.??.html'/>
>        <arg value='"'/>
>     </exec>

Are you familar with Runtime.exec and the String[] version of it?  Ant
will generate one String from each <arg value>, while you want to make
it compose a single string from several.  There is no way to do that

I'm sure the real example is a little more difficult, otherwise you
could simply use <delete>.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message