cpnz:ant-task

Performs an Apache ANT task.

Declaration

<p:declare-step type="cpnz:ant-task">
  <p:input port="source"/>
  <p:input port="parameters" kind="parameter"/>
  <p:output port="result" primary="false"/>
  <p:option name="task-class" required="true"/>
</p:declare-step>

index preprocessor ANT task called from the FO plugin pipelines

<cpnz:ant-task name="index-preprocess">
  <p:with-option name="task-class" select="'com.idiominc.ws.opentopic.fo.index2.IndexPreprocessorTask'" />
  <p:with-param name="input" select="resolve-uri($merged.file, $file-temp-base-uri)" />
  <p:with-param name="output" select="replace(resolve-uri('stage1.xml', $file-temp-base-uri), '^[^:]*:', '')" />
  <p:with-param name="indexConfig" select="resolve-uri('indexConfig', $file-temp-base-uri)" />
  <p:with-param name="locale" select="$document.locale" />
  <p:with-param name="catalogs" select="''" />
</cpnz:ant-task>