Looking at the echo'ed output which shows

C:\morsli00_OdinFD\Odin\WebServer\WebApp\mainpage.csproj

Vs the <webmap> which is

          <webmap  path="\Odin\WebServer\WebApp\mainpage.csproj"
url="http://localhost/OdinMain/";  />

It looks like your webmap needs to pre-pend

C:\morsli00_OdinFD

Actually, since you're using ${WebAppDir} in the echo
Why don't you also use it in the <webmap> ?

Noel



 -----Original Message-----
From:   [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]  On Behalf Of Lindsay
Morsillo
Sent:   Wednesday, April 07, 2004 11:08 AM
To:     [EMAIL PROTECTED]
Subject:        [Nant-users] <webmap> not working for me...

I have been using Nant for everything BUT building my
solutions, until recently.

I have the following build target and the following
problem....

<!-- build the software -->
<target name="buildall" description="Builds the whole
Odin Solution">
     <echo message="Solution started:
${nant.project.basedir}\BuildAll\BuildAll.sln" />
     <echo message=" Web project:
${WebAppDir}\mainpage.csproj" />
     <solution configuration="debug"
solutionfile="${nant.project.basedir}\BuildAll\BuildAll.sln"
verbose="true">
          <webmap
path="\Odin\WebServer\WebApp\mainpage.csproj"
url="http://localhost/OdinMain/"; >
          </webmap>
     </solution>
</target>


NAnt 0.85 (Build 0.85.1556.0; net-1.0.win32; nightly;
4/5/2004)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///C:/morsli00_OdinFD/Odin/odin.build
Target(s) specified: buildall
[echo] Odin Build Starting....
[echo] odinprops included

buildall:

[echo] Solution started:
C:\morsli00_OdinFD\Odin\BuildAll\BuildAll.sln
[echo] Web project:
C:\morsli00_OdinFD\Odin\WebServer\WebApp\mainpage.csproj

[solution] Starting solution build.

BUILD FAILED

Cannot build web project
'http://localhost/OdinMain/mainpage.csproj'. Please
use <webmap> to map the given URL to a
project-relative path, or specify enablewebdav="true"
on the <solution> task element to use WebDAV.

Total time: 0.5 seconds.

What don't I understand?

Thanks.


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to