用于黑莓开发的持续集成服务器? (和证书签名)

发布于 2024-08-04 05:46:39 字数 242 浏览 0 评论 0原文

我无意中听到我工作的另一个团队正在谈论黑莓开发 - 他们在黑莓自动化构建方面遇到了问题。特别是证书签名存在问题 - 他们还无法解决这个问题 - 目前这是一个手动步骤。

诚然,他们/我们是手持式开发的新手,但任何构建服务器和自动化命令行证书签名的指示都将受到欢迎。

鉴于我们公司在 BB 开发方面的经验很短,可能需要具体的示例和细节。

我认为 hudson 可以很好地解决这个问题 - 我们只需要找出用于构建和签名的命令行。

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.

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

澉约 2024-08-11 05:46:39

有不同的蚂蚁和蚂蚁用于构建 BlackBerry 项目的 rapc 工具,我自己更喜欢 bb ant 工具,但是如果您真的想仅使用 sun java 和 rim bb sdk 直接从 cmd 构建 bb 应用程序怎么办?

BerryMore - BlackBerry JDE 项目构建和构建签名自动化 - 自定义 ant-rapc jar
Dr.Dobbs BlackBerry 开发:使用 Apache Ant - clean ant + wtk

从命令行构建 BlackBerry

 "{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"

另请参阅:
CodeForFun:如何使用 rapc来自 RIM...肮脏的细节!

从命令行签署 BlackBerry

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"

另请参阅:
BlackBerry 支持论坛 - 从命令行请求签名(为您的应用程序签名)

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?

BerryMore - BlackBerry JDE projects Build & Signing automation - custom ant-rapc jar
Dr.Dobbs BlackBerry Development: Using Apache Ant - clean ant + wtk

Build BlackBerry from command line

 "{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]

Example:

 "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"

See also:
CodeForFun: How to use rapc from RIM… dirty details!

Sign BlackBerry from command line

java -jar "{eJDE path}\components\bin\SignatureTool.jar" -a -c -p {password} {path to *.cod}

Example:

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"

See also:
BlackBerry Support Forum - Request Signatures (Sign Your App) From Command Line

绿萝 2024-08-11 05:46:39

我们使用 BB Ant Tools,它效果很好,您甚至可以将签名密码指定为参数,因此不需要用户输入。

We use BB Ant Tools and it works great, you can even specify the signing password as an argument so there is no user input required.

余生再见 2024-08-11 05:46:39

看起来有一些解决方法:

http://blackberry.synclastic.com/blackberry -code-signing-tips/ (在 2012 年 5 月 15 日之前不起作用)


http://blog.lightvoid .net/2008/04/28/automated-blackberry-sign-tool-mac-linux-windows/(指向公司 onidev 网站为 15/05/2012)

这个看起来更好 -

http://www.cive.de/projects/signaturetoolrunner/

It looks like there is some workaround:

http://blackberry.synclastic.com/blackberry-code-signing-tips/ (not working as 15/05/2012)

and
http://blog.lightvoid.net/2008/04/28/automated-blackberry-sign-tool-mac-linux-windows/ (points to corporate onidev website as 15/05/2012)

This one looks even better -

http://www.cive.de/projects/signaturetoolrunner/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文