Esempio n. 1
0
    def __init__(self):
        self.__extVersion = SessionData.getExtJSVersion()
        self.__staticPaths = HandlerMgr().getPaths("static")
        self.__extensions = getInstalledExtensions()
        self.__webAppPath = os.path.dirname(self.__staticPaths[-1])
        self.__extPath = os.path.join(self.__webAppPath, "static", "extjs",
                                      self.__extVersion)
        self.__sdkPath = os.path.join(self.__webAppPath, "static", "extjs",
                                      self.__extVersion, "src")
        self.__appDependency = CompilerHelper().getAppDependencies()

        self.__classPaths = [
            os.path.join(self.__webAppPath, *p)
            for p in (("static", "core", "js", "utils"), ("static", "core",
                                                          "js", "core"))
        ]
        self.__classPaths.append(
            os.path.join(self.__extPath, "examples", "ux", "form"))

        self.__debugFlag = str(gLogger.getLevel() in ('DEBUG', 'VERBOSE',
                                                      'INFO')).lower()
        self.__inDir = os.path.join(os.path.dirname(self.__webAppPath), "Lib",
                                    "CompileTemplates")

        self.__senchacmddir = os.path.join(rootPath, "sbin", "Sencha", "Cmd")
        self.__senchaVersion = "v6.5.0.180"
Esempio n. 2
0
  def __init__( self ):
    self.__extVersion = SessionData.getExtJSVersion()
    self.__staticPaths = HandlerMgr().getPaths( "static" )
    self.__extensions = getInstalledExtensions()
    self.__webAppPath = os.path.dirname( self.__staticPaths[-1] )
    self.__extPath = os.path.join( self.__webAppPath, "static", "extjs", self.__extVersion )
    self.__sdkPath = os.path.join( self.__webAppPath, "static", "extjs", self.__extVersion, "src" )

    self.__classPaths = [ os.path.join( self.__webAppPath, *p ) for p in ( ("static", "core", "js", "utils" ),
                                                                           ("static", "core", "js", "core" ))]
    self.__classPaths.append( os.path.join( self.__extPath, "examples", "ux", "form" ) )

    self.__debugFlag = str( gLogger.getLevel() in ( 'DEBUG', 'VERBOSE', 'INFO' ) ).lower()
    self.__inDir = os.path.join( os.path.dirname( self.__webAppPath ), "Lib", "CompileTemplates" )