Rename fat jar in build and docs (#1578)

This commit is contained in:
Christian Sailer
2018-11-21 09:35:38 +00:00
committed by GitHub
parent 94dd223662
commit 01387d082a
2 changed files with 9 additions and 5 deletions

View File

@ -9,10 +9,11 @@ File Contents
The performance test suite comes as a zip file containing the following files: The performance test suite comes as a zip file containing the following files:
``jmeter-corda.jar`` ``jmeter-corda-<version>-capsule.jar``
The JAR file that contains the wrapped JMeter code to to drive performance tests. The JAR file that contains the wrapped JMeter code to to drive performance tests. This is a fat jar that contains all the required
dependencies to run the JMeter application. It will be referred to as ``jmeter-corda.jar`` in the rest of this documentation
``perftestcordapp.jar`` ``perftestcordapp-<version>.jar``
The performance test CorDapp used in for the built-in samplers and the included sample test plans. This needs to The performance test CorDapp used in for the built-in samplers and the included sample test plans. This needs to
be deployed to any node of the system under test if these test plans will be used. be deployed to any node of the system under test if these test plans will be used.

View File

@ -136,7 +136,7 @@ capsule {
// No additional args required but will be passed if specified. // No additional args required but will be passed if specified.
task buildJMeterJAR(type: FatCapsule) { task buildJMeterJAR(type: FatCapsule) {
applicationClass mainClassName applicationClass mainClassName
archiveName "jmeter-corda-${corda_release_version}.jar" archiveName "jmeter-corda-${corda_release_version}-capsule.jar"
applicationSource = jar applicationSource = jar
from 'NOTICE' // Copy CDDL notice from 'NOTICE' // Copy CDDL notice
from(processResources) { from(processResources) {
@ -161,7 +161,7 @@ task buildJMeterJAR(type: FatCapsule) {
task buildReleasePackage(type: Zip) { task buildReleasePackage(type: Zip) {
baseName = "corda-performance-testsuite" baseName = "corda-performance-testsuite"
from (buildJMeterJAR){ from (buildJMeterJAR){
include "jmeter-corda*.jar" include "jmeter-corda-*-capsule.jar"
} }
from (configurations.compile.files){ from (configurations.compile.files){
include "corda-ptflow*.jar" include "corda-ptflow*.jar"
@ -179,6 +179,9 @@ assemble.dependsOn buildReleasePackage
artifacts { artifacts {
runtimeArtifacts buildJMeterJAR runtimeArtifacts buildJMeterJAR
publish buildJMeterJAR { publish buildJMeterJAR {
classifier "capsule"
}
publish jar {
classifier "" classifier ""
} }
} }