Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
From the workflow schema you'll see:
<xs:element name="java-opts" type="xs:string" minOccurs="0" maxOccurs="1"/>
However, 'arg' is:
<xs:element name="arg" type="xs:string" minOccurs="0"
maxOccurs="unbounded"/>
Notice the 'maxOccurs' difference.
Instead of having:
<java-opts>-Dparam1=val1 -Dparam2=val2 -Dparam3=val3 ...</java-opts>
It would be easier to have:
<java-opt>-Dparam1=val1</java-opt>
<java-opt>-Dparam2=val2</java-opt>
<java-opt>-Dparam3=val3</java-opt>
...
Just like we can do with <arg>. Hence, the inconsistency.