不要从应用程序世界份额的项目下载? [英] Do apps downloaded from App World share projects?

查看:214
本文介绍了不要从应用程序世界份额的项目下载?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我公司创建多个BlackBerry应用程序,所有使用的一些共享的Java项目。最近我们一直在追,我们推理可以通过使用旧版本的项目之一的应用程序所引起的错误。我的问题是,从应用程序世界单独下载两个应用程序共享它们共有的项目,还是每个应用程序可以使用项目中自己的副本?

My company creates multiple BlackBerry apps that all use a few shared Java projects. Recently we've been chasing a bug that we theorize may be caused by an app using an old version of one of the projects. My question is, do two apps downloaded separately from App World share the projects they have in common, or does each app use its own copy of the project?

举例来说,假设我有两个应用程序,Foo和酒吧,其中每个使用项目巴兹。我第一次下载:

For example, say I have two apps, Foo and Bar, which each use the project Baz. I first download:


  • 美孚1.0

    • 与巴兹1.0

    然后我下载:


    • 酒吧2.0

      • 与巴兹2.0

      将禁止使用版本1.0或巴兹2.0当我启动它?

      Will Bar use version 1.0 or 2.0 of Baz when I launch it?

      推荐答案

      通常情况下,最后安装的应用程序的库将覆盖现有的库,这往往不是你想要的。这是一个长期存在的问题与黑莓平台,因为看到<一个href=\"http://supportforums.blackberry.com/t5/Java-Development/Petition-to-RIM-on-review-system-please-sign/td-p/586697\"相对=nofollow>这里。

      Normally, the last-installed application's library will overwrite the existing library, which is often not what you want. This has been a longstanding problem with the BlackBerry platform, as seen here.

      我和其他人做的是两种:

      What I and others do is either:


      1. 包括源$ C ​​$ C的应用程序本身,或
      2. 中的库
      3. 包括在库
      4. 版本号
      1. include the source code for the library within the app itself, or
      2. include the version number in the library

      实际上你做废除共享库,这是unfortuante的概念,但至少你的应用程序独立工作的任何其他更改。

      Essentially you're doing away with the concept of a shared library, which is unfortuante, but at least your app works independently of any other changes.

      对不起,我想有第三种选择:打包库作为一个单独的下载。但是,有它自己的问题。

      Sorry, I guess there's a third option: package the library as a separate download. But that has its own issues.

      这篇关于不要从应用程序世界份额的项目下载?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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