pkgforce
Provides utility functions for the handling collections of Salesforce metadata. The library is implemented in Scala in a style that allows it to be compiled for either use on both JVM or node. This library was originally part of
ApexLink which can perform static analysis of Apex code and support Salesforce IDEs. It has been spun out to allow it to be used for other tasks.
API Model (TODO)
The library is mostly written in Scala to support dual building for Java & JS. This model works well when you are also using Scala but it more awkward for JS or Java clients. As I a only consume this from other Scala code I have not yet created a stable API to make this easier. Please feel free to create an Issue for anything you would like to re-use.
Java Distribution via Maven
To use in a JVM project
<dependency>
<groupId>com.github.nawforce</groupId>
<artifactId>pkgforce</artifactId>
<version>1.2.0</version>
</dependency>
Building
The dual build (Java & JS) is handled by sbt:
sbt build
To run tests:
sbt test
Source & Licenses
All the source code included uses a 3-clause BSD license. The only third-party component included is the Apex Antlr4 grammar originally from Tooling-force.com, although the version used is now markedly different from the original.