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构建文件。
A nice Ant build file to facilitate compilation of custom builds.
一个很好的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.
这是我们将会使用到的一个属性来让构建文件尽可能地通用。
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 ——它也是构建文件的默认目标。
Build file is where the user sets the name of the build file to be used by the build utility.
Build file就是用户选择构建工具所使用的构建文件名字的地方。
CreateEGLBuildFile: Creates an empty EGL build file with the name specified in the parameters.
创建一个参数中列有名称的空的EGL构建文件。
First, it creates a file object from the build file and then creates a new Project object.
首先,它从构建文件创建一个文件对象,然后创建一个新的Project对象。
Note: To create the AtomClip extension, you can use the included Ant build file to generate it.
注意:要创建AtomClip扩展,您可以使用包含的Ant构建文件来生成它。
If an EGL build file with the same name already existed in the project, its content will be reset.
如果一个有着同样名字egl构建文件已经存在于项目中,那么它的内容将被重新设置。
Now the Ant build file is ready for adding new Ant targets that represent the automation procedure.
现在Ant构建文件已经准备好开始添加表示自动化过程的新ant目标了。
To properly handle the workspace environment variable, we'll add the following code to the build file.
为了合适地处理workspace环境变量,我们将会向构建文件添加以下的代码。
The build file is also set up to deploy to a broker named BK1 and its execution group named default.
构建文件还设置为部署名为bk1的代理及其名为default的执行组。
Once you've added similar tasks to your own Ant build file, you generate a coverage report by typing.
在自己的Ant编译文件中加入了类似的任务后,就可以通过键入以下命令来生成一个覆盖报告。
This might be problematic for archiving and tracking purposes but we'll handle that outside of the build file.
对于获取或者追踪为目的的操作来说,这可能会出现一些问题,但是我们将会在构建文件的外边来处理它。
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。
The Properties field also interests us: This is where we will define all the properties used by our build file.
Properties区域仍然很有意思:这就是我们定义构建文件所使用的所有属性的地方。
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上如下所示。
Next, change the build.properties file so that the icon folder and its contents are included in the build file.
接下来,更改build . properties文件,以使icon文件夹及其内容都包含在build文件中。
A front-end process (also an Ant script) runs the stylesheet to transform the input documents into the Ant build file.
我们设计了一个前端过程(也是一个ant脚本),它运行样式表,将输入文档转换成ant的build文件。
The build file we're going to write to build this application is fairly simple and consists in the following operations
您要编写以构建该程序的构建文件相对来说是比较简单,而且在组成了以下的操作
应用推荐