如何在程序分发中安装OSGi捆绑包

发布于 2024-10-07 01:17:21 字数 118 浏览 0 评论 0原文

我有一个要转换为 OSGi 的应用程序,其中有几个 所需的捆绑包(目前)。这些是包含在 节目分发。安装这些的最佳方法是什么?我在找 使用 classpath:xxx.jar,但是有更好的方法吗?

谢谢, 槊

I have an application that I am converting to OSGi, and there are a couple of
bundles that are required (for now). These are jars that are included in the
program distribution. What is the best way to install these? I was looking
at using a classpath:xxx.jar, but is there a better way to do this?

thanks,
Lance

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

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

发布评论

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

评论(2

情话难免假 2024-10-14 01:17:21

我猜您想要一种简单的方法来启动应用程序,而不必在每次启动时从控制台安装所有捆绑包。如果这是您当前的问题,您可以查看

I'm guessing that you want an easy way to start up your application, without having to install all bundles from the console at every startup. If that is your current problem, you can take a look at

-残月青衣踏尘吟 2024-10-14 01:17:21

另一种令人满意的方法是创建一个包含所有捆绑包的功能。请参阅提示 这里。功能是捆绑包的包,它允许您使用一个命令安装一堆捆绑包。

Another approach that could be satisfying is to create a feature containing all your bundles. See for a hint here. A feature is a package of bundles and it allows you to install a bunch of bundles with one command.

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