ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Beccio, Paul" <Paul.Bec...@baesystems.com>
Subject <exec> hangs
Date Thu, 05 Jun 2003 17:06:58 GMT
I'm trying to use a exec to run a bat/cmd file that will map a network drive
before copying files over.

Here is the tag
<exec dir="${bin.dir}"  executable="cmd.exe" timeout="100000">
 <arg path="intranet.bat" />
</exec>

my intranet.bat just contains
net use P: \\192.23.111.4\thisDrive

It just seems to hang at:

deploy:
     [exec] Microsoft Windows XP [Version 5.1.2600]
     [exec] (C) Copyright 1985-2001 Microsoft Corp.

It never finishes...

Thanks for your help!

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


Mime
View raw message