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 59396 - Permit Ant verbosity level to be set directly in Output Window
Summary: Permit Ant verbosity level to be set directly in Output Window
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 4.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2005-05-31 06:49 UTC by sviyer
Modified: 2008-06-06 15:24 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Patch to add an Ant Settings button to Output Window (4.81 KB, patch)
2008-05-30 17:11 UTC, Jesse Glick
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description sviyer 2005-05-31 06:49:40 UTC
Jbuilder allows redirection of ant out put to a log file.

This can be done via ant command line params.

No way to do this in NB - neither commandline option nor user interface option
( like setting output levels with the cbx )

Please allow for this. In fact a more general solution would be to allow for
providing the ant command line parameters.

In fact JB runs the ant.bat while NB seems to run ant straight from the jar ?

The output window itself should have the output levels and whether to log or not 
in the context menu. So that users do not have to go and set this for each
target execution (via the advanced option) or the tools/options setting.

It should be on the output window.

Cheers
NB Rocks.
Comment 1 Jesse Glick 2005-05-31 18:03:40 UTC
Re. redirection of output - use Save As in the output window (Ctrl-S).

Ant command-line parameters do not generally apply in NB since Ant is not
launched as an external process the way it is on the command-line. Do not plan
to support arbitrary parameters (e.g. custom listeners); best to do this sort of
thing from a command-line shell.

Narrowing scope to the last request - permit customization of output levels
directly in the output window. I don't think it's possible currently (no
infrastructure API for this) but it could be in the future. No immediate plans
to work on it.
Comment 2 Jesse Glick 2008-05-30 17:11:23 UTC
Created attachment 62183 [details]
Patch to add an Ant Settings button to Output Window
Comment 3 Jesse Glick 2008-05-30 17:14:08 UTC
I have a patch which simply adds a button with the usual "options" icon to the Output Window for Ant processes. When
clicked, it just opens the Options window with the Ant subcategory preselected. Pretty straightforward. Can I commit it?
Comment 4 Jesse Glick 2008-06-06 15:24:47 UTC
#b5666bbb0a00