I think it's a good idea to promote good build system design and I think
that your document is a step in the right direction.

I like the idea of being able to treat all subprojects in a generic way. You
use gateway build files for that purpose, but I think that this kind of
functionality should be directly supported with NAnt, so you don't need to
resort to this kind of hack.

I think, one should be able to invoke <nant> like this (or with some other
syntax):

<nant target="${target}">
    <buildfiles>
        <includes ... />
    </buildfiles>
</nant>

This can be even used with recently added "named filesets" feature. You
would define a (single) fileset that would keep all your *.build files and
invoke various targets on it using simple one-liner without the need of a
gateway file trick.

I don't remember the exact syntax for named filesets, but the concept is:

<fileset id="childrenBuildFiles">
    <includes file="**/*.build" />
</fileset>

<target name="build">
    <nant target="build" fileset="childrenBuildFiles" />
</target>

This would make your *.build files MUCH more readable, and simplicity and
readability is (imho) the most iportant part of a build system.

What do you think?

Jarek
----- Original Message -----
From: "Giuseppe Greco" <[EMAIL PROTECTED]>
To: "NAnt Developers" <[EMAIL PROTECTED]>; "NAnt Users"
<[EMAIL PROTECTED]>
Sent: Friday, June 27, 2003 10:29 PM
Subject: [nant-dev] Building Projects With NAnt


> Hi all,
>
> Since I've decided to adopt NAnt as the standard build
> tool here at ::agamura::, I've written a document titled
> "Building Projects With NAnt"...
>
> It is available at http://developer.agamura.com/technotes
> either in PDF or HTML format -- DocBook source files will
> be available soon.
>
> May be it could be helpful for those who are new to NAnt...
> It covers NAnt basics and introduces how projects should
> be structured.
>
> Any comment, suggestion, or critic is welcome!
>
> Gius_.
>
> --
> ----------------------------------------
> Giuseppe Greco
>
> ::agamura::
>
> phone:  +41 (0)91 604 67 65
> mobile: +41 (0)76 390 60 32
> email:  [EMAIL PROTECTED]
> web:    www.agamura.com
> ----------------------------------------
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
> _______________________________________________
> nant-developers mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-developers
>



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to