Bug 1287633 - Have ./mach bootstrap provide instructions of how to add the environment setup script to the user's .mozconfig r?gps draft
authorNathan Hakkakzadeh <nhakkakzadeh@mozilla.com>
Mon, 18 Jul 2016 16:36:10 -0700
changeset 389733 a65a9688ad7cb2001c63ec596984b8780ec2cabe
parent 389732 5ea7f18b39ab5151f08b20a2eaf98816ec648cf5
child 525842 05bdb7626ba3d016944f1ddf1a73ccd92aaa13c3
push id23503
push userbmo:nhakkakzadeh@mozilla.com
push dateTue, 19 Jul 2016 22:58:43 +0000
reviewersgps
bugs1287633
milestone50.0a1
Bug 1287633 - Have ./mach bootstrap provide instructions of how to add the environment setup script to the user's .mozconfig r?gps MozReview-Commit-ID: 1oV9Ci99mYf
python/mozboot/mozboot/windows.py
--- a/python/mozboot/mozboot/windows.py
+++ b/python/mozboot/mozboot/windows.py
@@ -34,18 +34,20 @@ class WindowsBootstrapper(BaseBootstrapp
     MOBILE_ANDROID_COMMON_PACKAGES = [
         'wget'
     ]
 
     def __init__(self, **kwargs):
         if 'MOZ_WINDOWS_BOOTSTRAP' not in os.environ or os.environ['MOZ_WINDOWS_BOOTSTRAP'] != '1':
             raise NotImplementedError('Bootstrap support for Windows is under development. For now, use MozillaBuild '
                                       'to set up a build environment on Windows. If you are testing Windows Bootstrap support, '
-                                      'try `export MOZ_WINDOWS_BOOTSTRAP=1`')
+                                      'try `export MOZ_WINDOWS_BOOTSTRAP=1`. Also add `. $TOPSRCDIR/build/mozconfig.msys` to '
+                                      'your `.mozconfig`.')
         BaseBootstrapper.__init__(self, **kwargs)
+
         if not self.which('pacman'):
             raise NotImplementedError('The Windows bootstrapper only works with msys2 with pacman. Get msys2 at '
                                       'http://msys2.github.io/')
         print 'Using an experimental bootstrapper for Windows.'
 
     def which(self, name):
         return BaseBootstrapper.which(self, name + '.exe')