----- Original Message -----
From: "Bill Barge" <[EMAIL PROTECTED]>
To: <[email protected]>
Cc: "'Tim Mayert'" <[EMAIL PROTECTED]>
Sent: Tuesday, November 15, 2005 4:05 PM
Subject: RE: [Nant-users] Calling Solution target to build complete solution
>
> I have seen simular problems using the solution task. The common item I
am
> seeing is that NAnt is not wanting to build my web project (web
> application). When I run it again solutions that do not have a web
project
> as the final project it works fine. I always get the following error
>
> BUILD FAILED
>
> Error checking whether 'C:\Inetpub\wwwroot\Orderform' is an enterprise
> template project.
> Access to the path "C:\Inetpub\wwwroot\Orderform" is denied.
>
> Here is what I am using as the script
>
> <?xml version="1.0"?>
> <project name="OrderForm" default="build">
> <description>Crystaltech's Order Form</description>
> <property name="CompileMode" value="debug" overwrite="true" />
> <target name="build" description="compiles the source code">
> <solution verbose="true" configuration="${CompileMode}"
> solutionfile="C:\PROJECTS\CrystalTechSolutions\OrderformSolution.sln">
> <webmap>
> <map url="http://localhost/Orderform/Orderform.vbproj"
> path="C:\Inetpub\wwwroot\Orderform"/>
> </webmap>
> </solution>
> </target>
> </project>
>
> At first I thought that I had a permissions problem but it still will not
> work after I give "everyone" full control access. I am wondering now if
it
> has something to do with the OS I am testing on. XP Pro is what I am
> developing the build files on. I am also wondering if there is a bug in
the
> solution task.
Bill, the "path" attribute in the <map> element should contain the same
level of detail than the "url" attribute.
Right now, you're effectively mapping
http://localhost/Orderform/Orderform.vbproj to c:\inetpub\wwwroot\orderform,
while it should ofcourse be mapped to
c:\inetpub\wwwroot\orderform\OrderForm.vbproj.
So either you use this:
<map url="http://localhost/Orderform/Orderform.vbproj"
path="C:\Inetpub\wwwroot\Orderform\OrderForm.vbproj"/>
or this:
<map url="http://localhost/Orderform" path="C:\Inetpub\wwwroot\Orderform"/>
Hope this helps,
Gert
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users