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.
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.
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.
Created attachment 62183 [details] Patch to add an Ant Settings button to Output Window
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?
#b5666bbb0a00