Here's my understanding of the basic differences: Properties and targets defined in an included script are accessible to both the including script and to all other included scripts. The include task is thus useful for breaking up a large or unwieldy build script into separate files.
The nant task can be thought of as a convenient alternative to running Nant externally via an exec task. You can pass information to the nant process as properties and environment variables, but none of the targets or properties assigned in the called nant script are made available to the calling script. Chris -----Original Message----- From: Ales Vojacek [mailto:al...@fbl.cz] Sent: 19 August 2009 02:13 To: nant-users@lists.sourceforge.net Subject: [NAnt-users] nant vs. include tasks Hi all, what are diferences between nant and include task. Only that nant task execute default target? Thx a lot A. ------------------------------------------------------------------------ ------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users