RestGen - niandy/pct GitHub Wiki
Description
Exports OpenEdge Mobile or REST applications
XML namespace
<pct:restgen />
Parameters
| Attribute | Description | Default value |
|---|---|---|
| projectDir ‡ | Project directory name (with .services directory) | None |
| services ‡ | Colon separated list of Service names | None |
| type ‡ | One of paar, mobpaar, restwar, mobwar, mobappwar, onlymobapp |
|
| destFile ‡ | Destination file name | |
| includeJars | Include JARs from $DLC/rest/lib |
False |
† Only one of those attributes is mandatory ‡ Mandatory attribute
Parameters as nested elements
None
Examples
Example 1
<RestGen dlcHome="${DLC}" projectDir="." destFile="dist/REST.zip" type="paar" services="RestProjectService" />
Will generate PAAR file for RestProjectService in current directory
Example 2
<RestGen dlcHome="${DLC}" projectDir="." destFile="dist/REST.zip" type="paar" services="RestProjectService" pdsHome="/path/to/oeide" />
Same as previous example, but will use Eclipse JAR files from /path/to/oeide. This directory needs to be a copy of the directory of the same name on a Windows installation. Useful for UNIX REST generation.