Difference between revisions of "Build Verbosity"

From Apache OpenOffice Wiki
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
In CWS [http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300%2Fbuildverbosity buildverbosity], probably to be integrated into DEV300.m63, the work [http://blogs.sun.com/GullFOSS/entry/shut_up_or_better_tell started by Rüdiger Timm] a while ago has been continued (though probably not finished): The OpenOffice.org build now has extensive support for different verbosity levels.
+
In CWS [http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300%2Fbuildverbosity buildverbosity], probably to be integrated into DEV300.m63, the work [http://blogs.sun.com/GullFOSS/entry/shut_up_or_better_tell started by Rüdiger Timm] and [http://www.openoffice.org/issues/show_bug.cgi?id=84497 Michael Meeks] a while ago has been continued (though probably not finished): The OpenOffice.org build now has extensive support for different verbosity levels.
  
 
You control those levels by un/setting an environment variable VERBOSE, or by giving a <code>verbose=...</code> parameter to the <code>build</code> or <code>dmake</code> call. Three different levels are implemented:
 
You control those levels by un/setting an environment variable VERBOSE, or by giving a <code>verbose=...</code> parameter to the <code>build</code> or <code>dmake</code> call. Three different levels are implemented:
Line 11: Line 11:
 
</dl>
 
</dl>
  
Actually, the "normal" and the "quiet" level do not differ too much at the moment. Also, some places still emit too much noise even in quiet mode. However, all of this is considered a moving target, and can be improved incrementally.
+
There's still room for improvement - for instance, some places still emit too much noise even in quiet mode. Also,, the quiet and the normal mode currently do not differ very much. So, one option might be to make the quiet mode ''really'' quiet ...
 +
[[Category:Build System]]

Latest revision as of 22:40, 15 December 2009

In CWS buildverbosity, probably to be integrated into DEV300.m63, the work started by Rüdiger Timm and Michael Meeks a while ago has been continued (though probably not finished): The OpenOffice.org build now has extensive support for different verbosity levels.

You control those levels by un/setting an environment variable VERBOSE, or by giving a verbose=... parameter to the build or dmake call. Three different levels are implemented:

VERBOSE=TRUE or verbose=true
produces the most detailed output. In this mode, the build output is slightly more verbose than what you know up to milestone m62, echoing compiler command lines, and quite some (not all, not by far) commands executed by dmake
VERBOSE not set and verbose not given
produces "normal" output. Nearly no command echos anymore, much less "fill" output, and a lot of tools is less gossipy, too.
VERBOSE=FALSE or verbose=false
Even less output. On Unix platforms, this is near to the "one line of output per file" goal, but not quite there.

There's still room for improvement - for instance, some places still emit too much noise even in quiet mode. Also,, the quiet and the normal mode currently do not differ very much. So, one option might be to make the quiet mode really quiet ...

Personal tools