ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathew, Alexander" <>
Subject RE: Error calling cmd from ANT with <exec>
Date Tue, 05 Aug 2003 13:47:02 GMT
You might want to use attribute "command" instead of "executable" for
command line arguments

	<exec command="cmd.exe" failonerror="true" vmlauncher="false">


-----Original Message-----
From: Matthias P. [] 
Sent: Wednesday, July 30, 2003 8:28 PM
Subject: Error calling cmd from ANT with <exec>


here is a problem i am having when trying to create a PVCS Dimensions
baseline from ANT using <exec>. The command i am trying works well in the
shell, but not with ant. 

Are there any hints??

Another easier command Create Directory doesnt also run. 

  <target name="pvcs-create-baseline" depends="probe-for-pvcsclient">
    <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 CWSD src"/>

It just returns the same output as when i am calling cmdclient -help (or
doing something wrong). The same task with the -version option instead the
-cmd works!

Does anybody uses ANT to connect to PVCS Dimensions???

I just want to make a Baseline and fetch any item in this baseline!


COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualit├Ątssieger!
3. Arcor - 4. - 5. T-Online - 6. - 7. daybyday - 8. e-Post

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

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

View raw message