gpt4 book ai didi

java - 在 Apache Felix gogo shell 中按名称搜索包

转载 作者:行者123 更新时间:2023-12-02 02:18:44 25 4
gpt4 key购买 nike

我想在 OSGI 中按名称搜索 bundle 。现在当我这样做时

telnet localhost 11311 

lb

然后它为我提供了在 Liferay 框架中注册的所有 bundle 的列表。像这样:

 502|Active     |   10|Liferay Layout Taglib (2.0.8)
503|Active | 10|Liferay Layout Type Controller Control Panel (2.0.2)
504|Active | 10|Liferay Layout Type Controller Full Page Application
(2.0.3)
505|Active | 10|Liferay Layout Type Controller Node (2.0.2)
..............................<something like this>

我必须从上到下一直滚动(有时我的 bundle 一直显示在顶部)。有没有办法在命令行上按名称搜索包。

最佳答案

当然。例如:

lb Layout

lb | grep "Layout Type"

关于java - 在 Apache Felix gogo shell 中按名称搜索包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48871486/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com