Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Fix 'the Input Is Too Long' Error on Windows #843

Merged
merged 7 commits into from Feb 19, 2019
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,9 @@ startScripts {
doLast {
unixScript.text = unixScript.text.replace('PANTHEON_HOME', '\$APP_HOME')
windowsScript.text = windowsScript.text.replace('PANTHEON_HOME', '%~dp0..')

// Prevent the error originating from the 8191 chars limit on Windows
windowsScript.text = windowsScript.text.replace('%CLASSPATH%', '%APP_HOME%\\lib\\*')
}
}

Expand Down