Versions Compared

Key

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

...

Each <job> may have the following attributes and an <os> attribute:

AttributeDefaultDescriptionMandatory
name
(not set)name given to the step the jobyes
condition
(not set)IzPack condition ID for running the jobno
catchfalseJob runs only in the event of other jobs failingno
finalfalseJob runs always, whether previous jobs succeed or notno

Catch and Final jobs

The 'catch' and 'final' attributes for a process panel job are used to create a try/catch/final structure for your processes. If a standard job (one without catch or final) fails, the process panel will skip the remaining jobs and exit with a failure.

...

<executeFile>- Execute Shell Scripts

The executeFile element has the following attributes:

AttributeValueDefaultDescriptionMandatory
name
string(not set)Name of the file to executeyes
workingDir
string(not set)Working directory of the process spawned by the ProcessBuilder objectno
onErrorask | failask

Controls the behaviour when the file exits with a non-zero exit code.

ask: Prompt the user whether or not to continue.

fail: Do not allow continuation.


Since: IzPack 5.1.0

no

In addition to <arg> elements, the <executefile> element also accepts <env> elements to set variables in the environment of the target process. This can be useful if this process requires some environment variables, such as its installation directory, to work properly. An <env> element has the following syntax: <env>variable=value</env>. Note the element supports variable substitution, for example: <env>MY_PRODUCT_HOME=$INSTALL_PATH</env>.

...