此内容没有您所选择的语言版本。

fab:headers


Name

fab:headers — displays the headers of a FAB

Synopsis

fab:headers [ --help ] [ --indent style ] { URL }

Description

Displays the header entries from the META-INF/MANIFEST.MF file embedded in the FAB JAR file. This is not the same thing as the bundle headers returned by the osgi:headers command, because the osgi:headers command shows the effective headers after the FAB is converted into an OSGi bundle.
For example, a typical FAB might have headers like the following:
JBossA-MQ:karaf@root> fab:headers mvn:org.fusesource.examples/cbr/7.0.0.fuse-beta-042

Manifest-Version = 1.0 Archiver-Version = Plexus Archiver Built-By = username Build-Jdk = 1.6.0_29 Created-By = Apache Maven
Copy to Clipboard Toggle word wrap
After the FAB is deployed, the corresponding OSGi bundle could have headers like the following (given that the bundle ID of the deployed FAB is 228):
JBossA-MQ:karaf@root> osgi:headers 228

org.fusesource.examples.cbr (228) --------------------------------- Manifest-Version = 1 Bnd-LastModified = 1334306872960 Archiver-Version = Plexus Archiver Tool = Bnd-1.43.0 Originally-Created-By = Apache Maven FAB-URL = mvn:org.fusesource.examples/cbr/7.0.0.fuse-beta-042 Generated-By-FAB-From = mvn:org.fusesource.examples/cbr/7.0.0.fuse-beta-042 Built-By = username FAB-Id = org.fusesource.examples:cbr:7.0.0.fuse-beta-042:jar Build-Jdk = 1.6.0_29 Created-By = 1.6.0_29 (Apple Inc.) Bundle-Name = org.fusesource.examples.cbr Bundle-SymbolicName = org.fusesource.examples.cbr Bundle-Version = 7.0.0.fuse-beta-042 Bundle-ManifestVersion = 2 Export-Package = OSGI-INF.blueprint, OSGI-INF
Copy to Clipboard Toggle word wrap

Arguments

Table 7.1, “fab:headers Arguments” describes the commands arguments.
Expand
Table 7.1. fab:headers Arguments
ArgumentInterpretation
--helpDisplays the online help for this command
--indentSpecify the indent style. Valid values are 1, 2, or 3. The default is -1.
URLThe URL of the FAB
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat