ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Advice on modifying the logging output
Date Mon, 18 Dec 2000 04:51:07 GMT
Can someone who's more familiar with how the default logging output is
done tell me whether it'd be feasible to only have targets that are
actually running tasks print out, instead of having the target name always
print? That is, instead of getting:

  $ ant
  Searching for build.xml ...
  Buildfile D:\dianeh\src\main\build.xml

  state:
  init:
  boot:
  parsers:
  com:
  prep:
  init:
  compile:
  global:
    "global" complete
  prep:
  init:
  compile:
      [javac] Compiling 9 source files to D:\dianeh\src\main\classes
      [javac] Compiling 1 source file to D:\dianeh\src\main\classes
      [javac] Compiling 7 source files to D:\dianeh\src\main\classes
  copyfiles:
      [copy] Copying 1 file to D:\dianeh\src\main\classes
  core:
    "core" complete
  prep:
  init:
  compile:
  info:
    "info" complete
  [etc.]

it would only print out the names of targets that actually end up doing
something:

  [binky] ant
  Searching for build.xml ...
  Buildfile D:\dianeh\src\main\build.xml

  global:
    "global" complete
  compile:
      [javac] Compiling 9 source files to D:\dianeh\src\main\classes
      [javac] Compiling 1 source file to D:\dianeh\src\main\classes
      [javac] Compiling 7 source files to D:\dianeh\src\main\classes
  copyfiles:
      [copy] Copying 1 files to D:\dianeh\src\main\classes
  core:
    "core" complete
  info:
    "info" complete

I was hoping maybe the -quiet flag would do that, but nope.

Thanks,
Diane




=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

Mime
View raw message