Consistentely apply Spring Data BOM across Spring Session modules

Fixes gh-709
This commit is contained in:
John Blum
2017-01-13 17:54:44 -08:00
parent aa3536a71a
commit 536156a4ec
13 changed files with 84 additions and 69 deletions

View File

@@ -41,12 +41,14 @@ task runGemFireServer(dependsOn: availablePort) {
println 'STARTING GEMFIRE SERVER...'
String classpath = sourceSets.main.runtimeClasspath.collect { it }.join(File.pathSeparator)
String gemfireLogLevel = System.getProperty('sample.httpsession.gemfire.log-level', 'warning')
String[] commandLine = ['java', '-server', '-ea',
"-Dspring.session.data.gemfire.port=$port",
"-Dsample.httpsession.gemfire.log-level="
+ System.getProperty('sample.httpsession.gemfire.log-level', 'warning'),
'-classpath', classpath, 'sample.ServerConfig']
String[] commandLine = [
'java', '-server', '-ea', '-classpath', classpath,
"-Dspring.session.data.gemfire.port=$port",
"-Dsample.httpsession.gemfire.log-level=" + gemfireLogLevel,
'sample.ServerConfig'
]
//println commandLine