Listing 10 shows the sample build script template code.
清单10显示了示例构建脚本模板代码。
The tag declares the Python tasks you'll be using throughout the build script.
标签声明在整个构建脚本中使用的Python任务。
To run the target, run the build script, and select the 'tests' target to execute.
运行目标的方法是先运行构建脚本,再选择执行“tests”目标。
It does not do the check out; that is done by the build script (see Target: checkout).
它不执行签出;签出是由构建脚本执行的(请参阅目标:签出)。
The following build fragment in Listing 5, added to your build script, will do just that.
将下面清单5所示的构建片断加入构建脚本便可实现。
Next, you'll add a target to the build script to execute a Python script (see Listing 2).
接下来将向构建脚本中加入新的目标,用于执行python脚本(请参阅清单2)。
Now take a look at what you need to add to your build script to use the FindBugs task.
现在看看在编译脚本中要加入什么才能使用FindBugs任务。
After you've made those changes, you can rerun the Ant build script in your DocBook XML project.
在做出更改后,您可以重新运行DocBookXML项目中的Ant构建脚本。
If you do, you can use the Ant build script provided with this sample to build your source code.
如果使用其他编辑器,您可以使用本示例附带的Ant构建脚本来构建源代码。
Next, you need to write the Ant build script, which CruiseControl will run to build your project.
下一步,您需要编写Ant构建脚本,CruiseControl将运行该脚本以构建您的项目。
An example of supplying the JAR files to the XSLT task is provided in the Ant build script below.
下面的Ant构建脚本中提供了为xslt任务提供JAR文件的示例。
Any data that is referenced more than once in the same build script should be defined in a property.
在同一构建脚本中任何引用不止一次的数据都应该定义成属性。
The delegating build script calls the project's build script, which executes a compile and runs any tests.
该委托构建脚本调用项目的构建脚本,后者执行编译并运行测试。
Expand the CAS server ZIP file and then build the CAS server software using the supplied Ant build script.
对CAS服务器ZIP文件进行解压,并使用Ant构建脚本构建CAS服务器软件。
This same build script can then be the master mechanism for integration builds — regardless of environment.
然后可以将这个构建脚本作为集成构建的主控机制 —不论什么环境。
The output of the build script execution should be displayed on the Console view, showing a successful run.
构建脚本执行过程中的输出信息应该显示在Console视图中,表示运行成功。
The sidebar "Build script outline" shows the actual sequence of steps represented by their Ant target names.
在侧栏“构建脚本的要点”中,我们给出了实际的操作顺序,其中每个步骤都是用Ant 目标名表示的。
In larger applications, a build script should be used to automate this process to prevent issues from occurring.
在大型应用程序中,应建立自动处理此过程的脚本,以防此类问题发生。
In the download that accompanies this article, there is an example Ant build script that USES each of these tasks.
在本文附带的下载资源中,有一个例子Ant构建脚本,该脚本一一使用了这些任务。
Let's briefly walk through the steps to the run the demos using the Ant build script included in the download package.
让我们使用下载包中包含的Ant构建脚本来简要地看一下运行演示程序的步骤。
The following snippet of XML in Listing 3 added to your build script will generate PyDocs for all of your Python modules.
在构建脚本中加入清单3中列出的如下xml片断,可为所有的Python模块生成pydoc。
To solve the IDE-only build problem, all you must do is create a build script (you can still easily use it through your IDE).
要解决“只用IDE构建”这一问题,要做的就是创建一个构建脚本(依然可以方便地通过IDE使用这个脚本)。
The Ant build script, shown in Listing 8, simply packages hamlet.jar and MANIFEST.MF into a jar file called hamletbundle.jar.
Ant构建脚本(如清单8中所示),只简单地将hamlet .jar和MANIFEST . MF打包进了一个jar文件,名为hamletbundle . jar。
I then created the correctly packaged JAR file (using a build script) so that FindBugs knew how to load the unguarded detector.
然后创建正确打包的JAR文件(使用编译脚本),使FindBugs知道如何装载未监护检测器。
To do so, you could easily instruct your build script to copy these files from the JEE project into the Grails project at build time.
使用构建脚本,你可以很容易地做到这点。 即,在构建时,将这些文件从JEE工程中复制到Grails工程中。
This build script is called by CruiseControl whenever it detects a change and needs to build the project. When the build runs, it will
每当检测到更改并且需要构建项目时,CruiseControl 将调用该构建脚本。
You will need to understand these working directories so you can write the build script and configure CruiseControl to build your project.
您需要了解这些工作目录,这样才能编写构建脚本和配置CruiseControl以构建项目。
The build definition specifies the build interval, which build script to use, and which repository workspace to be used for fetching files.
构建定义指定构建间隔、要使用哪个构建脚本,以及要使用哪个存储库工作区来获取文件。
The manifest and Ant build script for the Monitor bundle are almost identical to their Hello bundle counterparts, and thus are not illustrated here.
Monitorbundle的manifest文件和Ant构建脚本与Hello bundle几乎无异,所以这里未做解释。
By using a Gant automated build script to execute the CheckStyle ant task, I can search my code base for classes that rely on too many other classes.
通过使用Gant自动构建脚本执行CheckStyleant任务,我可以搜索代码库,查找过多依赖于其他类的类。
应用推荐