The quickest solution I know is to use the webmap to map your web solutions to 
physical paths.  This eliminates web dav headaches.  I'm pretty sure it is in the 
build you have.  If not, I know you can get it from anon cvs.

For example:

<solution solutionfile="jdp.net.sln" configuration="debug" 
outputdir="${output.dir}\temp">
    <webmap>
        <map url="http://localhost/TestJDP/TestJDP.csproj"; 
path="c:\inetpub\wwwroot\TestJDP\TestJDP.csproj"/>
        <map url="http://localhost/OaiLicense/OaiLicense.csproj"; 
path="c:\inetpub\wwwroot\OaiLicense\OaiLicense.csproj"/>
    </webmap>
</solution>

-------------------------------------
Tom Cabanski, President
Objective Advantage, Inc.
http://www.oai.cc
Phone: +1-281-348-2517x15
�
________________________________________
From: Bruce Onder [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 28, 2003 10:50 AM
To: [EMAIL PROTECTED]

I am using nant-0.8.3-rc2 on a laptop running Windows XP sp1 and IIS 5.1.
�
I have the following build file:
<?xml version="1.0" ?>
<project name="SRS" default="build" basedir=".">
�� <description>SRS Build File</description>
�� <property name="debug" value="true" />
�� <property name="source.dir" value="\dev\SRSProject\Source"/>
�� <target name="build" description="compiles the source code">
����� <solution configuration="debug" solutionfile="${source.dir}\SRS_Solution.sln"/>
�� </target>
</project>
When I run it, everything builds fine.� However, the build process times out when it 
tries to upload the assemblies to the web site's bin folder:
�
�[solution] Uploading output files
http://localhost/srs/bin//SRS.dll
Total time: 369 seconds.
BUILD FAILED
INTERNAL ERROR
System.Net.WebException: The operation has timed-out.
�� at System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32 size)
�� at NAnt.VSNet.Tasks.WebDavClient.UploadFile(String strLocalFilename, String s
trRemoteFilename)
�� at NAnt.VSNet.Tasks.Project.Compile(String strConfiguration, ArrayList alCSCA
rguments, String strLogFile, Boolean bVerbose, Boolean bShowCommands)
�� at NAnt.VSNet.Tasks.Solution.Compile(String strConfiguration, ArrayList alCSC
Arguments, String strLogFile, Boolean bVerbose, Boolean bShowCommands)
�� at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
�� at NAnt.Core.Task.Execute()
�� at NAnt.Core.Target.Execute()
�� at NAnt.Core.Project.Execute(String targetName)
�� at NAnt.Core.Project.Execute()
�� at NAnt.Core.Project.Run()
Please send bug report to [EMAIL PROTECTED]

I have all permissions enabled on the vroot (write, read, access scripts, etc.) and 
have full control on the actual directory the vroot points to, but I still get the 
timeout.
�
Any help much appreciated! ;-)




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

Reply via email to