Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: corrected type (and name) of condition

...

Code Block
<condition type="compareversionscomparenumerics" id="isValidWrapperJavaVersionisValidNumber">
    <arg1>${my_number}</arg1>
    <arg2>1000</arg2>
    <operator>lt</operator>
</condition>

...

The CompareNumerics condition takes three elements : a name, a value and an operator.

name

The name of the variable which will compared. The value of the variable must be an integer.

value

...

arg1

This is a mandatory nested element, defining the left numeric value to compare. Any string is allowed, IzPack will try to resolve it as a version string.

arg2

This is a mandatory nested element, defining the right numeric value to compare. Any string is allowed, IzPack will try to resolve it as a version string.

operator

This is a mandatory nested element, specifying the comparison operation to apply

...