I'm trying to sign my jars, and re-using portions of an ANT script that I know works to do the same thing, but I am getting this error from the build.xml:
[signjar] jarsigner: key associated with Alias not a private key
Basically, the build script creates a dummy keystore if not being done on the main build machine (where secure keystore is stored.) I'm generating those files, so the script's working up to a point. Below is the section in the script where I"m trying to sign the jar, as well as its dependent targets dealing with the signing/keystore:
posted 13 years ago
Ahhh, crikeys.. nevermind, I deleted the old generated files, and when run again, the script works to sign the jar.
What are you doing? You are supposed to be reading this tiny ad!
Thread Boost - a very different sort of advertising