update
[linguofeng.github.com.git] / pages / tools / Ant.md
blob39aa9da2324b1decb8fd3135e0b5b52ab5c9bf8f
1 ---
2 layout: default
3 title: "Ant"
4 description: "项目构建工具"
5 ---
7 <section>
8     <div class="page-header">
9         <h1>安装 <small>环境:Ubuntu 12.04.1</small></h1>
10     </div>
11     <p>下载:http://ant.apache.org/download.html</p>
12     <pre>
13         $ mkdir /path/to/apache
14         $ mv apache-ant-1.8.4-bin.tar.gz /path/to/apache
15         $ tar -zxvf apache-ant-1.8.4-bin.tar.gz
16         $ subl ~/.bashrc
17         $ ant -version
18     </pre>
19     <pre>
20         export ANT_HOME=/path/to/apache/apache-ant-1.8.4
21         PATH=$PATH:$ANT_HOME/bin
22     </pre>
23     <pre>
24         Apache Ant(TM) version 1.8.4 compiled on May 22 2012
25     </pre>
26 </section>