Difference between revisions of "STEM Headless"

From Eclipsepedia

Jump to: navigation, search
(New page: == Headless STEM Command Line Options == <code>stem -headless [-quiet] [-log [LOG_DIRECTORY]] [-uri [URI1 URI2 ...]] [-project PROJECT_NAME] [-scenario [SCENARIO1.scenario ...]] </code> ...)
 
(Headless STEM Command Line Options)
Line 2: Line 2:
  
  
<code>stem -headless [-quiet] [-log [LOG_DIRECTORY]] [-uri [URI1 URI2 ...]] [-project PROJECT_NAME] [-scenario [SCENARIO1.scenario ...]] </code>
+
<code>stem -headless [-quiet] [-log [LOG_DIRECTORY]] [-uri URI1 [...]] [-project PROJECT_NAME [-scenario SCENARIO1.scenario [...]]] </code>
  
 
'''Command Descriptions'''
 
'''Command Descriptions'''
Line 10: Line 10:
  
 
'''-quiet'''
 
'''-quiet'''
: STEM headless will run in quiet mode.  Nothing will be written to ''standard out'' (stdout).  Errors and exceptions may still be sent to ''standard error'' (stderr).
+
: ''Optional'' STEM headless will run in quiet mode.  Nothing will be written to ''standard out'' (stdout).  Errors and exceptions may still be sent to ''standard error'' (stderr).
  
 
'''-log [LOG_DIRECTORY]'''
 
'''-log [LOG_DIRECTORY]'''
: Tell the STEM simulator to attach a comma-separated value (CSV) logger to any simulations.  Optional parameter ''LOG_DIRECTORY'' represents the absolute path to the parent directory for logs.  If LOG_DIRECTORY is not present, logs will go to the default directory.
+
: ''Optional'' attachs a comma-separated value (CSV) logger to all simulations.  Optional additional value ''LOG_DIRECTORY'' represents the path to the parent directory for logs.  If LOG_DIRECTORY is not set, logs will go to the default log directory for the simulation (''projectName/Recorded Simulations'' folder).
 +
 
 +
'''-uri URI1 [...]'''
 +
:  ''Optional'' A list of one or more STEM resource URIs pointing to scenarios to launch and simulate.
 +
 
 +
'''-project PROJECT_NAME'''
 +
: ''Optional'' A single project name for which to launch and simulate scenarios.  If no '''-scenario''' parameter is specified, all scenarios in the given project will be run.
 +
 
 +
'''-scenario SCENARIO1.scenario [...]'''
 +
: ''Optional, dependent on -project''.  A list of one or more scenario files contained in the given '''-project''' to launch and run.  If no '''-scenario''' is defined, all scenarios in the given project will be run.

Revision as of 16:39, 14 March 2011

Headless STEM Command Line Options

stem -headless [-quiet] [-log [LOG_DIRECTORY]] [-uri URI1 [...]] [-project PROJECT_NAME [-scenario SCENARIO1.scenario [...]]]

Command Descriptions

-headless

Tells the STEM Launcher to use the headless mode, e.g. not to launch the GUI workbench.

-quiet

Optional STEM headless will run in quiet mode. Nothing will be written to standard out (stdout). Errors and exceptions may still be sent to standard error (stderr).

-log [LOG_DIRECTORY]

Optional attachs a comma-separated value (CSV) logger to all simulations. Optional additional value LOG_DIRECTORY represents the path to the parent directory for logs. If LOG_DIRECTORY is not set, logs will go to the default log directory for the simulation (projectName/Recorded Simulations folder).

-uri URI1 [...]

Optional A list of one or more STEM resource URIs pointing to scenarios to launch and simulate.

-project PROJECT_NAME

Optional A single project name for which to launch and simulate scenarios. If no -scenario parameter is specified, all scenarios in the given project will be run.

-scenario SCENARIO1.scenario [...]

Optional, dependent on -project. A list of one or more scenario files contained in the given -project to launch and run. If no -scenario is defined, all scenarios in the given project will be run.