Skip to content

CreateOear

Matt Baker edited this page Jul 1, 2020 · 5 revisions

This is an experimental feature and does not necessarily work properly.

When this was written, the oear creation task in Openedge 12 had not been written yet. this needs rewrite to support the ant task that is now built into the product.

Example

task createOear(type: CreateOear) {
    projectDir = 'src/oe-services'
    projectName = 'POS'
    webappsDirs = ['src/war']
    plDirs = ['build']
    oearPath = 'build/'
    pfDir = 'src/pf'
}

Please refer to the latte-examples repository for an example of the files this task takes as input.

Use the command ./gradlew createOear to run this example.

If successful, there should be a POS.oear in your build folder.

Properties

Attribute Required Description Default value
projectDir Yes The root directory of the PDSOE project None
projectName Yes The name of the PDSOE project and the name of the .oear to be produced None
webappsDirs Yes An array of directories of .war files to be deployed None
oearPath Yes The output location of the .oear None
pfDir No A directory containing .pf files to be used on deployment None
plDirs No An array of directories of .pl's to be added None