fbpx
维基百科

Apache Ant

Apache Ant,是一个将软件编译测试部署等步骤联系在一起加以自动化的一个工具,大多用于Java环境中的软件开发。由Apache软件基金会所提供。默認情況下,它的buildfile(XML文件)名為build.xml。每一個buildfile含有一個<project>和至少一個預設的<target>,這些targets包含許多task elements。每一個task element有一個用來被參考的id,此id必須是唯一的。

Apache Ant
開發者Apache软件基金会
当前版本
  • 1.10.13 (2023年1月10日;穩定版本)[1]
源代码库
  • git-wip-us.apache.org/repos/asf/ant.git
编程语言Java
操作系统跨平臺
类型組建自動化
许可协议Apache许可证 2.0
网站ant.apache.org

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(页面存档备份,存于互联网档案馆
  • WinAnt - Windows installer for Apache Ant(页面存档备份,存于互联网档案馆
  • (slide show)
  • antro - a profiler for Ant scripts(页面存档备份,存于互联网档案馆
  • Wiki Book on learning Apache Ant
  • Ant tutorial(页面存档备份,存于互联网档案馆
  • Ant Automation(页面存档备份,存于互联网档案馆), a good handy example of automation with Ant.
  1. ^ Apache Ant™ Project News. 2023年1月10日 [2023年7月8日]. 

apache, 是一个将软件编译, 测试, 部署等步骤联系在一起加以自动化的一个工具, 大多用于java环境中的软件开发, 由apache软件基金会所提供, 默認情況下, 它的buildfile, xml文件, 名為build, 每一個buildfile含有一個, project, 和至少一個預設的, target, 這些targets包含許多task, elements, 每一個task, element有一個用來被參考的id, 此id必須是唯一的, 開發者apache软件基金会当前版本1, 2023年1月10日. Apache Ant 是一个将软件编译 测试 部署等步骤联系在一起加以自动化的一个工具 大多用于Java环境中的软件开发 由Apache软件基金会所提供 默認情況下 它的buildfile XML文件 名為build xml 每一個buildfile含有一個 lt project gt 和至少一個預設的 lt target gt 這些targets包含許多task elements 每一個task element有一個用來被參考的id 此id必須是唯一的 Apache Ant開發者Apache软件基金会当前版本1 10 13 2023年1月10日 穩定版本 1 源代码库git wip us wbr apache wbr org wbr repos wbr asf wbr ant wbr git编程语言Java操作系统跨平臺类型組建自動化许可协议Apache许可证 2 0网站ant wbr apache wbr orgbuild xml 範例 编辑 lt xml version 1 0 gt lt project name Hello World default execute gt lt target name init gt lt mkdir dir build classes gt lt mkdir dir dist gt lt target gt lt target name compile depends init gt lt javac srcdir src destdir build classes gt lt target gt lt target name compress depends compile gt lt jar destfile dist HelloWorld jar basedir build classes gt lt target gt lt target name execute depends compile gt lt java classname HelloWorld classpath build classes gt lt target gt lt project gt 参见 编辑Jakarta项目 Apache Maven Make外部链接 编辑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 Apache Ant Project News 2023年1月10日 2023年7月8日 取自 https zh wikipedia org w index php title Apache Ant amp oldid 78321699, 维基百科,wiki,书籍,书籍,图书馆,

文章

,阅读,下载,免费,免费下载,mp3,视频,mp4,3gp, jpg,jpeg,gif,png,图片,音乐,歌曲,电影,书籍,游戏,游戏。