问题描述
我听到了另外一支球队,我的工作在谈论黑莓开发 - 他们有问题,建立自动化黑莓。特别是有一个与证书签名的一个问题 - 他们一直没能明白这一点的是 - 这是一个手动步骤,现在
I overheard another team where I work talking about blackberry development - they are having issues automating builds for blackberry. In particular there is an issue with certificate signing - they have not been able to figure that out yet - it is a manual step right now.
,他们/我们是新的手持设备的发展,但任何指针构建服务器和自动化的命令行证书签名将是最欢迎的。
Granted, they/we are new to handheld development, but any pointers to build server and automating a command line certificate signing would be most welcome.
具体的例子和细节可能需要提供的短信经验,我们的公司已与BB的发展。
Specific examples and details are probably needed given the short experience our company has with BB development.
我认为哈德森将努力罚款这一点 - 我们只需要弄清楚构建和签署的命令行
I assume hudson would work fine for this - we just have to figure out a command line for the build and signing.
推荐答案
有不同的蚂蚁和放大器; RAPC工具黑莓建设项目,我自己preFER ,但如果你真的想直接从CMD建立BB应用只使用的Sun Java和RIM BB SDK?
There are different ant & rapc tools for building BlackBerry project, and me myself prefer bb ant tools, but what if you really want to build bb app directly from cmd using only sun java and rim bb sdk?
<一个href=\"http://berrymore.word$p$pss.com/2008/06/22/blackberry-jde-projects-build-signing-automation/\">BerryMore - 黑莓JDE项目构建和放大器;签约自动化 - 定制蚂蚁RAPC罐子
- 清洁ANT + WTK
BerryMore - BlackBerry JDE projects Build & Signing automation - custom ant-rapc jar
Dr.Dobbs BlackBerry Development: Using Apache Ant - clean ant + wtk
"{eJDE path}\components\bin\rapc.exe" -quiet import="{eJDE path}\components\lib\net_rim_api.jar" codename={AppName} -midlet {AppName}.rapc [list of resources] [list *.java files]
例如:
"c:\Program Files\eclipse_bb\plugins\net.rim.eide.componentpack4.5.0_4.5.0.16\components\bin\rapc.exe" -quiet import="c:\Program Files\eclipse_bb\plugins\net.rim.eide.componentpack4.5.0_4.5.0.16\components\lib\net_rim_api.jar" codename=SO45BgAnim -midlet SO45BgAnim.rapc "src\gifanimation.gif" "src\background.png" "src\SO45BgAnim.java"
另请参阅:
<一href=\"http://$c$cforfun.word$p$pss.com/2008/09/09/how-to-use-rapc-from-rim-dirty-details/\">$c$cForFun:如何使用RAPC从RIM ...肮脏的细节!
java -jar "{eJDE path}\components\bin\SignatureTool.jar" -a -c -p {password} {path to *.cod}
例如:
java -jar "c:\Program Files\eclipse_bb\plugins\net.rim.eide.componentpack4.5.0_4.5.0.16\components\bin\SignatureTool.jar" -a -c -p pwd@123 "D:\Projects\BlackBerry\TestApp\build\TestApp.cod"
另请参阅:
这篇关于黑莓开发持续集成服务器? (和证书签名)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!