2015-12-18 16:20:47 +03:00
|
|
|
description = 'dataforge-server'
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile project(':numass-storage')
|
2017-04-05 22:07:43 +03:00
|
|
|
compile "hep.dataforge:storage-servlet" // project(':dataforge-storage:storage-servlet')
|
2015-12-18 16:20:47 +03:00
|
|
|
compile 'commons-daemon:commons-daemon:1.+'
|
2017-04-05 22:07:43 +03:00
|
|
|
}
|
|
|
|
|
2017-04-07 20:58:29 +03:00
|
|
|
//processResources {
|
2017-04-05 22:07:43 +03:00
|
|
|
// from configurations.compile.files {"hep.dataforge:storage-servlet"}.find {'/src/main/resources/ratpack'}
|
2017-04-07 20:58:29 +03:00
|
|
|
//}
|
|
|
|
|
|
|
|
|
2017-04-11 17:01:34 +03:00
|
|
|
task runServer(dependsOn: classes, type: JavaExec){
|
|
|
|
group "numass"
|
|
|
|
description "Run numass server in current directory"
|
|
|
|
main 'inr.numass.server.ServerRunner'
|
|
|
|
classpath = sourceSets.main.runtimeClasspath
|
|
|
|
workingDir "D:\\Temp\\test\\"
|
|
|
|
standardInput = System.in
|
|
|
|
standardOutput = System.out
|
|
|
|
}
|