| Summary: | Make the build quieter | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Andrew Overholt <overholt> |
| Component: | Dash Athena | Assignee: | Common Build Inbox <dash.commonbuilder-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | nboldt |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | 265847 | ||
| Bug Blocks: | |||
|
Description
Andrew Overholt
Re: CVS: see bug 256379 comment 5 Re: SVN: Had a look at the source for the svn-pde-build plugin, and there's no support in there, or in svnant.jar, for the -q flag. This might require a much further upstream patch. Or perhaps adopt a newer version of svnClientAdapter.jar, svnjavahl.jar, or svnant.jar ? Alternatively, we could look at trying to make Ant redirect a portion of its log to another file (or /dev/null), eg., by wrapping <svn> calls with <exec output=""/> or <java output=""/> to launch ant to run the svn checkout. echo "[start] Build log is: $buildDir/buildlog.txt" # redirect all logged output to $buildDir/buildlog.txt touch $buildDir/buildlog.txt exec 2>&1 >$buildDir/buildlog.txt The above code (in start.sh) will redirect all output to a buildlog.txt file in the build's folder (which is what we do in Modeling, rather than dumping to some random file in /tmp/). However, a better solution here would be to use a wrapper like start_cron.sh which already creates the build folder and begins logging to a file therein. start_cron.sh needs to be updated to mesh with start.sh, ie., adding the new -projectid flag. (This is only tangentially related to this bug, but I didn't feel like opening another bug for this discussion.) If we manage to get to the point where we're using ant4eclipse instead of PDE to do SVN source fetches, we can simply set reallyquiet="true" and we'll suppress all the source checkout messages. See bug 265847. This won't get done. If you want a simple build of Eclipse products, features, plugins, or update sites / p2 repos, using CVS, SVN, Git, or any other Hudson-supported VCS/DVCS... I recommend using Tycho, which supports it natively. https://docs.sonatype.org/display/TYCHO/How+to+run+SWTBot+tests+with+Tycho http://anonsvn.jboss.org/repos/jbosstools/trunk/build/parent/pom.xml http://www.delicious.com/nickboldt/tycho https://docs.sonatype.org/display/TYCHO/Tycho+reference+card Then, pass in -q to make the logged output quieter, or -X for debug output. |