>From: "Gert Driesen" <[EMAIL PROTECTED]>
>Sent: Wednesday, September 15, 2004 2:04 PM


> Hi,
>
> I wonder if we should output the name of the target framework when
starting
> a build, and perhaps also output it again whenever you change the target
> framework
>
> What do you think ?

NAnt's verbosity has been the subject of much discussion (not just me - e.g.
a recent post on the user's list that mentioned postprocessing the NAnt xml
log to make it reasonable).  I think that adding more output unconditionally
must be considered carefully, especially since many people are probably
already printing out such info on their own.

Suppose instead there were a <log> task, where
<log />
would put out some default info, while
<log>
  <logitem name="framework-version" />
  <logitem name="targets" />
  <logitem name="nant-version" />
  <logitem name="timestamp" />
  <logitem name="hostname" />
  <logitem name="host-os" />
  <logitem name="command-line-defs" />
  <logitem name="project-file-date" />
</log>
would do the obvious.  This would give the user much more control over
logging, and furthermore, would solve the problem of recursive nant
invocations producing redundant log info (by simply allowing the user to
omit the <log> task from the subordinare
nant files).  It would also provide a structure for future enhancement.

Gary




-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to