Hi all,

I've just started playing around with NAnt to determine its feasibility for our 
project, and am trying to build a web project with the following rule:


<target name="solution" description="Build prototype">
        <solution configuration="Release" solutionfile="PL_mel.sln" 
failonerror="false">
                <webmap>
                        <map 
url="http://localhost/STSPortalApplication/STSPortalApplication.csproj"; 
path="c:\inetpub\wwwroot\Enterprise\Application\STS\STSPortalApplication.csproj" />
                </webmap>
        </solution>
</target>


When I kick off the build, I get the following error:

solution:

 [solution] Starting solution build.
 [solution] Loading projects...
 [solution] Loading project 
'C:\Inetpub\wwwroot\Enterprise\PL_mel\..\Application\STS\Presentation\Web\StsBusinessControls.vbproj'.
 [solution] Loading project 
'c:\inetpub\wwwroot\Enterprise\Application\STS\STSPortalApplication.csproj'.

 [solution] System.Net.WebException: The remote server returned an error: (404)
Not Found.
   at System.Net.HttpWebRequest.CheckFinalStatus()
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.Net.HttpWebRequest.GetResponse()
   at NAnt.VSNet.WebDavClient.DownloadFile(String localFileName, String remoteFi
leName)
   at NAnt.VSNet.Project.Load(Solution sln, String projectPath)
   at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask slnTask,
TempFileCollection tfc, String outputDir, String path)
   at NAnt.VSNet.Solution.LoadProjects()
   at NAnt.VSNet.Solution..ctor(String solutionFileName, ArrayList additionalPro
jects, ArrayList referenceProjects, TempFileCollection tfc, SolutionTask solutio
nTask, WebMapCollection webMappings, FileSet excludesProjects, String outputDir)

   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
   at NAnt.Core.Task.Execute()

BUILD SUCCEEDED

Total time: 0.7 seconds.

There are no access restrictions on the web share, or the web site. I'm using 
NAnt-0.84 on Win2k with Visual Studio .NET 2003 (incidentally, the project builds ok 
from the IDE).

Has anyone come across this? or does anyone have any ideas?

Regards,
Nick.


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to