Paul,
The <solution> task in NAnt 0.84 by default tried to
use WEBDAV to access web projects. In NAnt 0.85 we changed this, because many
users had problems with this.
In NAnt 0.85, you can define a mapping (using
<webmap>) between URL's and local paths to allow NAnt to access the web
project locally (instead of using WEBDAV).
See http://nant.sourceforge.net/nightly/latest/help/tasks/solution.html for
an example.
Hope this helps,
Gert
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Murphy
Sent: dinsdag 21 december 2004 22:41
To: '[EMAIL PROTECTED]'
Subject: [nant-dev] Could you give details regarding the cause of this error...
Importance: High
Sent: dinsdag 21 december 2004 22:41
To: '[EMAIL PROTECTED]'
Subject: [nant-dev] Could you give details regarding the cause of this error...
Importance: High
NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 12/26/2003)
Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.netBuildfile: file:///D:/dev/trafficchannel/executables/DubShip/DubShipApp/build/DubShipApp.build
Target(s) specified: buildclean:[delete] Deleting 0 files.init:[tstamp] Tuesday, December 21, 2004 4:31:35 PM.build:[echo] Building the solution DubShipApp.sln configuration=Release
[solution] Starting solution build.
[solution] Building DubShipService [Release]...
Read in 0 resources from 'C:\DOCUME~1\pmurphy\LOCALS~1\Temp\_lwqwzz1\http___localhost_DubShipService_DubShipService.csproj\Import.asmx.resx'
Writing resource file... Done.
Read in 0 resources from 'C:\DOCUME~1\pmurphy\LOCALS~1\Temp\_lwqwzz1\http___localhost_DubShipService_DubShipService.csproj\DSControl.asmx.resx'
Writing resource file... Done.
Read in 0 resources from 'C:\DOCUME~1\pmurphy\LOCALS~1\Temp\_lwqwzz1\http___localhost_DubShipService_DubShipService.csproj\Global.asax.resx'
Writing resource file... Done.
Read in 0 resources from 'C:\DOCUME~1\pmurphy\LOCALS~1\Temp\_lwqwzz1\http___localhost_DubShipService_DubShipService.csproj\Admin.asmx.resx'
Writing resource file... Done.
Read in 0 resources from 'C:\DOCUME~1\pmurphy\LOCALS~1\Temp\_lwqwzz1\http___localhost_DubShipService_DubShipService.csproj\Export.asmx.resx'
Writing resource file... Done.BUILD FAILEDINTERNAL ERRORSystem.Net.WebException: The remote server returned an error: (403) Forbidden.
at System.Net.HttpWebRequest.CheckFinalStatus()
at System.Net.HttpWebRequest.GetResponse()
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()Please send bug report to [EMAIL PROTECTED].Total time: 4.1 seconds.Details:.NET 2003 WEB Service project.Net Framework 1.1 Version 1.1.4322C# developmentThe project builds find in the IDE.Nant script build target<target name="build" depends="clean,init" description="Build the solution.">
<echo message="Building the solution ${nant.project.name}.sln configuration=${build-configuration}"/>
<solution solutionfile="${nant.project.name}.sln" configuration="${build-configuration}"/><echo message="Copying files from ${actualprojectname} to ${actualprojectname}/bin/${build-configuration}/"/>
<copy file="${actualprojectname}/Web.config" tofile="${actualprojectname}/bin/${build-configuration}/$Web.config"/>
</target>Regards,Paul MurphyEngineering
FastChannel Network, Inc.
tel: 941.358.5685
fax: 781.898.6501
cell: 978.397.4403![]()
