sr ProjectX.xmlHowever, there are plenty of variations. The shell script
srsetups the environment and runs
java com.massimo.tools.scriptrunner.MainThis takes arguments
[-c cxns.xml] [-Dname=value] [-Llevel] [--document | --run=N | --validate] run.xmlwhere
connectionselement. A duplicate dataSourceName will not be added to run.xml's /task/connections.
The command syntax is only part of the story, however. The crucial decision is the choice of how the audt trail will be persisted, that is of the ExecutionContext implementation and instance.
For database implementations, a connection with
dataSourceName="srAudit" must be defined.
For the file context, the property
sruns should be defined to be the parent directory of the
sruns directory. If omitted, the current working directory is assumed.
The run progress can be viewed during the run. For a database-backed ExecutionContext, select from the appropriate view (Oracle:
sr.run_progress). For the FileExecutionContext, use the shell script