Outline the ant build file, as shown in Listing 1.
列出Ant构建文件,如清单1中所示。
Listing 7 shows the Ant build file I've used with this article.
清单7是我在本文中使用的Ant构建文件。
Combine them to your build file to make well-integrated tests with Ant.
将它们组合到您的构建文件,以便利用Ant完成良好集成的测试。
You'll need to change most of the paths in this build file to match your system.
为了与您的系统相匹配,需要更改这个构建文件中大部分的路径。
Using the Ant view you can browse and run the different tasks of your Ant build file.
通过使用Ant视图,可以浏览和运行Ant构建文件的不同任务。
Next, I provide the name of the build file I'm analyzing, in the buildfile attribute.
接着,我在buildfile属性中为正在分析的构建文件命名。
This is useful when writing the build file, to help ensure that it is fully functional.
当您编写构建文件时这一点非常有用,可以确保它能够发挥所有的作用。
This is one of the properties we'll use to make this build file as generic as possible.
这是我们将会使用到的一个属性来让构建文件尽可能地通用。
First, it creates a file object from the build file and then creates a new Project object.
首先,它从构建文件创建一个文件对象,然后创建一个新的Project对象。
The last section of the Ant build file is concerned with automating the mqsideploy command.
Ant构建文件的最后一部分与自动化命令mqsideploy有关。
The file has only one target — prepare — which is also the default target of the build file.
文件只有一个目标 ——prepare ——它也是构建文件的默认目标。
CreateEGLBuildFile: Creates an empty EGL build file with the name specified in the parameters.
创建一个参数中列有名称的空的EGL构建文件。
Note: To create the AtomClip extension, you can use the included Ant build file to generate it.
注意:要创建AtomClip扩展,您可以使用包含的Ant构建文件来生成它。
Now the Ant build file is ready for adding new Ant targets that represent the automation procedure.
现在Ant构建文件已经准备好开始添加表示自动化过程的新ant目标了。
The build file is also set up to deploy to a broker named BK1 and its execution group named default.
构建文件还设置为部署名为bk1的代理及其名为default的执行组。
Listing 3 presents, as an example, the Ant build file of the sample application distributed with this article.
作为例子,清单3演示了本文发布的示例应用程序的Ant构建文件。
Because this build file is really intended to be called only by Eclipse, I left the default target as prepare.
由于此构建文件实际上只适于被eclipse调用,因此我把默认目标保留为prepare。
Then, we'll create and set up a job which will use the build file we've built in the first part of this article.
然后,我们将会创建一个任务,该任务将会使用到我们在本文第一部分中所创建的构建文件。
Instead of init target in the preceding example, you can similarly invoke other targets from the Ant build file.
可以不使用前一示例中的init目标,而以类似的方式调用Ant构建文件中的其他目标。
This has to be done outside of the build file, possibly using a batch file, which looks like as follows on Windows.
这是在构建文件的外部完成的,可能使用了批处理文件,在Windows上如下所示。
You refactor your Ant build file and create four new tasks (three for individual test types and one to run them all).
您重构了Ant构建文件并创建了4项新任务(为单个的测试类型创建了三项,为运行所有这些测试类型创建了一项)。
A front-end process (also an Ant script) runs the stylesheet to transform the input documents into the Ant build file.
我们设计了一个前端过程(也是一个ant脚本),它运行样式表,将输入文档转换成ant的build文件。
Now that we know how to set up a build file, let's take a closer look at integrating FindBugs into your build process.
知道如何设置编译文件以后,就让我们更详细地分析如何将FindBugs集成到编译过程中吧!
The FOP libraries include an Ant task you can put directly into your existing Ant build file in your DocBook XML project.
fop库中有一个可以直接放入DocBookXML项目现有Ant构建文件中的Ant任务。
One of the easiest ways to run an Ant target is to do so from the Outline view while the build file is open in the editor.
运行Ant目标的最简单方法之一是在编辑器中打开构建文件的情况下从Outline视图运行Ant目标。
Note that there is no build file associated with this article, unlike the previous ones; I've left it to you as an exercise.
注意,与以前的文章不同,这篇文章没有关联的build文件,因为我特意把它留给您作为一个练习了。
Having imported the schema, the build file then USES the two Message Broker command line utilities: mqsicreatebar and mqsideploy.
导入了模式后,构建文件将随后使用两个MessageBroker命令行实用工具:mqsicreatebar和mqsideploy。
Both the subdirectories contain a SRC directory for the source files as well as a build file and a dependency descriptor (ivy.xml).
两个子目录都包含一个src源文件目录以及一个构建文件和一个依赖描述符(ivy . xml)。
In the following steps, we'll try to make the build file as generic as possible, so that it can easily be reused for other projects.
在接下来的步骤中,我们将会试着让构建文件变得尽可能的通用,这样它就可以更容易为其他项目重复使用。
To run examples you can invoke Saxon from the command line or use the included Ant build file (which I used to test the code examples).
运行文中的例子可通过命令行调用Saxon,或者使用下载文件中的Ant构建文件(我用于测试示例代码)。
应用推荐