自动化每日构建(二)用Ant来完成java工程的每日构建

** Start a new Java project by using Ant **

This document has 5 sections:

Brief

System requirement

Directories and files

The Build file

Run Ant

_ Brief _

Start a new Java project by using Ant, so we can make Daily Building. All have to do list below:

1.Install java SDK1.4 and new version Ant, and make Ant works.

2.Copy Directories and files from dproject(d for Java) template library.

3.Make project files stay in the right directory.

4.Edit the Build.xml file. Let it fit the project.

5.Run Ant.

_ System requirement _

Java SDK1.4 or higher

Ant 1.6 or higher

_ Directories and files _

You can make directories yourself, or copy from template. But make sure the directory tree like this:

![](C:\Documents and Settings\sam\My Documents\My Pictures\jproject.jpg)

Published At
Categories with Web编程
comments powered by Disqus