mirror of
https://github.com/corda/corda.git
synced 2024-12-20 05:28:21 +00:00
Added a fix for the windows specific command line too long error when running the IRS demo.
This commit is contained in:
parent
f92ef3d9cf
commit
26217e5cd8
@ -101,6 +101,16 @@ task integrationTest(type: Test, dependsOn: []) {
|
||||
classpath = sourceSets.integrationTest.runtimeClasspath
|
||||
}
|
||||
|
||||
// This fixes the "line too long" error when running this demo with windows CLI
|
||||
// TODO: Automatically apply to all projects via a plugin
|
||||
tasks.withType(CreateStartScripts).each { task ->
|
||||
task.doLast {
|
||||
String text = task.windowsScript.text
|
||||
text = text.replaceFirst(/(set CLASSPATH=%APP_HOME%\\lib\\).*/, { "${it[1]}*" })
|
||||
task.windowsScript.write text
|
||||
}
|
||||
}
|
||||
|
||||
idea {
|
||||
module {
|
||||
downloadJavadoc = true // defaults to false
|
||||
|
Loading…
Reference in New Issue
Block a user