ProvToolbox
ProvToolbox copied to clipboard
Classpath in .bat starter script too long for Windows system
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.