Bug 50911 - Quieten NSIS so errors and warnings can be seen
Summary: Quieten NSIS so errors and warnings can be seen
Alias: None
Product: Tomcat 7
Classification: Unclassified
Component: Packaging (show other bugs)
Version: 7.0.10
Hardware: PC Windows XP
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2011-03-10 09:38 UTC by Sebb
Modified: 2011-03-11 12:38 UTC (History)
0 users

Patch to add /V2 flag (610 bytes, patch)
2011-03-10 09:38 UTC, Sebb
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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" "&" "&" (macro:FUNCTION_STRING_StrRep_Call:3)
 [exec] $ {StrRep} "$0" "$0" """ """ (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.