开发者

Deploying BlackBerry Applications Across Environments

开发者 https://www.devze.com 2022-12-27 13:13 出处:网络
Has anyone come up with a good solution for deploying BlackBerry applications across different environments?

Has anyone come up with a good solution for deploying BlackBerry applications across different environments?

My example is storing URLs and Authentication information in code. In most cases, a developer is going to have a different set of URL's to test against when developing the application vs what the end user is going to hit.

The idea is when I go to build for production, I have something swap out the environment settings for the target environment vs manuall开发者_运维百科y replacing environment specific code each time.

I am currently using eclipse. The only thought I've come up with so far would be to use a resource with encrypted values and have that swap when I run my build.

Any ideas?


With bb-ant-tools you could set up an ant script to build, sign and deploy your app. Use a target specific for DEV, QA and PROD, and swap whatever configuration files you need in each environment.

0

精彩评论

暂无评论...
验证码 换一张
取 消