因此,所有这些依赖项在清单文件中必须出现在一行。
So, all of those dependencies have to appear on one line in the manifest file.
您将看到列出在这个XML文件的部分的所有依赖项。
You should see all the dependencies listed under the section of the XML file.
如果在依赖项编辑器中选择将库和一个模块一起部署,那么该模块将被打包为一个EAR并在部署时包含库jar文件的一个副本。
If the library is selected to be deployed with the module in the dependencies editor, the module is packaged as an EAR and contains a copy of the library JAR file during deploy time.
这种情况下,您将需要防止将一个版本的JAR文件包含在您的构建中,但是首先您需要定位保存JAR的依赖项。
In this case, you would need to prevent one version of the JAR file from being included in your build, but first you would need to locate the dependency holding the JAR.
请注意,清单3未表示任何文件位置或URL,允许您转到其他目录位置,而无需更改依赖项列表。
Notice that Listing 3 includes no indication of file locations or URLs, letting you move to different repository locations without needing to change the list of dependencies.
必要时,您需要知道具体依赖项的来源—这样您就可以找到同一个JAR文件的不同版本的区别和矛盾。
On occasion, you might need to know the origin of a particular dependency - such as if you were to find different and incompatible versions of the same JAR file in your build.
Spring通过允许您在配置文件中声明依赖项,然后将协作者连接到依赖对象,从而提供松散耦合。
Spring provides loose coupling by letting you declare the dependencies in a configuration file and then wires collaborators to dependent objects.
它首先创建一个.zip文件,其中包含SCA模块及其依赖项。
It first creates a.zip file that contains the SCA module and its dependencies.
在这两种情况下,您都需要声明依赖项(例如使用Spring配置文件),并向依赖对象类添加对应的构造函数或mutator方法。
In both cases you need to declare the dependency (e.g. using the Spring configuration file) and add a corresponding constructor or mutator method to the dependent object class.
此文件处于应用程序的外部,包含bean及其与该应用程序的依赖项的定义。
This file is external to the application and it holds definition of beans and its dependencies for that application.
Spring框架——您将使用.zip文件及其所有依赖项。
Spring Framework — You'll use the.zip file with all dependencies.
注意:如果您没有下载带所有依赖项的Spring版本,那么必须手动下载其他必需的JAR文件。
Note: If you don't download the Spring version with all dependencies, then you'll have to download other required JAR files manually.
要使用该类,我们首先需要在pom . xml文件中添加日志附加依赖项,如清单18所示。
To use this class, we need to first add the logging add-on dependency in pom.xml file, as shown in Listing 18.
您可以自己编辑该文件,但本示例使用AppBuilder的依赖项页面。
You could hand edit the file yourself, but this example USES the dependencies page of the AppBuilder.
将消息传递提供者的依赖项添加到geronimo - web . xml文件,如清单6中粗体部分。
Add the dependency of the messaging provider to the geronimo-web.xml file, shown in bold type in Listing 6.
在Classpath字段中,指定依赖项存档展开到的目录中包含的每个JAR文件的完整路径。
In the Classpath field, specify the full path of each JAR file contained in the directory in which you expanded the dependencies archive.
Spring对象(ApplicationContext或BeanFactory)可以使用此配置文件来创建Bean,注入依赖项,以及执行许多其他此处未显示的操作。
A Spring object (ApplicationContext or BeanFactory) can use this configuration file to create the beans, inject the dependencies and many other things not shown here.
xml文件存储在config目录中,依赖项也保存在这里。
The ivy.xml file stored in the config directory is where your dependencies are maintained.
SpringFramework——将此压缩文件与所有依赖项一起使用。
Spring Framework - Use the compressed file with all dependencies.
Projectzero通过zero. acf库提供acf支持,这个库被配置为ivy . xml文件的一个应用程序依赖项。
Project zero provides acf support through the zero.acf library, which has been configured as one of the application dependencies in the ivy.xml file.
Zero还在ivy.xml文件中添加了必需的PHP依赖项。
Zero has also added in the required PHP dependencies to the ivy. xml file.
因为Tapestry用HiveMind来确定和下载依赖项,所以第一步是让Tapestry知道HiveMind文件在哪儿。
Because Tapestry USES HiveMind to determine and download dependencies, your first step is to let Tapestry know where you've put the HiveMind files.
如果已经下载了依赖项(比如说从之前的运行中),则Grape仍然会确保类路径下包含适当的JAR文件。
If the dependencies are already downloaded (from a previous run, for instance), Grape nevertheless still ensures the proper JAR files are in your classpath.
properties文件是用来指定几个Shale的依赖项的模板。
The default.properties file is a template for specifying the location of several of Shale's dependencies.
修改依赖项列表并保存了文件后,PDE将自动更新您的类路径。
When you modify the list of dependencies and save the file, PDE automatically updates your classpath.
dojo包包含一个或多个文件,在其他文件上有可选的依赖项。
Dojo packages consist of one or more files, with optional dependencies on others.
项目依赖项、知识库和插件是pom . xml文件中指定的一些配置详细信息。
Project dependencies, repositories, and plugins are some of the configuration detail specified in the pom.xml file.
如果zero. resource依赖项缺失,则需要将其添加到ivy .xml文件,无论是通过直接编辑该文件,还是使用上面的依赖项面板(图11)。
If the zero.resource dependency is missing, then you need to add it to the ivy.xml file, either by directly editing the file, or by using dependency panel above (Figure 11).
SpringFramework——将压缩文件与所有依赖项一起使用。
Spring Framework — Use the compressed file with all dependencies.
将该WAR文件作为J2EE依赖项添加进来。
应用推荐