Bug 50911

Summary: Quieten NSIS so errors and warnings can be seen
Product: Tomcat 7 Reporter: Sebb <sebb>
Component: PackagingAssignee: Tomcat Developers Mailing List <dev>
Severity: enhancement    
Priority: P2    
Version: 7.0.10   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Attachments: Patch to add /V2 flag

Description Sebb 2011-03-10 09:38:59 UTC
Created attachment 26759 [details]
Patch to add /V2 flag

The NSIS phase currently generates so much output it is all but impossible to detect any warnings.

Using the switch /V2 restricts output to warnings and errors only.
Comment 1 Sebb 2011-03-10 09:59:56 UTC
FYI: with the patch in place, output looks like:

 [exec] MakeNSIS v2.46 - Copyright 1995-2009 Contributors
 [exec] See the file COPYING for license details.
 [exec] Credits can be found in the Users Manual.
 [exec] Command line defined: "NSISDIR=/usr/share/java/nsis-2.46"
 [exec] ----------------------------------------------------------------------
 [exec] NSIS String Functions Header File 1.09 - Copyright 2004 Diego Pedroso
 [exec] ----------------------------------------------------------------------
 [exec]  (D:\usr\share\java\nsis-2.46\Include\StrFunc.nsh:52)
 [exec] $ {StrRep} - Copyright 2004 Diego Pedroso - Based on functions by Hendri Adriaens (macro:STRFUNC_FUNC:11)
 [exec] $ {StrRep} "$0" "$0" "&" "&amp;" (macro:FUNCTION_STRING_StrRep_Call:3)
 [exec] $ {StrRep} "$0" "$0" """ "&quot;" (macro:FUNCTION_STRING_StrRep_Call:3)
 [exec] $ {StrRep} "$0" "$0" "<" "&lt;" (macro:FUNCTION_STRING_StrRep_Call:3)
 [exec] $ {StrRep} "$0" "$0" ">" "&gt;" (macro:FUNCTION_STRING_StrRep_Call:3)
Comment 2 Mark Thomas 2011-03-11 12:38:46 UTC
Fixed in 7.0.x and will be included in 7.0.12 onwards.