The build file is now complete.
构建文件现在已经完成了。
Save the modified Ant build file.
保存这个修改的Ant构建文件。
The build file is named build.xml;
构建文件名为build.xml;
Create, manage, and run the ANT build file.
创建、管理和运行ANT编译文件。
Outline the ant build file, as shown in Listing 1.
列出Ant构建文件,如清单1中所示。
Running the Ant build file from the IDE is straightforward.
从IDE运行Ant构建文件非常简单。
An Ant build file has been supplied for building the example.
本文还提供了构建该例子的Ant构建文件。
Listing 7 shows the Ant build file I've used with this article.
清单7是我在本文中使用的Ant构建文件。
You can put the contents shown in Listing 2 inside your new build file.
您可以把清单2中所示的内容放入到新的构建文件中。
Combine them to your build file to make well-integrated tests with Ant.
将它们组合到您的构建文件,以便利用Ant完成良好集成的测试。
ProjectName: the name of the project that will contain this EGL build file.
将包含这个EGL构建文件的项目的名称。
Update the default task (the first line of the Ant build file) to mytest task.
更新这个默认的任务(Ant构建文件的第一行)为mytest任务。
You can download the source code for this project, including an ANT build file.
可以下载本项目的源代码,包括一个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构建文件中的其他目标。
Instead of init target in the preceding example, you can similarly invoke other targets from the Ant build file.
可以不使用前一示例中的init目标,而以类似的方式调用Ant构建文件中的其他目标。
应用推荐