It also explains how to run the Ant script from the command line.
本文还说明了如何从命令行运行ant脚本的方法。
Create, manage, and run the ANT build file.
创建、管理和运行ANT编译文件。
I use Ant to build the projects, and JUnit to run the unit test.
我用Ant构建项目,并用JUnit运行单元测试。
A build.xml Ant file which will compile and run the demonstration.
xmlAnt文件,用于编译和运行演示。
Once you run ant and build your application, you see a new directory called target/.
只要运行ant并构建应用程序,就能看到一个名为target/ 的新目录。
Navigate to sample directory and from there run ant from the command line.
导航到样例目录,在这里通过命令行运行ant。
To build and package the application you simply run ant buildwar.
为了对应用程序进行构建和打包,只需运行antbuildwar。
First though, you should run ant download-dependencies.
但是,首先应该运行antdownload - dependencies。
Now, when you run ant -p, you get the result in Listing 5.
现在,当您运行ant-p 时,您得到清单5中的结果。
You can run this in the sample code via the ant item-demo command.
您可以通过ant item -demo命令在示例中代码运行它。
Finally, run ant release, which builds Shale from scratch.
最后,运行antrelease,以便从头开始构建Shale。
Run the command ant, and the build process should begin.
运行ant命令,然后构建过程应当开始。
To run the example program, just type the ant command with no parameters.
要运行示例程序,只需键入ant命令,不需要参数。
Run the Ant task as in the previous example.
在先前的例子中运行这个Ant任务。
Right click the build.xml file, then click Run Ant.
右键单击build . xml文件,然后单击Run Ant。
Right click the build.xml file and click Run Ant.
右键单击build.xml文件,然后单击Run Ant。
在Ant中运行jar任务。
在Ant中运行jar任务。
应用推荐