Joel,

Your <webmap> "path" should include the same level of detail as the "url",
meaning use either this:

<map url="http://localhost/${solution}/${solution}.csproj";
path="${IISRoot}/${AppFolder}/${solution.csproj}" />

or this

<map url="http://localhost/${solution}"; path="${IISRoot}/${AppFolder}" />

Gert

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Joel Gwynn
> Sent: donderdag 3 november 2005 17:32
> To: nant-users@lists.sourceforge.net
> Subject: [Nant-users] Access Denied
> 
> Hey all.  Trying to get up and running with NAnt here.  I'm using the
> NAntContrib <mkiisdir> task to create my IIS target folder, and that
> seems to work OK, then I'm using <solution> with <webmap> to map my
> existing solution to that folder:
> 
> <webmap>
>                       <map 
> url="http://localhost/${solution}/${solution}.csproj";
> path="${IISRoot}\${AppFolder}" />
>               </webmap>
> 
> I'm pretty sure that mapping is correct because when I give it a
> different mapping, I get an error: "Could not find file: ... "
> 
> But when I try to build, at the end, I get this error:
> 
> Error checking whether 'd:\temp\cmsNant' is an enterprise 
> template project.
>     Access to the path "d:\temp\cmsNant" is denied.
> 
> (cmsNant is my ${AppFolder}, and it is created.  I checked in 
> iis admin)
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App 
> Server. Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> Nant-users mailing list
> Nant-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nant-users
> 



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to