EJP wrote:Supposing neither of them is an option (quotes don't work, and renaming is not possible because there is a technical standard I must comply which requires the spaces), is signing the jar file programatically an option?
In quotes. If that doesn't work you may have to rename it.
EJP wrote:I agree.
Basically no. It is the technical 'standard' which is the problem here.
929326 wrote:You seem to be saying that
I was looking for a way of passing a String with spaces in the command line prompt.
in some way mangles the passwords. If it does more than just trim() the password (removing leading and trailing spaces) then I would consider this to be a bug and it should reported as such.
jarsigner <some args then> -storepass "some password in quotes containing spaces" -keypass "another quoted password containing spaces"