def __init__(self, project, config):
   BuildCmd.__init__(self)
   self._project = project
   self._config = config
   cwd = os.getcwd()
   trans = { " " : "_", "(" : None, ")" : None, "[" : None, "]" : None, "," : None }
   self._log = cwd + "\\UV4_{0}_{1}.log".format(self._config.translate(trans), datetime.now().strftime("%Y%m%d%H%M%S"))
Ejemplo n.º 2
0
 def __init__(self, project, config):
     BuildCmd.__init__(self)
     self._project = project
     self._config = config
     self._log = "UV4_{0}_{1}.log".format(
         self._config.translate(maketrans(" ", "_"), "()[],"),
         datetime.now().strftime("%Y%m%d%H%M%S"))
Ejemplo n.º 3
0
 def __init__(self, project, config, env=os.environ):
     BuildCmd.__init__(self, env=env)
     self._project = project
     self._config = config
     self._log = "iar_{0}.log".format(
         datetime.now().strftime("%Y%m%d%H%M%S"))
     self._env = env
Ejemplo n.º 4
0
 def __init__(self, project, config, env=os.environ, subcmd="build"):
     BuildCmd.__init__(self, env=env)
     self._project = project
     self._config = config
     self._subcmd = subcmd
     self._rtebuild = shutil.which("rtebuild.py")
     if not self._rtebuild:
         raise FileNotFoundError("rtebuild.py")
Ejemplo n.º 5
0
    def __init__(self, project, config):
        BuildCmd.__init__(self)
        self._project = project
        self._config = config

        workspace = os.getenv('WORKSPACE')
        if workspace:
            self._workspace = os.path.join(workspace, "eclipse")
        else:
            self._workspace = os.getenv('DSMDK_WORKSPACE')
        if not self._workspace:
            raise RuntimeError(
                "No DS-MDK workspace found, set either DSMDK_WORKSPACE or WORKSPACE in environment!"
            )
Ejemplo n.º 6
0
 def __init__(self, project, config):
   BuildCmd.__init__(self)
   self._project = project
   self._config = config
   self._log = "iar_{0}.log".format(datetime.now().strftime("%Y%m%d%H%M%S"))
Ejemplo n.º 7
0
 def __init__(self, project, config, subcmd="build"):
     BuildCmd.__init__(self)
     self._project = project
     self._config = config
     self._subcmd = subcmd
 def __init__(self, path, project, **kwargs):
   BuildCmd.__init__(self)
   self._path = path
   self._project = project
   self._workspace = kwargs['workspace']
   print self._workspace
Ejemplo n.º 9
0
 def __init__(self, model, app, **args):
   BuildCmd.__init__(self)
   self._model = model
   self._app = app
   self._args = args
Ejemplo n.º 10
0
 def __init__(self):
   BuildCmd.__init__(self)
Ejemplo n.º 11
0
 def __init__(self, model, app, **args):
   BuildCmd.__init__(self)
   self._model = model
   self._app = app
   self._args = args
Ejemplo n.º 12
0
 def __init__(self, project, config):
   BuildCmd.__init__(self)
   self._project = project
   self._config = config
   self._log = "UV4_{0}_{1}.log".format(self._config.translate(maketrans(" ", "_"), "()[],"), datetime.now().strftime("%Y%m%d%H%M%S"))
Ejemplo n.º 13
0
 def __init__(self, project, config, env=os.environ):
   BuildCmd.__init__(self, env=env)
   self._project = project
   self._config = config