I am a newbee to
Nant so hopefully this will be easy for someone out here.
I am writting a
simple script to build a web application.
Here is 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 configuration="${CompileMode}" solutionfile="C:\PROJECTS\CrystalTechSolutions\OrderformSolution.sln">
<webmap>
<map url=""http://localhost/Orderform/Orderform.vbproj">http://localhost/Orderform/Orderform.vbproj" path="C:\Inetpub\wwwroot\Orderform"/>
</webmap>
</solution>
</target>
</project>
<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 configuration="${CompileMode}" solutionfile="C:\PROJECTS\CrystalTechSolutions\OrderformSolution.sln">
<webmap>
<map url=""http://localhost/Orderform/Orderform.vbproj">http://localhost/Orderform/Orderform.vbproj" path="C:\Inetpub\wwwroot\Orderform"/>
</webmap>
</solution>
</target>
</project>
When I run it I get
the following output.
NAnt 0.85 (Build
0.85.2110.0; nightly; 10/11/2005)
Copyright (C) 2001-2005 Gerry Shaw
http://nant.sourceforge.net
Copyright (C) 2001-2005 Gerry Shaw
http://nant.sourceforge.net
Buildfile: file:///C:/PROJECTS/BuildFiles/OrderForm.build
Target framework: Microsoft .NET Framework 1.1
Target(s) specified: build
Target framework: Microsoft .NET Framework 1.1
Target(s) specified: build
build:
[solution] Starting solution
build.
BUILD FAILED
Error checking whether
'C:\Inetpub\wwwroot\Orderform' is an enterprise template
project.
Access to the path "C:\Inetpub\wwwroot\Orderform" is denied.
Access to the path "C:\Inetpub\wwwroot\Orderform" is denied.
Total time: 0.6 seconds.
To me this
looks like a permission problem. I tried setting access to the directory
where the application lives(C:\Inetpub\wwwroot\Orderform) to allow everyone to
have full control but that did not work.
The solution
is a 2003 solution with hooks to VSS.
Does anyone
have some suggestions/hints about what I am doing wrong
here
Thanks
Bill
Thank you,
Bill Barge
Programmer / Analysis
CrystalTech Web Hosting Inc.
Phone: 602-263-0300 x131
Fax: 602-263-0600
Email: [EMAIL PROTECTED]