Skip to content
Gilles QUERRET edited this page Jan 3, 2018 · 11 revisions

Description

Stores the Progress version in properties.

XML namespace

<pct:progress_version />

Parameters

Attribute Description Default value
dlcHome ‡ Progress installation directory None
majorVersion Major version (extracts "10" from 10.0B02)
minorVersion Minor version (extracts "0" from 10.0B02)
revision Revision (extracts "B" from 10.0B02)
patchLevel Patch level (extracts "02" from 10.0B02)
fullVersion Extracts the full string from $DLC/version
reducedVersion Extracts only the version from $DLC/version
rcodeVersion R-Code version

† Only one of those attributes is mandatory ‡ Mandatory attribute

Parameters as nested elements

None

Examples

<ProgressVersion dlcHome="/path/to/dlc" majorVersion="major" minorVersion="minor" patchLevel="patch" fullVersion="full" />
<echo message="${major} -- ${minor} -- ${patch}" />
<echo message="${full}" />

could display the following string :

[echo] 11 -- 1 -- 0
[echo] OpenEdge Release 11.1 as of Fri Jun 15 19:01:20 EDT 2012

Clone this wiki locally