Skip to content
Gilles QUERRET edited this page Apr 3, 2015 · 11 revisions

ProgressVersion task -- <pct:progress_version />

Description

Stores the Progress version in properties.

Parameters

Attribute Description Type Requirement Default value
dlcHome Progress installation directory File Required No default value
majorVersion Major version (extracts "10" from 10.0B02) String Optional
minorVersion Minor version (extracts "0" from 10.0B02) String Optional
revision Revision (extracts "B" from 10.0B02) String Optional
patchLevel Patch level (extracts "02" from 10.0B02) String Optional
fullVersion Extracts the full string from $DLC/version String Optional
reducedVersion Extracts only the version from $DLC/version String Optional
arch Property is set to "32 bits" or "64 bits" String Optional
rcodeVersion R-Code version String Optional

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