1.打開project.properties檔案。在最後方加入下列設定。
#加入自動化自我簽章
jarsign.jarsigner=jarsigner.exe路徑
jarsign.keystore=已核發之憑證檔
jarsign.storepass=憑證檔密碼
jarsign.signedjar=${dist.dir}
jarsign.alias=憑證別名
2.打開build.xml檔案,在
Signing ${dist.jar} created Signed Jar '${jarsign.signedjar}' created
No comments:
Post a Comment