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

options are inserted multiple times during execution of jarsigner #62

Open
ghost opened this issue Nov 7, 2018 · 0 comments
Open

options are inserted multiple times during execution of jarsigner #62

ghost opened this issue Nov 7, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Nov 7, 2018

While Signing jars with pkcs12 http.proxyHost and http.proxyPort options are inserted multiple times during execution of jarsigner. Finally in one of iteration build will fail due to command length.

[DEBUG] Executing: cmd.exe /X /C ""C:\Program Files\Java\jdk1.7.0_80\jre\..\bin\jarsigner.exe" -verbose -keystore C:\repo\app\src\main\jnlp\app.pfx -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org -J-Dhttp.proxyPort=80 -J-Dhttp.proxyHost=some.address.org ...

<sign> <keystore>src/main/jnlp/app.pfx</keystore> <storepass>****</storepass> <storetype>pkcs12</storetype> <alias>app-alias</alias> <verify>true</verify> <tsaLocation>http://timestamp.digicert.com</tsaLocation> <httpProxyHost>some.address.org</httpProxyHost> <httpProxyPort>80</httpProxyPort> </sign>

[WARNING] The command line is too long. [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------

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

0 participants