Apache Ant
![本页使用了标题或全文手工转换](https://upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Zh_conversion_icon_m.svg/35px-Zh_conversion_icon_m.svg.png)
![]() | |
Apache软件 | |
| |
编程语言 | Java |
类型 | |
许可协议 | Apache许可证 2.0 |
网站 | ant |
Apache Ant,
build.xml 範 例 [编辑]
<?xml version="1.0" ?>
<project name="Hello World" default="execute">
<target name="init">
<mkdir dir="build/classes"/>
<mkdir dir="dist"/>
</target>
<target name="compile" depends="init">
<javac srcdir="src" destdir="build/classes"/>
</target>
<target name="compress" depends="compile">
<jar destfile="dist/HelloWorld.jar" basedir="build/classes" />
</target>
<target name="execute" depends="compile">
<java classname="HelloWorld" classpath="build/classes"/>
</target>
</project>
参 见[编辑]
外部 链接[编辑]
- Official website of Apache Ant(页面
存 档备份,存 于互联网档案 馆) - Apache Ant wiki
- WinAnt - Windows installer for Apache Ant(页面
存 档备份,存 于互联网档案 馆) - Introduction to Ant (slide show)
- Linguine Maps visualization library will automatically produce easy to read diagrams from Ant build files.
- antro - a profiler for Ant scripts(页面
存 档备份,存 于互联网档案 馆) - Wiki Book on learning Apache Ant
- Ant tutorial(页面
存 档备份,存 于互联网档案 馆) - Ant Automation(页面
存 档备份,存 于互联网档案 馆), a good handy example of automation with Ant. - A simple Windows GUI for running Ant.
|
- ^ [ANNOUNCE] Apache Ant 1.10.14 released. 2023
年 8月 21日 [2023年 12月19日 ] (英語 ).