Re: [nant-dev] Nant issue - Error 409 when building a web project

2004-01-26 Thread Gert Driesen
Asif,

Your email was only approved yesterday (you have to be a member of the
nant-developers mailing list in order to send messages to that list, this is
to reduce spam), so sorry for not responding any sooner ...

The error message you're getting is probably due to an incorrect security
configuration on your web server (although I'm not 100% sure about this),
but I'd like to advise you to use the webmap element of the solution task
instead as that will allow the solution task to just use local file access
instead of HTTP for retrieving project information.

eg.

solution solutionfile=test.sln configuration=release
webmap
map url=http://localhost/A/A.csproj;
path=c:\inetpub\wwwroot\A\A.csproj /
map url=http://localhost/B; path=c:\other\B /
/webmap
/solution

See the solution task docs for more information :
http://nant.sourceforge.net/nightly/help/tasks/solution.html

Hope this helps,

Gert

- Original Message -
From: Mulla, Asif [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 8:07 PM
Subject: [nant-dev] Nant issue - Error 409 when building a web project


 Hi,

 I'm using the latest nightly build of nant (21-Januray-2004) and am
getting
 the error below.  My solution setup is quite simple: a hello world web
 project and a hello world win project.  The Web project initially failed
to
 compile giving a forbidden 403 error.  After giving full permissions to
the
 Virtual Folder of the Web project some progress was made but then nant
fell
 over with another saying asking me to enable webdav for the solution.
After
 doing this I got yet another error (409) which I've pasted below:

 I'd be grateful if you could assist in this as I'm meant to be presenting
a
 case for whether or not we should be using nant tomorrow.

 Many thanks in advance for your help.

 Asif Mulla

 

 D:\Projects\NantTestnant
 NAnt 0.85 (Build 0.85.1447.0; net-1.0.win32; nightly; 18/12/2003)
 Copyright (C) 2001-2004 Gerry Shaw
 http://nant.sourceforge.net http://nant.sourceforge.net

 Buildfile: file:///D:/Projects/NantTest/nant.BUILD
 file:///D:/Projects/NantTest/nant.BUILD
 Target(s) specified: build

 build:

  [echo] Compiling HelloWorldWeb
  [solution] Starting solution build.
  [solution] Building HelloWorldWeb [release]...
 Read in 0 resources from
 'D:\DOCUME~1\cz7gf4\LOCALS~1\Te

mp\pxcmktiv\http___localhost_HelloWorldWeb2_HelloWorldWeb.csproj\Global.asax
 .res
 x'
 Writing resource file...  Done.
 Read in 0 resources from
 'D:\DOCUME~1\cz7gf4\LOCALS~1\Te

mp\pxcmktiv\http___localhost_HelloWorldWeb2_HelloWorldWeb.csproj\WebForm1.as
 px.r
 esx'
 Writing resource file...  Done.

 BUILD FAILED

 INTERNAL ERROR

 System.Net.WebException: The remote server returned an error: (409)
 Conflict.
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) in
 C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp127.tmp\src\NAnt.VSNet\WebDavClie
 nt.cs:line 66
at NAnt.VSNet.Project.Compile(String configuration, ArrayList
 alCSCArguments,
  String strLogFile, Boolean bVerbose, Boolean bShowCommands) in
 C:\DOCUME~1\ADMI
 NI~1\LOCALS~1\Temp\tmp127.tmp\src\NAnt.VSNet\Project.cs:line 425
at NAnt.VSNet.Solution.Compile(String configuration, ArrayList
 compilerArgume
 nts, String logFile, Boolean verbose, Boolean showCommands) in
 C:\DOCUME~1\ADMIN
 I~1\LOCALS~1\Temp\tmp127.tmp\src\NAnt.VSNet\Solution.cs:line 279
at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in
 C:\DOCUME~1\ADMINI~1\LOCALS
 ~1\Temp\tmp127.tmp\src\NAnt.VSNet\Tasks\SolutionTask.cs:line 335
at NAnt.Core.Task.Execute() in
 C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp127.tmp\
 src\NAnt.Core\Task.cs:line 151
at NAnt.Core.Target.Execute() in
 C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp127.tm
 p\src\NAnt.Core\Target.cs:line 217
at NAnt.Core.Project.Execute(String targetName, Boolean
 forceDependencies) in

C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp127.tmp\src\NAnt.Core\Project.cs:line
 772

at NAnt.Core.Project.Execute() in
 C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp127.t
 mp\src\NAnt.Core\Project.cs:line 734
at NAnt.Core.Project.Run() in
 C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp127.tmp\s
 rc\NAnt.Core\Project.cs:line 797

 Please send bug report to [EMAIL PROTECTED]

 Total time: 3.2 seconds.


 ---
 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-developers mailing

[nant-dev] Nant issue - Error 409 when building a web project

2004-01-25 Thread Mulla, Asif
Hi,

I'm using the latest nightly build of nant (21-Januray-2004) and am getting
the error below.  My solution setup is quite simple: a hello world web
project and a hello world win project.  The Web project initially failed to
compile giving a forbidden 403 error.  After giving full permissions to the
Virtual Folder of the Web project some progress was made but then nant fell
over with another saying asking me to enable webdav for the solution.  After
doing this I got yet another error (409) which I've pasted below:

I'd be grateful if you could assist in this as I'm meant to be presenting a
case for whether or not we should be using nant tomorrow.

Many thanks in advance for your help.

Asif Mulla



D:\Projects\NantTestnant
NAnt 0.85 (Build 0.85.1447.0; net-1.0.win32; nightly; 18/12/2003)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net http://nant.sourceforge.net 

Buildfile: file:///D:/Projects/NantTest/nant.BUILD
file:///D:/Projects/NantTest/nant.BUILD 
Target(s) specified: build

build:

 [echo] Compiling HelloWorldWeb
 [solution] Starting solution build.
 [solution] Building HelloWorldWeb [release]...
Read in 0 resources from
'D:\DOCUME~1\cz7gf4\LOCALS~1\Te
mp\pxcmktiv\http___localhost_HelloWorldWeb2_HelloWorldWeb.csproj\Global.asax
.res
x'
Writing resource file...  Done.
Read in 0 resources from
'D:\DOCUME~1\cz7gf4\LOCALS~1\Te
mp\pxcmktiv\http___localhost_HelloWorldWeb2_HelloWorldWeb.csproj\WebForm1.as
px.r
esx'
Writing resource file...  Done.

BUILD FAILED

INTERNAL ERROR

System.Net.WebException: The remote server returned an error: (409)
Conflict.
   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) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp127.tmp\src\NAnt.VSNet\WebDavClie
nt.cs:line 66
   at NAnt.VSNet.Project.Compile(String configuration, ArrayList
alCSCArguments,
 String strLogFile, Boolean bVerbose, Boolean bShowCommands) in
C:\DOCUME~1\ADMI
NI~1\LOCALS~1\Temp\tmp127.tmp\src\NAnt.VSNet\Project.cs:line 425
   at NAnt.VSNet.Solution.Compile(String configuration, ArrayList
compilerArgume
nts, String logFile, Boolean verbose, Boolean showCommands) in
C:\DOCUME~1\ADMIN
I~1\LOCALS~1\Temp\tmp127.tmp\src\NAnt.VSNet\Solution.cs:line 279
   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in
C:\DOCUME~1\ADMINI~1\LOCALS
~1\Temp\tmp127.tmp\src\NAnt.VSNet\Tasks\SolutionTask.cs:line 335
   at NAnt.Core.Task.Execute() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp127.tmp\
src\NAnt.Core\Task.cs:line 151
   at NAnt.Core.Target.Execute() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp127.tm
p\src\NAnt.Core\Target.cs:line 217
   at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies) in
 C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp127.tmp\src\NAnt.Core\Project.cs:line
772

   at NAnt.Core.Project.Execute() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp127.t
mp\src\NAnt.Core\Project.cs:line 734
   at NAnt.Core.Project.Run() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp127.tmp\s
rc\NAnt.Core\Project.cs:line 797

Please send bug report to [EMAIL PROTECTED]

Total time: 3.2 seconds.


---
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-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers