ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias P. <groups.mpat...@gmx.de>
Subject Error calling cmd from ANT with <exec>
Date Wed, 30 Jul 2003 14:57:37 GMT
Hi,

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 s96pi4v1.edc.xxx.com
-install /var/xxx/dimensions7_2 -dbname xxx -dbpass -sqlnet prod.edc.xxx.com
-cmd CWSD src"/>
    </exec>
  </target>

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!

--Matthias

-- 
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. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post


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


Mime
View raw message