Taking a peek at the Exec.java code, you need to use os="windows nt". �I'd
try using -verbose messaging to see what is happening at that point in the
build.
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 [EMAIL PROTECTED]
To: � � � �ant <[EMAIL PROTECTED]>
cc:
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
-I-Y"/>
It seems to run very quickly and do nothing.
Do you know what I may have wrong?
Thanks.
---------------------------------------------------------------------------
Stuart Barlow
+44 131 468 8205