From 0a2b2c6cf43655abe8f8ee9832b2ab6f94de7e2b Mon Sep 17 00:00:00 2001 From: "mcmullen%netscape.com" Date: Tue, 2 Feb 1999 00:51:09 +0000 Subject: [PATCH] Write recent errors file to log file ALWAYS, so that the log file contains warnings, too. Get MacPerl to call WaitNextEvent() while doing manifest, so that you can get other work done during this lengthy process. --- build/mac/Moz.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build/mac/Moz.pm b/build/mac/Moz.pm index c012e4c687a3..5abec53d7b1d 100644 --- a/build/mac/Moz.pm +++ b/build/mac/Moz.pm @@ -30,6 +30,7 @@ B comprises the routines needed to slap CodeWarrior around, force it to bui package Moz; require Exporter; +use Mac::Events; @ISA = qw(Exporter); @EXPORT = qw(BuildProject BuildProjectClean OpenErrorLog MakeAlias StopForErrors DontStopForErrors InstallFromManifest SetBuildNumber SetAgentString SetTimeBomb Delay); @@ -245,7 +246,7 @@ sub build_project($$$) $had_errors = CodeWarriorLib::build_project( $project_path, $target_name, $recent_errors_file, $clean_build ); - + WaitNextEvent(); # $had_errors = #MacPerl::DoAppleScript(<import(); + WaitNextEvent(); print "Doing manifest on \"$manifest_file\"\n" unless $QUIET; my $read = maniread(full_path_to($manifest_file));