Absolutely Jonathan

Nant/ant has Dependency checking, the ability to scope properties, the ability exec mail for build results
From my perspective Nant/aNT are far more powerful than anything Ive seen
with make
(but then again I havent used the later versions)

With Warm Regards

Martin Gainty

Boston Ma
(mobile) 617-852-7822





From: "Evans, Jonathan (2)" <[EMAIL PROTECTED]>
To: "'Martin Gainty'" <[EMAIL PROTECTED]>,"Thibaut Barrère" <[EMAIL PROTECTED]>,"Gary Feldman" <[EMAIL PROTECTED]>
CC: nant-users@lists.sourceforge.net
Subject: RE: [Nant-users] Build target from command line without dependenc ies
Date: Thu, 22 Sep 2005 15:30:15 +0100
MIME-Version: 1.0
Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by mc2-f9.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 22 Sep 2005 07:32:15 -0700 Received: from projects.sourceforge.net (sc8-sf-list2-b.sourceforge.net [10.3.1.8])by sc8-sf-spam1.sourceforge.net (Postfix) with ESMTPid 6741B88EF7; Thu, 22 Sep 2005 07:32:13 -0700 (PDT) Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net)by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30)id 1EIS5x-0003ov-Kafor nant-users@lists.sourceforge.net; Thu, 22 Sep 2005 07:30:41 -0700 Received: from mx-2.csfb.com ([198.240.128.81] helo=ln-bas08.csfb.com)by mail.sourceforge.net with esmtp (Exim 4.44)id 1EIS5v-00035D-N2for nant-users@lists.sourceforge.net; Thu, 22 Sep 2005 07:30:41 -0700 Received: from slon11p30741.csfb.cs-group.com (slon11p30741.csfb.mail [166.12.48.145])by ln-bas08.csfb.com (Postfix) with ESMTP id E644E3DDC;Thu, 22 Sep 2005 15:30:31 +0100 (BST) Received: from 166.12.48.43 by slon11p30741.csfb.cs-group.com with ESMTP (P30741L (Email Firewall v6.1.1)); Thu, 22 Sep 2005 15:30:22 +0100 Received: by slon00330.csfp.co.uk with Internet Mail Service ( 5.5.2655.55) id <TLTSYNJR>; Thu, 22 Sep 2005 15:30:22 +0100
X-Message-Info: TSNaxu8CDoffTpst1UJA9AEXso3dYnT9CiVsn6b/9hQ=
X-Server-Uuid: 1562CDD5-F009-4D1B-8F5A-EF7051DC037C
X-Mailer: Internet Mail Service (5.5.2655.55)
X-WSS-ID: 6F2C60741DK630035-01-03
X-Spam-Score: 1.1 (+)
X-Spam-Report: Spam Filtering performed by sourceforge.net.See http://spamassassin.org/tag/ for more details.Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=2000011.0 FORGED_RCVD_HELO Received: contains a forged HELO0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with .0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with /0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with -0.0 SF_CHICKENPOX_COLON BODY: Text interparsed with :0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _0.0 SF_CHICKENPOX_PLUS BODY: Text interparsed with +0.0 SF_CHICKENPOX_BRACKET_CLOSE BODY: Text interparsed with ]0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with '0.1 HTML_30_40 BODY: Message is 30% to 40% HTML0.0 HTML_MESSAGE BODY: HTML included in message
Errors-To: [EMAIL PROTECTED]
X-BeenThere: nant-users@lists.sourceforge.net
X-Mailman-Version: 2.0.9-sf.net
Precedence: bulk
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/nant-users>,<mailto:[EMAIL PROTECTED]> List-Id: Discussion of NAnt features and usage <nant-users.lists.sourceforge.net>
List-Post: <mailto:nant-users@lists.sourceforge.net>
List-Help: <mailto:[EMAIL PROTECTED]>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/nant-users>,<mailto:[EMAIL PROTECTED]> List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum=nant-users>
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 22 Sep 2005 14:32:16.0471 (UTC) FILETIME=[6E283670:01C5BF82]

Make has always been used in conjunction with shell scripts and other tools; it functions largely as dependency-sensitive glue binding together all of the commands to build and link C programs. So, if pressed, one could probably write all of the things you mention using Make. The point of Ant and NAnt is that they dramatically simplify the everyday tasks and make it far easier to detect and fix mistakes in the script.




-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Martin Gainty
Sent: Thursday, September 22, 2005 3:06 PM
To: Thibaut Barrère; Gary Feldman
Cc: nant-users@lists.sourceforge.net
Subject: Re: [Nant-users] Build target from command line without dependencies


Good Morning/Bonjour

I would like to ask Gary if there any version of make has capability to handle building a solution such as the Nant Task solution keeping in mind that the solution task handles all permutations of environment development, uat, qa, release as well as
the ability for solution task to include n number of csproj/vbproj projects
as well as the ability for the solution task to exclude n csproj/vbproj projects http://nant.sourceforge.net/release/latest/help/tasks/solution.html <http://nant.sourceforge.net/release/latest/help/tasks/solution.html>


Merci/Thanks,
Etats Unis/US
Martin-

----- Original Message -----
From: Thibaut Barrère <mailto:[EMAIL PROTECTED]>
To: Gary Feldman <mailto:[EMAIL PROTECTED]>
Cc: nant-users@lists.sourceforge.net <mailto:nant-users@lists.sourceforge.net>
Sent: Thursday, September 22, 2005 8:57 AM
Subject: Re: [Nant-users] Build target from command line without dependencies


While I see many advantages (and disadvantages) in NAnt, I can't think
of anything off the top of my head that it can do, but that can't be
done with ordinary make/bash (or other scripting language).  NAnt
benefits from having a centralized repository of tasks, so that we don't
each have to build our own solution task from scratch, but that's a
packaging deficiency with make/bash, not a technical one.  It's also
somewhat easier to grok than make, but on the other hand there are some
things that make can do easily, but which are tricky or more work to do
in NAnt - such as adding a project-wide pre or post compile step.

What sort of things did you have in mind?


Hi,

just some feedback about an experience I had a few months ago (actually the first non-trivial thing I did with NAnt outside a strict build scope).

We have some third party library (namely, Syncfusion Essential Suite) which is massively used in our components (here the CCNet+NAnt setup drives 60+ solutions). A new release came out with a change in the licensing strategy (the content of the .licx file had to be updated), and also with a breaking change of assembly names (such as : each previous dependency was split in two, plus another 'Core' dll had to be referenced).

With NAnt I was able to :
- determine the project files where a change was required (thanks to fileset + patterns + recursivity + small c# custom task) - create at the same place a new licx with the right content (when not available, with a file exist + copy) - update the csproj files ( = interacting with the xml content, based on a quick regexp + replace custom task) - launch a test build by iterating over all the solutions files (fileset + pattern + exec) to ensure that everything was running smoothly - do the checkout / checkin stuff with VSS automatically (using nant contrib vss tasks) during the whole operation

The whole operation took me one day (alone, and working in isolation from the team).

The other ways would have been to use the GUI-only tools provided and let people do their changes (= chaos, most likely!), or use a make / bash / batch script, but in my case I dare say I would have been much slower, and much more likely to cause errors.

The things I especially like about NAnt/Ant for such operations is the error handling (by default, it fails fast, where a script usually does not fail so quickly by default - it requires more care to achieve this), the tasks which are provided (such as interacting with VSS), and the cheap extensibility (custom tasks, or scripts, comes very handy).

I came to realize that NAnt can be pretty valuable even for one-shot operations such as this one. I really felt *power* when I did all this in parallel.

cheers

Thibaut
--
[blog] http://www.dotnetguru2.org/tbarrere <http://www.dotnetguru2.org/tbarrere>



==============================================================================
Please access the attached hyperlink for an important electronic communications disclaimer:

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==============================================================================




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