Hi Ankita,

WebDAV access for web projects has been deprecated (in NAnt 0.85).

I suggest using a recent nightly build (http://nant.sourceforge.net/nightly/builds), and use the <webmap> element to define a mapping between url's and local paths.

See http://nant.sourceforge.net/nightly/help/tasks/solution.html for an example (which requires a 0.85 nightly build).

Hope this helps,

Gert

----- Original Message ----- From: "Ankita Kapadia" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 14, 2004 12:57 PM
Subject: [Nant-users] BUILD FAILED INTERNAL ERROR System.Net.WebException



Hi,
I am trying to build a project with the following task:-
<solution
solutionfile="E:\ankita_views2\ankita_kapadia_view2\rfid_tid\persistent_solu
tion\PINES-MSFT\WebApps\Src\Pines.sln" configuration="release"
outputdir="D:\update_build\MSFT"/>

But I get an error Here is the output:-

F:\myfolder\MSFT>nant
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.net

Buildfile: file:///F:/myfolder/MSFT/pinesmsft.build
Target(s) specified: updatebuildresult

init:

  [tstamp] Tuesday, September 14, 2004 4:13:37 PM.

settings:


updatebuild:

  [tstamp] Tuesday, September 14, 2004 4:13:37 PM.
[solution] Starting solution build.
[solution] Building Util [release]...
                 [compile] EventLogger.cs(33,4): warning CS0168: The
variable '
e' is declared but never used
[solution] Building Notifications [release]...
[solution] Building Dashboard [release]...
[solution] Building DeviceManagement [release]...
[solution] Building RetailDemo [release]...
[solution] Building ServiceManagement [release]...
[solution] Building pines [release]...
                       Read in 0 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\applications\dashboards\Qu
eryL
ist.aspx.resx'
                       Writing resource file...  Done.
                       Read in 0 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\applications\notifications
\Evt
MapDetailsView.aspx.resx'
                       Writing resource file...  Done.
                       Read in 0 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\common\Menu.aspx.resx'
                       Writing resource file...  Done.
                       Read in 0 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\configuration\administrati
on\L
ayoutManagement.aspx.resx'
                       Writing resource file...  Done.
                       Read in 0 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\applications\Home.aspx.res
x'
                       Writing resource file...  Done.
                       Read in 0 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\applications\demo\AddASN.a
spx.
resx'
                       Writing resource file...  Done.
                       Read in 0 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\support\Home.aspx.resx'
                       Writing resource file...  Done.
                       Read in 0 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\configuration\Home.aspx.re
sx'
                       Writing resource file...  Done.
                       Read in 1 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\applications\notifications
\Eve
ntMapSummery.aspx.resx'
                       Writing resource file...  Done.
                       Read in 0 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\configuration\Menu.aspx.re
sx'
                       Writing resource file...  Done.
                       Read in 0 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\configuration\services\Ser
vice
Management.aspx.resx'
                       Writing resource file...  Done.
                       Read in 0 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\common\Footer.aspx.resx'
                       Writing resource file...  Done.
                       Read in 0 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\configuration\devicemanage
ment
\EditReaderDetails.aspx.resx'
                       Writing resource file...  Done.
                       Read in 0 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\applications\dashboards\Ta
bula
rResults.aspx.resx'
                       Writing resource file...  Done.
                       Read in 0 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\applications\demo\ASNList.
aspx
.resx'
                       Writing resource file...  Done.
                       Read in 0 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\Global.asax.resx'
                       Writing resource file...  Done.
                       Read in 0 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\support\Menu.aspx.resx'
                       Writing resource file...  Done.
                       Read in 0 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\index.aspx.resx'
                       Writing resource file...  Done.
                       Read in 0 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\configuration\administrati
on\M
ovementMapping.aspx.resx'
                       Writing resource file...  Done.
                       Read in 0 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\common\Home.aspx.resx'
                       Writing resource file...  Done.
                       Read in 0 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\configuration\devicemanage
ment
\ReaderDetails.aspx.resx'
                       Writing resource file...  Done.
                       Read in 0 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\applications\demo\ShelfIte
mSto
ck.aspx.resx'
                       Writing resource file...  Done.
                       Read in 0 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\applications\notifications
\Add
Subscriber.aspx.resx'
                       Writing resource file...  Done.
                       Read in 0 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\applications\demo\ASNDetai
lsLi
st.aspx.resx'
                       Writing resource file...  Done.
                       Read in 0 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\applications\Menu.aspx.res
x'
                       Writing resource file...  Done.
                       Read in 0 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\configuration\devicemanage
ment
\ReaderList.aspx.resx'
                       Writing resource file...  Done.
                       Read in 0 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\applications\demo\ItemInve
ntor
y.aspx.resx'
                       Writing resource file...  Done.
                       Read in 0 resources from
'C:\DOCUME~1\ANKITA~1\LOCALS~1\
Temp\ghoxsgbe\http___localhost_pines_pines.csproj\common\Header.aspx.resx'
                       Writing resource file...  Done.

BUILD FAILED

INTERNAL ERROR

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.UploadFile(String localFileName, String
remoteFile
Name)
  at NAnt.VSNet.Project.Compile(String configuration, ArrayList
alCSCArguments,
String strLogFile, Boolean bVerbose, Boolean bShowCommands)
  at NAnt.VSNet.Solution.Compile(String configuration, ArrayList
compilerArgume
nts, 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: 22 seconds.


F:\myfolder\MSFT>










------------------------------------------------------- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to