SDKv1 of Extractor

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?

2 Likes

The extractor is not released to Maven Central. It is however in the SDK tarball. So you can run it via daml extractor.

2 Likes

Indeed I’m not sure it was ever released to Maven

We used to release it to Bintray

We’ve stopped publishing sdk-components to 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 standalone jar. 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-binary from the v1.0.0 tag.

4 Likes

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.Main

That 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 get bazel running on the daml repo.

2 Likes