mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-17 15:57:21 +03:00
document Java 11 is needed; small release instruction problems found today (#12978)
In docs: * doc that we require Java 11, not 8 In release instructions: * mention everywhere that all-lowercase party entries should be made * wrong line number for variable go-to-defn check CHANGELOG_BEGIN CHANGELOG_END
This commit is contained in:
parent
e40f62f88a
commit
fceb9c1118
@ -29,7 +29,7 @@ With that, let's get started!
|
||||
Prerequisites
|
||||
*************
|
||||
|
||||
Make sure that you have the Daml SDK, Java 8 or higher, and Visual Studio Code (the only supported IDE) installed as per the instructions in :doc:`installation`.
|
||||
Make sure that you have the Daml SDK, Java 11 or higher, and Visual Studio Code (the only supported IDE) installed as per the instructions in :doc:`installation`.
|
||||
|
||||
You will also need some common software tools to build and interact with the template project:
|
||||
|
||||
|
@ -12,7 +12,7 @@ The Daml SDK currently runs on Windows, macOS and Linux.
|
||||
You need to install:
|
||||
|
||||
1. `Visual Studio Code <https://code.visualstudio.com/download>`_.
|
||||
2. JDK 8 or greater. If you don't already have a JDK installed, try `Eclipse Adoptium <https://adoptium.net>`_.
|
||||
2. JDK 11 or greater. If you don't already have a JDK installed, try `Eclipse Adoptium <https://adoptium.net>`_.
|
||||
|
||||
As part of the installation process you may need to set up the ``JAVA_HOME`` variable. You can find instructions for this process on :doc:`Windows,macOS, and Linux here <path-variables>`.
|
||||
|
||||
|
@ -160,12 +160,12 @@ A production setup of the *HTTP JSON API* will involve the following components:
|
||||
*HTTP JSON API* server exposes an API to interact with the Ledger and it uses JDBC to interact
|
||||
with its underlying query store for caching and serving data efficiently.
|
||||
|
||||
The *HTTP JSON API* server releases are regularly tested with OpenJDK 8 on a x86_64 architecture,
|
||||
The *HTTP JSON API* server releases are regularly tested with OpenJDK 11 on a x86_64 architecture,
|
||||
with Ubuntu 20.04, macOS 11.5.2 and Windows Server 2016.
|
||||
|
||||
In production, we recommend running on a x86_64 architecture in a Linux
|
||||
environment. This environment should have a Java SE Runtime Environment such
|
||||
as OpenJDK JRE and must be compatible with OpenJDK version 1.8.0_202 or later.
|
||||
as OpenJDK JRE and must be compatible with OpenJDK version 11.0.11 or later.
|
||||
We recommend using PostgreSQL server as query-store, most of our tests have
|
||||
been done with servers running version > 10.
|
||||
|
||||
|
@ -141,7 +141,7 @@ This testing procedure starts once the release is listed on the [releases page].
|
||||
1. Close VSCode.
|
||||
|
||||
1. As before, open two browser windows at `localhost:3000` and log
|
||||
in as `Alice` and `Bob`.
|
||||
in as `alice` and `bob`.
|
||||
|
||||
1. Make `Alice` follow `Bob`.
|
||||
|
||||
@ -171,7 +171,7 @@ This testing procedure starts once the release is listed on the [releases page].
|
||||
`cd myproject`.
|
||||
1. Run `daml start`.
|
||||
1. Open your browser at `http://localhost:7500`, verify that you can login as
|
||||
Alice and there is one contract, and that the template list contains
|
||||
alice and there is one contract, and that the template list contains
|
||||
`Main:Asset` among other templates.
|
||||
1. Kill `daml start` with `Ctrl-C`.
|
||||
1. Run `daml studio --replace=always` and open `daml/Main.daml`. Verify that
|
||||
@ -195,7 +195,7 @@ This testing procedure starts once the release is listed on the [releases page].
|
||||
1. Verify the new version is specified in `daml.yaml` as the `sdk-version`.
|
||||
|
||||
1. Run `daml start`. Your browser should be opened automatically at
|
||||
`http://localhost:7500`. Login as `Alice` and verify that there is
|
||||
`http://localhost:7500`. Login as `alice` and verify that there is
|
||||
1 contract, and that the templates list contains `Iou:Iou`, `Iou:IouTransfer`,
|
||||
and `IouTrade:IouTrade` among other templates.
|
||||
|
||||
@ -246,7 +246,7 @@ This testing procedure starts once the release is listed on the [releases page].
|
||||
> Maven settings. Check your `~/.m2/settings.xml` configuration and try
|
||||
> disabling them temporarily.
|
||||
|
||||
1. Point your browser to `http://localhost:7500`, login as `Alice` and verify
|
||||
1. Point your browser to `http://localhost:7500`, login as `alice` and verify
|
||||
that there is 1 contract, 1 owned IOU, and the templates list contains `Iou:Iou`, `Iou:IouTransfer`,
|
||||
and `IouTrade:IouTrade` among other templates.
|
||||
|
||||
@ -276,7 +276,7 @@ This testing procedure starts once the release is listed on the [releases page].
|
||||
1. Delete the `+1` and the `e` in the second `"Alice"` and verify
|
||||
that the script results are updated to the misspelled name.
|
||||
|
||||
1. Right click on `eurBank` in line 20 and verify that "Go to Definition"
|
||||
1. Right click on `eurBank` in line 28 and verify that "Go to Definition"
|
||||
takes you to the definition in line 17.
|
||||
|
||||
1. Close all files.
|
||||
|
Loading…
Reference in New Issue
Block a user