ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Bug in <exec>/<args>?
Date Thu, 31 Jul 2003 06:36:33 GMT
On Wed, 30 Jul 2003, Matthias P. <> wrote:

> <exec executable="cmd.exe" failonerror="true" vmlauncher="false">
>   <arg line="/c cmdclient -user xxx -pass xxx -host -install
/var/xxx/dimensions7_2 -dbname xxx -dbpass -sqlnet -cmd &quot;CWSD src&quot;"/>
> </exec>

<disclaimer>My knowledge about Windows and cmd.exe is far far far
below your average user's knowledge.</disclaimer>  On a Unix system,
if you invoke the shell with -c the rest after this is supposed to be
a single argument.  This would be something like

<exec executable="cmd.exe" failonerror="true" vmlauncher="false">
  <arg value="/c"/>
  <arg value="cmdclient -user xxx -pass xxx -host -install /var/xxx/dimensions7_2
-dbname xxx -dbpass -sqlnet -cmd &quot;CWSD src&quot;"/>

Note the usage of the value attribute in the second <arg> element.


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

View raw message