I am using NAnt 0.84, (I can't get the latest nightly build to work).
While building with NAnt it seems to be doing well, it says,
"Starting compiler...
Success 0
Uploading output files.."
then I get the exception (see below), Note: sometimes I get 404 not found
error as well.
1.) Why would WebDav be getting called if I am using a webmap to avoid it, I
don't prefer webdav (see build script below) ?
2.) Is the timeout from permissions of some sort ? What is NAnt actually
trying to do by uploading output files, what files and where is it trying to
upload them to ?
Thanks to all in advance with your assistance.
[Exception]
Exception: System.Net.WebException
Message: The operation has timed-out.
Source: System
at System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32
size)
at NAnt.VSNet.WebDavClient.UploadFile(String localFileName, String
remoteFileName)
at NAnt.VSNet.Project.Compile(String configuration, ArrayList
alCSCArguments, String strLogFile, Boolean bVerbose, Boolean bShowCommands)
at NAnt.VSNet.Solution.Compile(String configuration, ArrayList
compilerArguments, String logFile, Boolean verbose, Boolean showCommands)
at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
at NAnt.Core.Task.Execute()
[Core.Project:Build failed. - [] <>]
Exception: System.Net.WebException
Message: The operation has timed-out.
Source: System
at System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32
size)
at NAnt.VSNet.WebDavClient.UploadFile(String localFileName, String
remoteFileName)
at NAnt.VSNet.Project.Compile(String configuration, ArrayList
alCSCArguments, String strLogFile, Boolean bVerbose, Boolean bShowCommands)
at NAnt.VSNet.Solution.Compile(String configuration, ArrayList
compilerArguments, String logFile, Boolean verbose, Boolean showCommands)
at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies)
at NAnt.Core.Project.Execute()
at NAnt.Core.Project.Run()
[Build File]
<?xml version="1.0"?>
<project name="RDSNet Master Build" default="build">
<description>
Builds the core of RDSNET, keying all projects that are identified by
the Master.sln file. External projects will need to be built manually
or by use of another NAnt build script.
</description>
<target name="build" description="compiles the source code">
<echo message=" Building RDSNET ... " />
<solution configuration="debug"
solutionfile="C:\BuildSandBox\Current\Master.sln" verbose="true"/>
<assemblyfolders>
<includes asis="true" name="C:\Program Files\WebSupergoo\ABCpdf3
.NET\Common\ABCpdf.dll" />
</assemblyfolders>
<webmap casesensitive="false">
<map url="http://localhost/Enterprise/Enterprise.csproj"
path="C:\BuildSandBox\Current\Web\Enterprise\Enterprise.csproj" if="true"/>
<map url="http://localhost/InternetBanking/InternetBanking.csproj"
path="C:\BuildSandBox\Current\InternetBanking\InternetBanking.csproj" />
</webmap>
</target>
</project>
[Exception]
Exception: System.Net.WebException
Message: The operation has timed-out.
Source: System
at System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32
size)
at NAnt.VSNet.WebDavClient.UploadFile(String localFileName, String
remoteFileName)
at NAnt.VSNet.Project.Compile(String configuration, ArrayList
alCSCArguments, String strLogFile, Boolean bVerbose, Boolean bShowCommands)
at NAnt.VSNet.Solution.Compile(String configuration, ArrayList
compilerArguments, String logFile, Boolean verbose, Boolean showCommands)
at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
at NAnt.Core.Task.Execute()
[Core.Project:Build failed. - [] <>]
Exception: System.Net.WebException
Message: The operation has timed-out.
Source: System
at System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32
size)
at NAnt.VSNet.WebDavClient.UploadFile(String localFileName, String
remoteFileName)
at NAnt.VSNet.Project.Compile(String configuration, ArrayList
alCSCArguments, String strLogFile, Boolean bVerbose, Boolean bShowCommands)
at NAnt.VSNet.Solution.Compile(String configuration, ArrayList
compilerArguments, String logFile, Boolean verbose, Boolean showCommands)
at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies)
at NAnt.Core.Project.Execute()
at NAnt.Core.Project.Run()
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users