You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Batch script that made by universal:packageBin for Windows 10 starts my application.
Actual behaviour
"Input line is too long” error is shown.
Information
The problem is that the line set APP_CLASSPATH=... in batch file exceeds the Windows limit of 8,191 chars when dependency libraries in project increases.
It's able to avoid this limitation to divide into multiple lines instead of setting classpath on one line.
set "APP_CLASSPATH=%APP_LIB_DIR%\library1.jar"
set "APP_CLASSPATH=%APP_CLASSPATH%;%APP_LIB_DIR%\library2.jar"
set "APP_CLASSPATH=%APP_CLASSPATH%;%APP_LIB_DIR%\library3.jar"
...
This is a common problem on Windows. Splitting up the set APP_CLASSPATH=... onto multiple lines won't help: running the concatenated command string will fail due to the same 8192 character limit.
Expected behaviour
Batch script that made by
universal:packageBin
for Windows 10 starts my application.Actual behaviour
"Input line is too long” error is shown.
Information
The problem is that the line
set APP_CLASSPATH=...
in batch file exceeds the Windows limit of 8,191 chars when dependency libraries in project increases.It's able to avoid this limitation to divide into multiple lines instead of setting classpath on one line.
I think it seems to be enough to fix
in file BatStartScriptPlugin.scala to like follows
.
The text was updated successfully, but these errors were encountered: