网站大量收购独家精品文档,联系QQ:2885784924

什么是Ant(What is Ant).doc

  1. 1、本文档共31页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
什么是Ant(What is Ant)

什么是Ant(What is Ant) Ant is a Java based build tool. In theory, it is somewhat similar to the make in C (Unix), but there is no make flaw. Why do we need a new build tool since we already have make, gnumake, nmake, jam, and other build tools? Because Ants authors developed software on a variety of (hardware) platforms, they were unable to tolerate the limitations and inconveniences of these tools. Tools like make are essentially shell - based: they calculate dependencies and then execute commands that are not very different from the commands you command at the command line. This means that you can easily extend the tool by using OS specific or writing new (command) programs; however, this also means that you restrict yourself to a specific OS, Or on a particular OS type, such as Unix. Makefile is also hateful. Anyone who has used them has had a nasty tab problem. The original author of Ant often asks himself, does my command not execute because there is a space in front of my tab?!!. Tools like jam deal with this kind of problem very well, However, users must remember and use a new format. Ant is different. Unlike the extension model based on the shell command, Ant extends with the class of Java. The user does not have to write the shell command, and the configuration file is based on XML, You can execute various task by calling the target tree. Each task is run by implementing an object that implements a particular Task interface. If you dont have any idea about Ant, May not understand this section, it does not matter, and later on target, task will do a detailed introduction. If you dont have much time, you can even skip this section, and then come back to browse here Introduce, then you will understand. Similarly, if youre not familiar with tools such as make, it doesnt matter, and the following description doesnt use the concepts in make at all It must be admitted that in doing so, some unique expressive power is lost when constructing the shell command. Such as

文档评论(0)

f8r9t5c + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8000054077000003

1亿VIP精品文档

相关文档