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"))
Beispiel #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"))
Beispiel #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
Beispiel #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")
Beispiel #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!"
            )
Beispiel #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"))
Beispiel #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
Beispiel #9
0
 def __init__(self, model, app, **args):
   BuildCmd.__init__(self)
   self._model = model
   self._app = app
   self._args = args
Beispiel #10
0
 def __init__(self):
   BuildCmd.__init__(self)
Beispiel #11
0
 def __init__(self, model, app, **args):
   BuildCmd.__init__(self)
   self._model = model
   self._app = app
   self._args = args
Beispiel #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"))
Beispiel #13
0
 def __init__(self, project, config, env=os.environ):
   BuildCmd.__init__(self, env=env)
   self._project = project
   self._config = config