Dmitry,

What version of NAnt are you using ? Can you try using a recent nightly
build of NAnt (http://nant.sourceforge.net/nightly/latest) ?

Older versions of NAnt had a bug which caused it to skip projects in which
the name of the project build configuration did not match the name of the
solution build configuration.

Let me know if you can still reproduce this issue using the nightly build.

Gert
----- Original Message ----- 
From: "Dmitry Ponomarenko" <[EMAIL PROTECTED]>
To: <nant-users@lists.sourceforge.net>
Sent: Thursday, September 22, 2005 7:47 AM
Subject: [Nant-users] Two map elements


> Hello all,
>
>
>
> I have a solution with two nested web projects. Let it be ProjectA and
> ProjectB. ProjectA has a virtual folder, ProjectB is a subproject of
> ProjectA and has virtual directory in ProjectA virtual directory. Also,
> ProjectA is C# project and ProjectB is VBNet project.
>
>
>
> When I try to build my solution by following nant build file:
>
>
>
>             <target name="build" >
>
>                         <delete failonerror="false">
>
>                                    <fileset>
>
>                                                <include
> name="ProjectA\bin\*.dll" />
>
>                                                <include
> name="ProjectBA\ProjectB\bin\*.dll" />
>
>                                    </fileset>
>
>                         </delete>
>
>
>
>                         <solution solutionfile="MySolution.sln"
> configuration="release" failonerror="true" >
>
>                                    <webmap>
>
>                                                <map
> path="ProjectA\ProjectA.csproj"
> url="http://localhost/ProjectA/ProjectA.csproj"; />
>
>                                                <map
> path="ProjectA\ProjectB\ProjectB.vbproj"
> url="http://localhost/ProjectA/ProjectB/ProjectB.vbproj"; />
>
>                                    </webmap>
>
>                         </solution>
>
>             </target>
>
>
>
> My solution was built by in the console I see:
>
>
>
>  [delete] Deleting 10 files.
>
>  [solution] Starting solution build.
>
>  [solution] Building 'System.Web' [Release] ...
>
>  [solution] Building 'Core' [Release] ...
>
>  [solution] Building 'Components' [Release] ...
>
>  [solution] Building 'CoreTests' [Release] ...
>
>  [solution] Skipping 'ProjectB' [Release] ...
>
>  [solution] Building 'ProjectA' [Release] ...
>
>
>
> BUILD SUCCEEDED
>
>
>
> What is wrong in my build script? Or should I add some one else into
target?
>
> Any advices are welcome.
>
>
>
> Regards,
>
>             Dmitry
>
>
>
>


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