Deploying BlackBerry Applications Across 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.
精彩评论