Sign a JAR automatically when building from Netbeans

后端 未结 2 1678
生来不讨喜
生来不讨喜 2021-01-05 02:50

I want to know if Netbeans has some option or setting that will allow me to automatically sign a jar as part of the build.

2条回答
  •  执笔经年
    2021-01-05 03:40

    In your -post-jar ant target, it may be convenient to read the password from a file, e.g. ~/.keyconf. Give the file user-only access: e.g. 400 or 600.

    
    
        ...
    
    

提交回复
热议问题