Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

input too long for win10 #1327

Closed
robstoll opened this issue Apr 9, 2020 · 3 comments
Closed

input too long for win10 #1327

robstoll opened this issue Apr 9, 2020 · 3 comments
Labels

Comments

@robstoll
Copy link

robstoll commented Apr 9, 2020

Expected behaviour

Running the generated bat file should work without modifications

Actual behaviour

We run into the problem that set "APP_CLASSPATH=%APP_LIB_DIR%\..." is too long for Windows 10

Information

A quick fix is to change this line to set "APP_CLASSPATH=%APP_LIB_DIR%\*" I don't know why this was not done anyway (is supported since jdk 7 I think).
I happily create a PR if I get some pointers to implement the quick fix

  • What sbt-native-packager are you using: v1.7.0 - universal
  • What sbt version 1.3.8
  • What is your build system (e.g. Ubuntu, MacOS, Windows, Debian ) ubuntu
  • What package are you building (e.g. docker, rpm, ...) universal zip
  • What is your target system (e.g. Ubuntu 16.04, CentOS 7) Windows 10
@nigredo-tori
Copy link
Collaborator

@robstoll, here are a few supported ways to deal with this.

@robstoll
Copy link
Author

robstoll commented Apr 9, 2020

ah great, I guess this should help. I'll try out enablePlugins(LauncherJarPlugin) and give feedback

@robstoll
Copy link
Author

robstoll commented Apr 9, 2020

yes, works, thanks for the quick response 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants