The variables job is like a bean where any property can be set with any value.
Because names are properties, they can only be valid simple property
names. 'java.version' is not valid simple property because it is
interpreted as a value 'java' that has a property 'version'. To allow
these type of properties to be referenced in Oddjob use
properties.
| Example 1 | A simple variable. |
A simple variable.
<oddjob>
<job>
<sequential>
<jobs>
<variables id="vars">
<greeting>
<value value="Hello World"/>
</greeting>
</variables>
<echo name="Echo a Greeting">${vars.greeting}</echo>
</jobs>
</sequential>
</job>
</oddjob>