if (keyPassword == null) {
keyPassword = keyStorePassword;
}
SignJarParams signJarParams = new SignJarParams();
signJarParams.setVerbose(verbose);
signJarParams.setKeyStore(keyStore);
signJarParams.setAlias(keyStoreAlias);
signJarParams.setStorePass(keyStorePassword);
signJarParams.setKeyPass(keyPassword);
signJarParams.setStoreType(keyStoreType);
signJarParams.addResource(webOutputDir, jfxMainAppJarName);
signJarParams.addResource(webOutputDir, "lib");
getPackagerLib().signJar(signJarParams);
}
} catch (PackagerException e) {