mirror of
https://github.com/corda/corda.git
synced 2024-12-21 05:53:23 +00:00
ec70478d70
* Updated to Corda 3.0, added support for PostgreSQL, added STAGING_ROOT environment variable, incorporating Watch improvements (Maks), Steps Provider interface for auto-scanning of 3rd party steps providers, re-implemented StepBlocks, new ScenarioRunner executable tool, additional Steps definitions (Vault, issue/transfer cash, cordapps), other minor bug fixes and logging improvements. * Updates incorporating PR review feedback. * Reverted back to original - will re-test in ENT. * Removed all SQL Server code (to be included in ENT only) * Minor updates following second PR review. * Fixed broken scenario tests. * Final fix for PostgreSQL scenario test.
32 lines
1.3 KiB
Bash
Executable File
32 lines
1.3 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
set -x
|
|
|
|
# Please ensure you run this script using source code (eg. GitHub master, branch or TAG) that reflects the version label defined below
|
|
# For example:
|
|
# corda-master => git clone https://github.com/corda/corda
|
|
# r3corda-master => git clone https://github.com/corda/enterprise
|
|
VERSION=corda-3.0
|
|
STAGING_DIR=deps/corda/${VERSION}
|
|
DRIVERS_DIR=deps/drivers
|
|
|
|
# Set up directories
|
|
mkdir -p ${STAGING_DIR}/apps
|
|
mkdir -p ${DRIVERS_DIR}
|
|
|
|
# Copy Corda capsule into deps
|
|
cd ../..
|
|
./gradlew clean :node:capsule:buildCordaJar :finance:jar
|
|
cp -v $(ls node/capsule/build/libs/corda-*.jar | tail -n1) experimental/behave/${STAGING_DIR}/corda.jar
|
|
|
|
# Copy finance library
|
|
cp -v $(ls finance/build/libs/corda-finance-*.jar | tail -n1) experimental/behave/${STAGING_DIR}/apps
|
|
|
|
# Download database drivers
|
|
curl "https://search.maven.org/remotecontent?filepath=com/h2database/h2/1.4.196/h2-1.4.196.jar" > experimental/behave/${DRIVERS_DIR}/h2-1.4.196.jar
|
|
curl -L "http://central.maven.org/maven2/org/postgresql/postgresql/42.1.4/postgresql-42.1.4.jar" > experimental/behave/${DRIVERS_DIR}/postgresql-42.1.4.jar
|
|
|
|
# Build Network Bootstrapper
|
|
./gradlew buildBootstrapperJar
|
|
cp -v $(ls tools/bootstrapper/build/libs/*.jar | tail -n1) experimental/behave/${STAGING_DIR}/network-bootstrapper.jar
|