持续集成服务器为黑莓开发? (和证书签名) [英] Continuous Integration server for blackberry development? (and certificate signing)

查看:225
本文介绍了持续集成服务器为黑莓开发? (和证书签名)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我偷听到另一个团队,我在那里谈论黑莓发展 - 他们有自动化黑莓的构建问题。特别是有一个证书签名的问题 - 他们还不能确定 - 它是一个手动步骤现在。

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.

我认为hudson会正常工作,我们只需要找出一个命令行进行构建和签名。

I assume hudson would work fine for this - we just have to figure out a command line for the build and signing.

推荐答案

有不同的ant&用于构建BlackBerry项目的rapc工具,我自己更喜欢 bb ant工具,但如果你真的想直接从cmd使用只使用sun java和rim bb sdk来构建bb应用程序呢?

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项目构建&签名自动化 - 自定义ant-rapc jar

Dr.Dobbs BlackBerry Development :使用Apache Ant - 清除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"

另请参阅:

CodeForFun:如何从RIM使用rapc ...脏的细节!

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支持论坛 - 从命令行请求签名(签名您的应用程序)

这篇关于持续集成服务器为黑莓开发? (和证书签名)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆