Example #1
0
    def __load_target_hash(self):
        try:
            key_list = bldreg.section_key_list('targets')
        except KeyError:
            return

        ## figure out the base absolute path
        base_path = ushell.posix_path(bldreg.get_value('build', 'path'))

        self.__target_hash = {}

        for key in key_list:
            target_path = ushell.join(
                base_path, ushell.posix_path(bldreg.get_value('targets', key)))
            
            self.__target_hash[key] = target_path
Example #2
0
    def __load_target_hash(self):
        try:
            key_list = bldreg.section_key_list('targets')
        except KeyError:
            return

        ## figure out the base absolute path
        base_path = ushell.posix_path(bldreg.get_value('build', 'path'))

        self.__target_hash = {}

        for key in key_list:
            target_path = ushell.join(
                base_path, ushell.posix_path(bldreg.get_value('targets', key)))

            self.__target_hash[key] = target_path
Example #3
0
 def process_checkins(self, dir):
     import bldreg
     print "Processing distribution checkins"
     for file in bldreg.section_key_list("distribute"):
         apply(self.checkin, (os.path.join(dir, file), ) +
               bldreg.get_value("distribute",file))
Example #4
0
 def process_checkins(self, dir):
     import bldreg
     print "Processing distribution checkins"
     for file in bldreg.section_key_list("distribute"):
         apply(self.checkin, (os.path.join(dir, file), ) +
               bldreg.get_value("distribute", file))