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

Classpath in .bat starter script too long for Windows system #153

Open
AgenoDrei opened this issue Nov 29, 2017 · 0 comments
Open

Classpath in .bat starter script too long for Windows system #153

AgenoDrei opened this issue Nov 29, 2017 · 0 comments

Comments

@AgenoDrei
Copy link

Bug

Ff you start the provconvert .bat script on a windows plattform (in my case Windows 7 Professional) it will not execute because the command is bigger than 8192 characters (https://support.microsoft.com/en-us/help/830473/command-prompt-cmd--exe-command-line-string-limitation).

You will just get a error and the script will exit.

Possible Solution

You can use the appassembler-booter (http://www.mojohaus.org/appassembler/appassembler-maven-plugin/usage-booter.html) Maven plugin too generate shorter execution files for different plattforms.

I already tried this and created a executable solution. You can contact me to get the relevant part of the pom.xml for the toolbox module of your project.

The only downside of this solution is that it changes your build output so much that other parts (like installer generation) will have to be changed, too.

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

No branches or pull requests

1 participant