Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
<executable-adapter>
    <environment-variables>
        <environment-variable name="ARC_HOME" value="/home/proc/arc" />
    </environment-variables>
    <templates>
        <template>
            <input>templates/auxprep.vm</input>
            <output>work/aux-get.py</output>
            <role>exec-before</role>
        </template>
        <template>
            <input>templates/params.vm</input>
            <output>work/params.txt</output>
            <role>source</role>
        </template>
        <template>
            <input>templates/auxdel.vm</input>
            <output>work/aux-del.py</output>
            <role>exec-after</role>
        </template>
    </templates>
    <command-line-executable>
        $ARC_HOME/bin/arc_processor.py ${inputFile} -o ${outputFile} -params work/params.txt
    </command-line-executable>
    <command-line-parsers>
       <progress-total>regexp-pattern</progress-total>
       <progress-percent>regexp-pattern</progress-percent>
       <progress-count>regexp-pattern</progress-count>
       <status-ok>regexp-pattern</status-ok>
       <status-failed>regexp-pattern</status-failed>
       <error-message>regexp-pattern</error-message>
       <!-- sometimes the actual output filename is not known, but the executable might output it>it -->
       <output-file>regexp-pattern</output-file>
    </command-line-parsers>  
</executable-adapter>