From ae4dfc93da9c03349a51c5b011c89bd5a2a0e3cb Mon Sep 17 00:00:00 2001 From: Clinton Date: Wed, 19 Sep 2018 16:23:09 +0100 Subject: [PATCH] =?UTF-8?q?CORDA-2002:=20Adding=20new=20Cordform=20bootstr?= =?UTF-8?q?ap=20endpoint=20to=20move=20Cordapp=20JA=E2=80=A6=20(#3963)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * CORDA-2002: Adding new Cordform bootstrap endpoint to move Cordapp JAR copying back into Cordform --- .../nodeapi/internal/network/NetworkBootstrapper.kt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/node-api/src/main/kotlin/net/corda/nodeapi/internal/network/NetworkBootstrapper.kt b/node-api/src/main/kotlin/net/corda/nodeapi/internal/network/NetworkBootstrapper.kt index 4690b5e325..d0c987d1be 100644 --- a/node-api/src/main/kotlin/net/corda/nodeapi/internal/network/NetworkBootstrapper.kt +++ b/node-api/src/main/kotlin/net/corda/nodeapi/internal/network/NetworkBootstrapper.kt @@ -147,11 +147,19 @@ internal constructor(private val initSerEnv: Boolean, } } - /** Entry point for Cordform */ + /** Old Entry point for Cordform + * + * TODO: Remove once the gradle plugins are updated to 4.0.30 + */ fun bootstrap(directory: Path, cordappJars: List) { bootstrap(directory, cordappJars, copyCordapps = true, fromCordform = true) } + /** Entry point for Cordform */ + fun bootstrapCordform(directory: Path, cordappJars: List) { + bootstrap(directory, cordappJars, copyCordapps = false, fromCordform = true) + } + /** Entry point for the tool */ fun bootstrap(directory: Path, copyCordapps: Boolean) { // Don't accidently include the bootstrapper jar as a CorDapp!