Merge pull request #362 from corda/clint-webcapsulefix

Webserver capsule now contains the correct caplet
This commit is contained in:
Clinton 2017-03-14 16:39:16 +00:00 committed by GitHub
commit 3b027345b0

View File

@ -51,7 +51,7 @@ dependencies {
task buildWebserverJar(type: FatCapsule) {
applicationClass 'net.corda.webserver.WebServer'
archiveName "corda-webserver-${corda_version}.jar"
applicationSource = files(project.tasks.findByName('jar'), '../build/classes/main/CordaCaplet.class', 'config/dev/log4j2.xml')
applicationSource = files(project.tasks.findByName('jar'), new File(project(':node').rootDir, 'node/build/classes/main/CordaCaplet.class'), 'config/dev/log4j2.xml')
from 'NOTICE' // Copy CDDL notice
capsuleManifest {