Creates and adds/replaces files in Progress library files
| Attribute | Description | Type | Requirement | Default value |
|---|---|---|---|---|
| DestFile | R-code library to create | File | Required | No default value |
| SharedFile !!NEW!! | Memory mapped library to create | File | Optional | No default value |
| Encoding | Character encoding used to store filenames. | String | Optional | ISO8859-1 |
| NoCompress | Disable library compression. | Boolean | Optional | False (i.e. compression enabled) |
| Basedir | The directory from which to store the files. | File | Optional | No default value |
| Includes | Comma- or space-separated list of patterns of files that must be included. All files are included when omitted. | String | Optional | No default value |
| IncludesFile | The name of a file. Each line of this file is taken to be an include pattern. | File | Optional | No default value |
| Excludes | Comma- or space-separated list of patterns of files that must be excluded. No files (except default excludes) are excluded when omitted. | String | Optional | No default value |
| ExcludesFile | The name of a file. Each line of this file is taken to be an exclude pattern. | File | Optional | No default value |
| DefaultExcludes | Indicates whether default excludes should be used or not ("yes"/"no"). Default excludes are used when omitted. | Boolean | Optional | True |
Adds a file set to the library
<PCTLibrary destfile="${dist}/mylib.pl" basedir="${build}"/>
stores all files in the ${build} directory into a file called mylib.pl in the ${dist} directory.
<PCTLibrary destfile="${dist}/mylib.pl" basedir="${build}" includes="**/*.r" excludes="test/*"/>
stores all .r files in the ${build} directory (and subdirectories) except from the files in the test subdirectory, into a file called mylib.pl in the ${dist} directory.
<PCTLibrary destfile="${dist}/mylib.pl">
<fileset dir="${build}">
<include name="**/*.r"/>
<exclude name="test/*"/>
</fileset>
</PCTLibrary>
is similar to the previous example, but using nested fileset.