Apache Felix部署没有运气

发布于 2024-12-04 18:56:41 字数 795 浏览 0 评论 0原文

我正在尝试通过 Apache Felix 的 obr deploy 命令部署特定版本的捆绑包。

我想安装文件安装的 3.1.10 版本,但不幸的是 deploy 不理解版本(当使用 @ 指定它们时):

g! deploy "Apache Felix File Install"@3.1.10
Unknown bundle - Apache Felix File [email protected]

如果我尝试使用分号,它也不起作用:

g! deploy "Apache Felix File Install";3.1.10
Target resource(s):
-------------------
   Apache Felix File Install (3.0.2)

Deploying...done.
gogo: CommandNotFoundException: Command not found: 3.1.10

任何人都知道是什么发生什么事了?

附: 对于安装“文件安装 3.0.2”的任何人,然后将“3.1.10”的 jar 放入加载目录(从而安装另一个“文件安装”包),然后删除“3.0.2”版本,都会获得奖励积分!遗憾的是,这不起作用,因为“文件安装”总是会自行挂起。

I am trying to deploy a particular version of a bundle through Apache Felix's obr deploy command.

I want to install version 3.1.10 of File Install, but unfortunately deploy does not understand versions (when using @ to specify them):

g! deploy "Apache Felix File Install"@3.1.10
Unknown bundle - Apache Felix File [email protected]

Neither does it work if I try the semicolon:

g! deploy "Apache Felix File Install";3.1.10
Target resource(s):
-------------------
   Apache Felix File Install (3.0.2)

Deploying...done.
gogo: CommandNotFoundException: Command not found: 3.1.10

Anybody has any idea what's going on?

P.S.:
BONUS points for anybody installing "File Install 3.0.2", and then placing a jar of "3.1.10" into the load directory (thereby installing another "File Install" bundle) - and then deleting the "3.0.2" version! Sadly this does not work, as "File Install" always suspends itself.

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

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

发布评论

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

评论(1

睡美人的小仙女 2024-12-11 18:56:41

对我有用:

g! list -v file
Apache Felix File Install [org.apache.felix.fileinstall] (3.0.2, 3.0.0, 2.0.8, 2.0.4,     2.0.0, 1.2.0, 1.0.0, 0.9.2, 0.9.0)
g! deploy "Apache Felix File Install"@3.0.0
Target resource(s):
-------------------
   Apache Felix File Install (3.0.0)

Optional resource(s):
---------------------
   Apache Felix Configuration Admin Service (1.2.4)
   Apache Felix Log Service (1.0.0)

Deploying...done.
g! 

看起来您正在尝试部署 OBR 存储库中没有的文件安装版本...

Works for me:

g! list -v file
Apache Felix File Install [org.apache.felix.fileinstall] (3.0.2, 3.0.0, 2.0.8, 2.0.4,     2.0.0, 1.2.0, 1.0.0, 0.9.2, 0.9.0)
g! deploy "Apache Felix File Install"@3.0.0
Target resource(s):
-------------------
   Apache Felix File Install (3.0.0)

Optional resource(s):
---------------------
   Apache Felix Configuration Admin Service (1.2.4)
   Apache Felix Log Service (1.0.0)

Deploying...done.
g! 

It looks like you are trying to deploy a version of File Install that isn't in the OBR repo...

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