Paar
- Last Updated: March 25, 2026
- 1 minute read
- OpenEdge DevOps Framework
- Version 2.4
- Documentation
The Paar task type is used for packaging REST services.
The Paar task types expects the availability of PAS for OpenEdge server
project with all relevant files and folders such as .service/,
PASOEContent/, and so on.
Paar extends from Jar task type of Gradle and hence
supports all the properties and methods supported by Jartask type. The
following tables describe the extra configurations added by the Paar
task type along with some common configurations inherited from the Jar
task type of Gradle.
Methods
| Method | Description | Example |
|---|---|---|
manifest(configureClosure) |
Configures the manifest for the Execute the given closure configuration to configure the |
|
Properties
| Property | Required? | Description | Example | Default value |
|---|---|---|---|---|
serviceName |
Yes |
The name of the ABL service. |
|
None |
archiveBaseName |
No |
The base name of the archive. |
|
|
archiveAppendix |
No |
The appendix part of the archive name, if any. |
|
None |
archiveVersion |
No |
The version part of the archive name. |
|
None |
archiveClassifier |
No |
The classifier part of the archive name, if any. |
archiveClassifier ="source" |
None |
archiveExtension |
No |
The extension used for the |
archiveExtension ="customExt" |
|
archiveFileName |
No |
Displays the archive name in the following
format:
|
archiveFileName="myArchive.customExt" |
${serviceName}.paar" |
destinationDirectory |
Yes |
The directory where the archive is placed. |
destinationDirectory=project.file
"${buildDir}/dist" |
project.distsDir |
manifest |
No |
The manifest for the You can configure it the same way as you configure Note: The format
for
Build-Date is DateTimeFormatter
.ISO_OFFSET_DATE_TIME. |
|
|
projectLocation |
Yes |
Specifies the path to the Progress Developer Studio for OpenEdge server project. |
projectLocation=project.file
"<path-to-project>" |
None |
verbose |
No |
Use this property to enable logs. |
|
|
Sample code snippet
paar task
type:task createPaar(type: Paar) {
serviceName = "myABLRestService"
projectLocation = project.file "./"
destinationDirectory = project.file "$buildDir/dist"
verbose = true
manifest {
attributes "Implementation-Title": "My ABL REST Service"
attributes "Implementation-Version": "1.0.0"
from ("PASOEContent/META-INF/MANIFEST.MF")
}
}