Apache Ant:修订间差异
外观
删除的内容 添加的内容
补救3个来源,并将0个来源标记为失效。 #IABot (v1.5) |
Ohtashinichiro(留言 | 贡献) |
||
(未显示4个用户的7个中间版本) | |||
第1行: | 第1行: | ||
{{NoteTA|G1=IT|G2=FL}} |
|||
{{Infobox software |
{{Infobox software |
||
| name = Apache Ant |
| name = Apache Ant |
||
| logo = |
| logo = Apache-Ant-logo.svg |
||
| logo size = 200px |
|||
| logo alt = Apache Ant Logo |
|||
| screenshot = |
| screenshot = |
||
| caption = |
| caption = |
||
| developer = [[Apache |
| developer = [[Apache软件基金会]] |
||
⚫ | |||
| latest release version = 1.9.4 |
|||
⚫ | |||
| latest release date = {{release date|2014|5|5}} |
|||
| latest preview version = |
|||
| latest preview date = |
|||
⚫ | |||
⚫ | |||
| genre = [[組建自動化]] |
| genre = [[組建自動化]] |
||
| license = [[Apache |
| license = [[Apache许可证]] 2.0 |
||
| website = {{url| |
| website = {{url|https://ant.apache.org/}} |
||
}} |
}} |
||
第46行: | 第45行: | ||
*[[Apache Maven]] |
*[[Apache Maven]] |
||
*[[Make]] |
*[[Make]] |
||
==参考资料== |
|||
{{refs}} |
|||
== 外部链接 == |
== 外部链接 == |
||
*[http://ant.apache.org/ Official website of Apache Ant] |
*[http://ant.apache.org/ Official website of Apache Ant]{{Wayback|url=http://ant.apache.org/ |date=20100123055910 }} |
||
*[http://wiki.apache.org/ant/FrontPage Apache Ant wiki] |
*[https://web.archive.org/web/20151213155753/http://wiki.apache.org/ant/FrontPage Apache Ant wiki] |
||
*[http://code.google.com/p/winant/ WinAnt - Windows installer for Apache Ant] |
*[http://code.google.com/p/winant/ WinAnt - Windows installer for Apache Ant]{{Wayback|url=http://code.google.com/p/winant/ |date=20100227065258 }} |
||
*[https://web.archive.org/web/20100131063201/http://www.exubero.com/ant/antintro-s5.html Introduction to Ant] (slide show) |
*[https://web.archive.org/web/20100131063201/http://www.exubero.com/ant/antintro-s5.html Introduction to Ant] (slide show) |
||
*[https://web.archive.org/web/20070612182856/http://www.softwaresecretweapons.com/jspwiki/Wiki.jsp?page=LinguineMapsForApacheAnt Linguine Maps visualization library will automatically produce easy to read diagrams from Ant build files.] |
*[https://web.archive.org/web/20070612182856/http://www.softwaresecretweapons.com/jspwiki/Wiki.jsp?page=LinguineMapsForApacheAnt Linguine Maps visualization library will automatically produce easy to read diagrams from Ant build files.] |
||
*[http://sourceforge.net/projects/antro antro - a profiler for Ant scripts] |
*[http://sourceforge.net/projects/antro antro - a profiler for Ant scripts]{{Wayback|url=http://sourceforge.net/projects/antro |date=20100108073005 }} |
||
*[[b:Programming:Apache Ant|Wiki Book on learning Apache Ant]] |
*[[b:Programming:Apache Ant|Wiki Book on learning Apache Ant]] |
||
*[http://ideoplex.com/focus/java#ant Ant tutorial] |
*[http://ideoplex.com/focus/java#ant Ant tutorial]{{Wayback|url=http://ideoplex.com/focus/java#ant |date=20100130060540 }} |
||
*[http://hbtechs.blogspot.com/2007/06/automation-using-innovative-tools.html Ant Automation], a good handy example of automation with Ant. |
*[http://hbtechs.blogspot.com/2007/06/automation-using-innovative-tools.html Ant Automation]{{Wayback|url=http://hbtechs.blogspot.com/2007/06/automation-using-innovative-tools.html |date=20110708041538 }}, a good handy example of automation with Ant. |
||
*[https://web.archive.org/web/20100131050800/http://visualdrugs.net/antrunner/ A simple Windows GUI for running Ant.] |
*[https://web.archive.org/web/20100131050800/http://visualdrugs.net/antrunner/ A simple Windows GUI for running Ant.] |
||
{{Apache}} |
{{Apache}} |
||
{{Android}} |
{{Android}} |
||
{{Authority control}} |
{{Authority control}} |
||
⚫ | |||
[[Category: |
[[Category:Apache软件基金会项目|Ant]] |
||
[[Category: |
[[Category:自动化构建]] |
||
[[Category:編譯工具]] |
[[Category:編譯工具]] |
||
[[Category:自由跨平台軟體]] |
|||
[[Category:用Java編程的自由軟體]] |
|||
⚫ | |||
[[Category:Java开发工具]] |
|||
[[Category:使用Apache许可证的软件]] |
2024年9月5日 (四) 00:37的最新版本
開發者 | Apache软件基金会 |
---|---|
当前版本 |
|
源代码库 | |
编程语言 | Java |
操作系统 | 跨平臺 |
类型 | 組建自動化 |
许可协议 | Apache许可证 2.0 |
网站 | ant |
Apache Ant,是一个将软件编译、测试、部署等步骤联系在一起加以自动化的一个工具,大多用于Java环境中的软件开发。由Apache软件基金会所提供。默認情況下,它的buildfile(XML文件)名為build.xml。每一個buildfile含有一個<project>和至少一個預設的<target>,這些targets包含許多task elements。每一個task element有一個用來被參考的id,此id必須是唯一的。
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>
参见
[编辑]参考资料
[编辑]- ^ [ANNOUNCE] Apache Ant 1.10.14 released. 2023年8月21日 [2023年12月19日] (英語).
外部链接
[编辑]- 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.