SDKv1 of Extractor
- Piyush_BediOP 2
Was a version of extractor published to Maven Central with the release of SDKv1?
If not, what’s the latest version of extractor code to work with? - cocreature 2
The extractor is not released to Maven Central. It is however in the SDK tarball. So you can run it via
daml extractor. - bernhard 4
Indeed I’m not sure it was ever released to Maven
We used to release it to Bintray
We’ve stopped publishing
sdk-componentsto Bintray now. Advice on new repositories was included in the SDK 1.0.0 release notes. As @cocreature said, the extractor, being considered a binary, is part of the SDK Release TAR ball.However, it’s no longer included there as a standalone
jar. If you need a standalonejar. The only way I know to obtain a stand-alone library or binary for SDK 1.0.0 is to build it from our repo:bazel build //extractor:extractor/bazel build //extractor:extractor-binaryfrom thev1.0.0tag. - Gary_Verhaegen 2
It’s a bit hacky and definitely not supported, but if you need an “executable” jar and don’t mind a bit of extra bloat, you can do something like:
cp ~/.daml/sdk/1.0.0/daml-sdk/daml-sdk.jar extractor.jar jar uvfe extractor.jar com.daml.extractor.MainThat will give you a jar that you can use exactly like the one created by
bazel build //extractor:extractor-binary, though it does also include the code for a number of other DAML SDK tools. In exchange for that code bloat, it should be quite a bit easier to setup than the required dev setup to getbazelrunning on the daml repo.