Bug 39280 - Add log of target and build file a subant executes them
Summary: Add log of target and build file a subant executes them
Status: RESOLVED DUPLICATE of bug 32897
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.6.5
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Ant Notifications List
Keywords: PatchAvailable
Depends on:
Reported: 2006-04-12 12:57 UTC by Brian Curnow
Modified: 2009-07-31 06:40 UTC (History)
0 users

Patch that adds the requested logging (844 bytes, patch)
2006-04-12 12:58 UTC, Brian Curnow
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Curnow 2006-04-12 12:57:45 UTC
I would like to see the subant task log information on what build file and
target it is about to execute and when it finished. I see that it will print the
directory name as it enters it in verbose mode but this doesn't really give me
enough information.
Comment 1 Brian Curnow 2006-04-12 12:58:15 UTC
Created attachment 18082 [details]
Patch that adds the requested logging
Comment 2 Steve Loughran 2006-04-12 15:15:24 UTC
1. I think this should be at the -verbose level, not info. 

2. I actually think what is really needed is a new logger that lists more about
projects that just the task name.

i.e. instead of

     [echo] 1.4 build.compiler=jikes javac.compiler=jikes

you get

compile-source in /home/steve/Projects/core:
     [echo] 1.4 build.compiler=jikes javac.compiler=jikes

Comment 3 Brian Curnow 2006-04-12 15:52:54 UTC
(In reply to comment #2)
The problem with verbose is that it's so...verbose. We see a need to have this
information on every run of subant. Could we add a new flag that just controls
this output?

I really like #2, this would be very useful in general. If I had to vote, I'd
vote for #2 over #1.

Comment 4 Stefan Bodewig 2009-07-31 06:40:42 UTC

*** This bug has been marked as a duplicate of bug 32897 ***