Extracts files from a Progress Library file. Note that prolib executable isn't required, so the dlcHome attribute isn't needed as with other tasks.
| Attribute | Description | Type | Requirement | Default value |
|---|---|---|---|---|
| src | PL file to expand | File | Required | No default value |
| dest | Directory where to store expanded files | File | Required | No default value |
| overwrite | Overwrite files, even if they are newer than the corresponding entries in the archive (true or false, default is true) | Boolean | Optional | True |
PatternSets are used to select files to extract from the archive. If no patternset is used, all files are extracted.
<PLExtract src="${DLC}/src/prodict.pl" dest="prodict" />
Extracts prodict.pl from DLC/src directory to prodict subdirectory (in your base dir).
<PLExtract src="${DLC}/src/prodict.pl" dest="${tools.home}">
<patternset>
<include name="**/*.p" />
<exclude name="**/mss/*.p" />
</patternset>
</PLExtract>
Extracts prodict.pl from DLC/src directory to prodict subdirectory (in your base dir). *.p files from mss subdir are excluded.