I am completing the canton tutorial and would like to know the relation ship between
- canton-release, Releases · digital-asset/daml · GitHub
- canton github main branch, GitHub - digital-asset/canton: Global Workflow Composition that is Scalable, Secure, and GDPR-compliant
When I tried to build the main branch I got build failure:
$ java --version && sbt compile openjdk 11.0.12 2021-07-20 OpenJDK Runtime Environment (build 11.0.12+0-adhoc..source) OpenJDK 64-Bit Server VM (build 11.0.12+0-adhoc..source, mixed mode) [info] welcome to sbt 1.6.2 (N/A Java 17.0.1) [info] loading settings for project canton-build-build from plugins.sbt ... [info] loading project definition from /home/kayvan/dev/workspaces/workspace-proto/daml/canton/project/project [info] loading settings for project canton-build from buildinfo.sbt,license.sbt,plugins.sbt ... [info] loading project definition from /home/kayvan/dev/workspaces/workspace-proto/daml/canton/project [info] loading settings for project root from community-build.sbt,version.sbt ... [info] resolving key references (15555 settings) ... [info] set current project to canton (in build file:/home/kayvan/dev/workspaces/workspace-proto/daml/canton/) [info] Executing in batch mode. For better performance use sbt's shell [info] compiling 728 Scala sources to /home/kayvan/dev/workspaces/workspace-proto/daml/canton/community/common/target/scala-2.13/classes ... [error] /home/kayvan/dev/workspaces/workspace-proto/daml/canton/community/common/src/main/scala/slick/util/AsyncExecutorWithMetrics.scala:328:21: method getSecurityManager in class System is deprecated [error] Option(System.getSecurityManager).fold(Thread.currentThread.getThreadGroup)(_.getThreadGroup) [error] ^ [error] one error found [error] (community-common / Compile / compileIncremental) Compilation failed [error] Total time: 38 s, completed Aug 5, 2022, 12:57:35 PM
Maybe I am using the wrong JDK?
Here is the commit sha commit 9e5ec309ad5fe229e53ab668b6b180db67b555bc
I started using the the release link and had no outstanding issues. However, i would like to know if the release link is the build result from the github project and if so, investigate why my local build fails