Skip to content

Commit 38741f4

Browse files
committed
WixHead : silence some debug msgs
1 parent 815c09a commit 38741f4

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/javaforce/utils/WixHeat.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
*
66
* Builds Wix files like heat does.
77
*
8+
* Heat was a util from wixtools/3.x
9+
*
810
* @author pquiring
911
*/
1012

@@ -13,6 +15,8 @@
1315
import java.util.*;
1416

1517
public class WixHeat {
18+
public static boolean debug = false;
19+
1620
private static void usage() {
1721
System.out.println("Usage:WixHeat input_folder output_xml resource_name base_folder [files...]");
1822
System.exit(1);
@@ -184,7 +188,7 @@ public static void main(String[] args) {
184188
cmp = "cmp_" + res_name + "_";
185189
dir = "dir_" + res_name + "_";
186190
try {
187-
System.out.println("WixHeat : input_folder=" + input_folder);
191+
if (debug) System.out.println("WixHeat : input_folder=" + input_folder);
188192
outHeader();
189193

190194
addFolder("APPLICATIONROOTDIRECTORY", "");

0 commit comments

Comments
 (0)