Description
Download OpenEdge dependencies from a VSCode project configuration file into a .dependencies folder in the current directory by default, and create a path object that can be referenced in any other task.
Maven settings are read from .m2/settings.xml in the user home directory, but can be overridden with the MAVEN_SETTINGS environment variable. The local repository is stored by default in .m2/repository, but can be overridden with the LOCAL_M2_REPO environment variable.
XML namespace
<pct:dependencies />
Parameters
| Attribute | Description | Default value |
|---|---|---|
| srcFile | VSCode project configuration file | openedge-project.json |
| pathId | Identifier of the path object | None |
| assemblies | Directory where assemblies.config file is created | None |
Examples
Example 1
<PCTDependencies pathId="vscode" assemblies="src/assemblies" />
<PCTCompile destdir="target/build" dlcHome="${DLC}" assemblies="src/assemblies" relativePaths="true">
<fileset dir="src/main/abl" includes="**/*.cls,**/*.p,**/*.w" />
<propath>
<pathelement location="src/main/abl" />
<path refid="vscode"/>
</propath>
<DBConnection dbName="sports" dbDir="target/db" readOnly="true" />
</PCTCompile>
Will download all dependencies into the .dependencies directory, then compile src/main/abl with propath referencing the source directory and all dependencies.
