与密码蚂蚁自动签名的应用程序 [英] signing applications automatically with password in ant
问题描述
目前,我有一个构建过程中的地方,我们所有的应用程序使用 ANT
。我加入现在建立一个发布
并签署了应用程序的能力。
Currently i have a build process in place for all of our apps using ANT
. I am adding the ability to build a release
now and sign the apps.
目前我有 ant.properties
用正确的属性。它是在所有的项目。当我建的项目,它工作正常。标志,对齐并给我我需要什么。但是,我们有很多的应用程序,它们都是建立在构建过程中。
Currently i have the ant.properties
with the correct properties. And it is in all the projects. And when i build the projects it works fine. Signs, aligns and gives me what i need. HOWEVER, we have many apps and they are all built in the build process.
所以,问题是,用户必须在该请输入密钥存储密码
和请输入密码别名<键入的密码/ code>。
So the problem is, the user is having to type the password in at the Please enter keystore password
and the Please enter password for alias
.
我在想,如果有一种方式来获得蚂蚁
输入该密码对我们还是有另一种方式利用签署蚂蚁
,将工作?也许我可以提供密码时生成过程开始,只是每次都被要求使用使用该密码。
I was wondering if there was a way to get ant
to enter that password for us or is there another way to sign using ant
that would work? Maybe i could supply the password when the build process starts and just use that password every time it is asked to be used.
感谢
推荐答案
我只是在我的ant.properties这些线路并自动登录
I just have these lines in my ant.properties and it signs automatically
key.store.password=mypasswordOne
key.alias.password=mypasswordTwo
key.store=c:/users/myname/my-release-key.keystore
key.alias=release_alias
这篇关于与密码蚂蚁自动签名的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!