ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: exec problems
Date Tue, 20 Jun 2000 18:46:07 GMT

Taking a peek at the code, you need to use os="windows nt".  I'd
try using -verbose messaging to see what is happening at that point in the

BTW, the exec task isn't going to work for Win98 and Win95 becuase it uses
the "cmd" shell, not the "command" shell.  And no, doing a quick patch to
check for 95 and 98 at the end of the myos string isn't going to work,
because command doesn't support the && syntax used to do the initial change
dir and then execute the command.

Glenn McAllister
TID - Software Developer - VisualAge for Java
IBM Toronto Lab, (416) 448-3805
"An approximate answer to the right question is better than the
right answer to the wrong question." - John W. Tukey

Please respond to

To:        ant <>
Subject:        exec problems

I am trying to talk to VSS from ant to get the latest version of our source
using the following command.

<exec os="windows" output="./build.log" dir="./src"
command="\\development\nesc_vss\win32\ss Get $/Jura/current/devel/src -R

It seems to run very quickly and do nothing.
Do you know what I may have wrong?

Stuart Barlow
+44 131 468 8205

View raw message