Ejemplo n.º 1
0
 def __init__(self, moduleName):
     fsep = PlatformProperty.FileSep
     self.ModuleName = moduleName.lower()
     self.ProjectBaseDir = FileUtils.getWorkingDir() + fsep
     self.ModuleBaseDir = 'app' + fsep + 'modules' + fsep
     self.ModuleDir = self.ModuleBaseDir + self.ModuleName + fsep
     self.ConfDir = 'app' + fsep + 'conf' + fsep
     self.TemplateDir = FileUtils.getParentDir(
         __file__) + fsep + 'templates' + fsep
Ejemplo n.º 2
0
 def __init__(self, moduleName):
     fsep = PlatformProperty.FileSep
     self.ModuleName = moduleName.lower()
     self.ProjectBaseDir = FileUtils.getWorkingDir()+fsep
     projectDirArray = self.ProjectBaseDir.strip(fsep).split(fsep)
     self.ProjectName = projectDirArray[len(projectDirArray)-1].lower()
     self.ModuleBaseDir = 'app'+fsep+'modules'+fsep
     self.ModuleDir = self.ModuleBaseDir+self.ModuleName+fsep
     self.ConfDir = 'app'+fsep+'conf'+fsep
     self.TemplateDir = FileUtils.getParentDir(__file__)+fsep+'templates'+fsep