summaryrefslogtreecommitdiffstats
path: root/Mac/scripts
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1996-02-21 15:28:49 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1996-02-21 15:28:49 (GMT)
commit1023dffb36db8d34f642a9e5b1b62be6970636db (patch)
tree1a0a430585bc38acf5142e8e799d3e5073ab0b62 /Mac/scripts
parent22586993c5471e6ed09a7a34807acf33dee59ebf (diff)
downloadcpython-1023dffb36db8d34f642a9e5b1b62be6970636db.zip
cpython-1023dffb36db8d34f642a9e5b1b62be6970636db.tar.gz
cpython-1023dffb36db8d34f642a9e5b1b62be6970636db.tar.bz2
- AppleEvent timeout set to infinite
- Continue even if a build fails
Diffstat (limited to 'Mac/scripts')
-rw-r--r--Mac/scripts/fullbuild.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/Mac/scripts/fullbuild.py b/Mac/scripts/fullbuild.py
index 90e473c..3c9eead 100644
--- a/Mac/scripts/fullbuild.py
+++ b/Mac/scripts/fullbuild.py
@@ -12,12 +12,14 @@
import os
import sys
import macfs
+import MacOS
import addpack
addpack.addpack('Tools')
addpack.addpack('bgen')
addpack.addpack('AE')
import aetools
+import AppleEvents
from Metrowerks_Shell_Suite import Metrowerks_Shell_Suite
from Required_Suite import Required_Suite
@@ -38,12 +40,17 @@ def buildmwproject(top, creator, projects):
except 'foo':
print 'Not handled:', creator
return
+ mgr.send_timeout = AppleEvents.kNoTimeOut
+
for file in projects:
file = os.path.join(top, file)
fss = macfs.FSSpec(file)
print 'Building', file
mgr.open(fss)
- mgr.Make_Project()
+ try:
+ mgr.Make_Project()
+ except MacOS.Error, arg:
+ print '** Failed. Possible error:', arg
mgr.Close_Project()
mgr.quit()