如何编写Ant脚本?

如何编写Ant脚本?

问题描述:

谁能告诉我怎么写Ant脚本(如果我想创建自己的)的意思是没有任何一种教程可用?

Can anyone tell me how to write Ant script (if i want to create my own) mean is there any kind of tutorial available?

的Eclipse / Netbeans的自动提供Ant脚本,但它可以是可以编辑和定制他们按要求?如果是的话那么如何做到这一点,如何自定义它是由IDE提供的工作空间。

Eclipse/Netbeans provide Ant script automatically but can it be possible to edit and customize them as per requirement? If yes then how to do this and how to customize the workspace which is provided by IDE.

编辑:有没有什么好的书可供蚂蚁?请建议。

Is there any good book available for ANT? Please suggest.

感谢

几个要点:


  • 窗口> preferences> server - 配置目标服务器运行时

  • 右键单击项目>属性> Java构建路径 - 让你添加额外的罐子和库。 Eclipse中为您提供了pre-配置库,用于Web开发

  • 作为阿卜杜勒说,获得Web工具平台(WTP)插件

  • 窗口>显示视图>服务器 - 打开服务器的面板,在那里你可以启动/停止服务器和管理部署的应用程序