mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
Tackle comments from code review and fix bad merge on version
This commit is contained in:
parent
d3309c1171
commit
3dc8a95d69
@ -46,7 +46,7 @@ allprojects {
|
||||
|
||||
// Our version: bump this on release.
|
||||
group 'com.r3corda'
|
||||
version '0.2-SNAPSHOT'
|
||||
version '0.3-SNAPSHOT'
|
||||
}
|
||||
|
||||
repositories {
|
||||
@ -192,7 +192,7 @@ applicationDistribution.into("bin") {
|
||||
}
|
||||
|
||||
task createCapsule(type:FatCapsule, dependsOn: 'quasarScan') {
|
||||
applicationClass 'com.r3corda.standalone.MainKt'
|
||||
applicationClass 'com.r3corda.node.MainKt'
|
||||
|
||||
capsuleManifest {
|
||||
appClassPath = ["jolokia-agent-war-${project.ext.jolokia_version}.war"]
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.r3corda.standalone
|
||||
package com.r3corda.node
|
||||
|
||||
import com.r3corda.node.services.config.FullNodeConfiguration
|
||||
import com.typesafe.config.ConfigFactory
|
||||
@ -68,6 +68,7 @@ fun main(args: Array<String>) {
|
||||
val node = conf.createNode()
|
||||
node.start()
|
||||
try {
|
||||
// TODO create a proper daemon and/or provide some console handler to give interactive commands
|
||||
while (true) Thread.sleep(Long.MAX_VALUE)
|
||||
} catch(e: InterruptedException) {
|
||||
node.stop()
|
Loading…
Reference in New Issue
Block a user