This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 171241 - "build time" display in output console
Summary: "build time" display in output console
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-01 11:28 UTC by eedoh
Modified: 2009-09-01 14:53 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description eedoh 2009-09-01 11:28:21 UTC
Hi!

IMHO it would be great if there's actual time displayed in output console showing when exactly build is finished. I know
I needed this several times for the last few days, and implementation shouldn't be complicated. Hope to see this in next
version :D.
Comment 1 Peter Pis 2009-09-01 11:31:06 UTC
Reassigning.
Comment 2 Jesse Glick 2009-09-01 14:53:07 UTC
I cannot remember hearing any other requests for something like this (usually you just care about the duration of a
build), and we generally prefer to reduce noise in the console output where possible. If you want this you can write it
as an independent module, publish it on plugins.netbeans.org, and see if others like it:

http://bits.netbeans.org/dev/javadoc/org-apache-tools-ant-module/org/apache/tools/ant/module/spi/AntLogger.html

It's going to be something like this:

@ServiceProvider(service=AntLogger.class, position=101)
public class BuildTimeDisplayer extends AntLogger {
  public @Override interestedInSession(Session s) {return true;}
  public @Override buildFinished(AntEvent e) {e.getSession().println(new Date(), true, null);}
}