Beispiel #1
0
 def load(self, path):
     self.path = os.path.realpath(path)
     self.mf  = manifest(self.cfg)
     
     if not os.path.exists(path):
         raise error("Project not found at '" + path + "'")
     mf_xml_path = path + '/AndroidManifest.xml'
     if not os.path.exists(mf_xml_path):
         raise error("AndroidManifest.xml not found at " + path)
     self.mf.load(mf_xml_path)
     self.reload_project_properties()
Beispiel #2
0
 def __init__(self, cfg):
     self.cfg = cfg
     self.mf  = manifest(cfg)
     self.projectprops = []
     self.path = ''