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 7911 - Ant not generating useful output to netbeans output window
Summary: Ant not generating useful output to netbeans output window
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 3.x
Hardware: Other Windows ME/2000
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks: 7989
  Show dependency tree
 
Reported: 2000-10-13 20:17 UTC by John Zollinger
Modified: 2003-06-30 14:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Zollinger 2000-10-13 20:17:47 UTC
When a build target is run, all of the verbose information from ant is
generated to the netbeans Output Window, but none of the useful information is
(like the compile error, etc.)
Comment 1 Jesse Glick 2000-10-24 11:35:59 UTC
-verbose should be off by default. Ant output needs to be properly captured;
does using an Ant logger suffice, or will compilers send output untrapped to
stderr anyway? If the latter, need to use new NbClassLoader(InputOutput)
(probably a good idea anyway).
Comment 2 Jesse Glick 2000-10-30 14:01:59 UTC
Mostly fixed. Verbosity issue resolved. Some tasks (I only know of <echo>) in
fact send output to stdout/stderr rather than logging it, which means their
output still goes to IDE console. This should be fixed using e.g.
ExecutionEngine.execute(Runnable,...) which traps System I/O calls. (And a patch
for <echo> should be submitted.)
Comment 3 Jesse Glick 2000-10-31 09:51:59 UTC
*** Bug 8090 has been marked as a duplicate of this bug. ***
Comment 4 Jesse Glick 2000-11-05 19:08:59 UTC
Fixed, using execution engine now and so all output (logged messages,
exceptions, and stray System.* prints) goes to the Output Window tab.
Comment 5 Milan Kubec 2001-06-22 14:30:09 UTC
Verified in build 20010622
Comment 6 Quality Engineering 2003-06-30 14:47:03 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.