Running Nant 0.83 Final, .Net Framework 1.1.

I'm running the <get> task against an aspx page that crawls our site and
returns any aspx compilation errors. This normally takes about 5 minutes to
run.

When using the get task, I get the following error:

[get] Timeout: System.Net.WebException: The operation has timed-out.
   at System.Net.HttpWebRequest.GetResponse()
   at NAnt.Core.Tasks.GetTask.ExecuteTask().

Can someone add a timeout property to the get task? (I looked at the latest
source, and couldn't figure out a way to do so cleanly, since get inherits
from Task, not ExternalProgramBase, and I couldn't find a suitable overload
for GetResponse.)

Currently, I'm using the workaround of:
<exec program="explorer.exe"
commandline="http://localhost/crawler.aspx?out=logfile.txt";
failonerror="false">
<sleep minutes="10" />

Nick Varacalli



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to