对于这个博客样例,应用程序清单文件看起来如清单10所示。
For the blog sample, the application manifest looks like Listing 10.
清单2显示了一个简单osgi应用程序的完整应用程序清单文件。
Listing 2 shows a complete application manifest for a simple OSGi application.
如前文所述,EBA是可部署的单元,包含一个描述应用程序内容的应用程序清单文件。
As described earlier, the EBA is the deployable unit, containing an application manifest which describes the application content.
清单10中展示的应用程序清单文件需要表明这个服务应该在OSGi应用程序外部可见。
The application manifest shown in Listing 10 needs to indicate that this service should be visible outside the OSGi application.
键入以下命令以使用已更新文件的新哈希来更新应用程序清单,并对应用程序清单文件进行签名。
Type the following command to update the application manifest with the new hashes for the updated files and sign the application manifest file.
这些考虑主要围绕编译时类路径,以及OSGibundle、应用程序清单文件及可选的Blueprintbean定义文件的编写。
Primarily, these are around the compile-time classpaths, the authoring of the OSGi bundle and application manifests and, optionally, Blueprint bean definition files.
当我创建我的应用程序时,根据默认值生成该文件,如下面清单中所示。
When I created my application this file was generated with default values as shown in the following listing.
清单1中的命令帮助日志文件显示了创建、保存和启动新的业务级应用程序所需的操作集。
The command assistance log file in Listing 1 shows a set of actions necessary to create, save, and start a new business-level application.
清单1是应用程序用于执行编组和解组操作的配置文件。
Listing 1 is the configuration file that the application USES to perform the marshalling and unmarshalling.
清单1展示了此业务应用程序的SCA复合文件。
The corresponding SCA composite file for this business application is shown in Listing 1.
清单1说明了在SWT应用程序的JNLP文件中所使用的各种标记。
Listing 1 illustrates the various tags used within a JNLP file for an SWT application.
样本9给出了在清单文件中指定J2EE应用程序组件版本的例子。
Sample 9 shows example entries in the manifest file for specifying the J2EE application component version.
清单21展示了应用程序中所有XHTML文件的前几行。
Listing 21 shows the first few lines of all the XHTML files in the application.
在缓存清单中列出的文件存储在应用程序缓存中,类似浏览器的标准磁盘缓存但是更为健壮。
The files listed in the cache manifest get stored in the application cache, which is like the browser's standard disk cache but much more robust.
因此,需要确保客户机应用程序JAR文件的清单具有一个主类,即项。
You, therefore, need to make sure that the manifest of the client application JAR file has a main class: entry.
例如,清单7中的接口定义用于配置应用程序的文件锁的字段。
For example, the interface in Listing 7 defines fields for configuring an application's file locks.
清单9展示了样例应用程序中包含的pd q . properties文件中使用的属性。
Listing 9 shows the properties that are used in the pdq.properties file included with the sample application.
作为例子,清单3演示了本文发布的示例应用程序的Ant构建文件。
Listing 3 presents, as an example, the Ant build file of the sample application distributed with this article.
首先,在main方法中,您的代码捕获Spring应用程序的上下文,就是您在清单1中看到的配置文件。
First, in the main method, your code grabs the Spring application context. This is the configuration file seen in Listing 1.
清单10显示了在应用程序的DataGridDeveloperExample1 . mxml文件中包含嵌入字体声明所需的代码。
Listing 10 shows the code we used to include an embedded font declaration in the application DataGridDeveloperExample1.mxml file.
清单3中显示的portlet . xml文件将为门户应用程序中包含的所有portlet提供诸如portlet名称、标题、类和模式之类的信息。
The portlet.xml file shown in Listing 3 provides information, such as portlet name, title, class, and mode, for all the portlets contained in the portal application.
清单12显示样例应用程序中包含的pd q . properties文件使用的属性。
Listing 12 shows the properties that are used in the pdq.properties file included with the sample application.
这是HybridCloud应用程序放置x射线图文件的地方(见清单4)。
This is where your HybridCloud application puts its X-ray image files (see Listing 4).
这个文件为Hibernate保存应用程序级别的配置信息,正如清单1 所示的那样。
This file holds application level configuration information for Hibernate, as shown in Listing 1.
清单4将显示buyticket门户应用程序的web - INF \web . xml文件。
Listing 4 shows the WEB-INF \ web.xml file for the buyticket portal application.
skin参数在web应用程序的web .xml文件中指定(参见清单7)。
The skin parameter is specified in the web.xml file (see Listing 7) of the web application.
清单文件,其中包含应用程序相关的传记信息。
The manifest file, which contains the biographical information about the application.
注意,服务名称 “HelloWorldXMLExt”匹配应用程序上下文文件中定义的服务名称(见清单3)。
Notice that the service name “HelloWorldXMLExt” matches the service name defined in the application context file shown in Listing 3.
在本例中,缓存清单文件位于您的Web应用程序的根目录。
In this case, the cache manifest file is in the root directory of your Web application.
引用清单的HTML文件自动包含在应用程序缓存中。
The HTML file with the reference to the manifest is automatically included in the application cache. The manifest contains only the following.
应用推荐