Topic: Java的Build工具——Ant应用指南(ZT)

  Print this page

1.Java的Build工具——Ant应用指南(ZT) Copy to clipboard
Posted by: cckoan
Posted on: 2003-01-14 09:29



antuserGuide.pdf (149.53k)

2.Re:Java的Build工具——Ant应用指南(ZT) [Re: cckoan] Copy to clipboard
Posted by: coder
Posted on: 2003-01-14 10:07

简洁而清楚,易于操作,我喜欢这样的文章

3.Re:Java的Build工具——Ant应用指南(ZT) [Re: cckoan] Copy to clipboard
Posted by: scottding
Posted on: 2003-01-14 10:08

虽然我还没有看,但是现在我正在找关于这方面的文章,太感谢了。

4.Re:Java的Build工具——Ant应用指南(ZT) [Re: cckoan] Copy to clipboard
Posted by: floater
Posted on: 2003-01-14 10:53

It's pretty good.

Two more points:
1. Ant is task-oriented(Comparing to the fact that Java is object oriented), so there is a twist in the back of the mind.
2. Ant can run scripts, like Jython, javascript, as long as you get the corresponding libs.

5.Re:Java的Build工具——Ant应用指南(ZT) [Re: cckoan] Copy to clipboard
Posted by: floater
Posted on: 2003-01-14 10:56

One more point, get version 1.5.1.

One difference between version 1.4 and 1.5 is the error msgs.

If you include xml files in the build.xml, and get something wrong in these xml files, version 1.4 doesn't show which file the errors come from(with the correct line number), but version 1.5 does.

6.Re:Java的Build工具——Ant应用指南(ZT) [Re: floater] Copy to clipboard
Posted by: coder
Posted on: 2003-01-14 11:09

建议,floater给出一个重要特性的清单,由cckoan参考对文档进行补充
然后出 Ant应用指南——第二版 Big Smile

7.Re:Java的Build工具——Ant应用指南(ZT) [Re: cckoan] Copy to clipboard
Posted by: cckoan
Posted on: 2003-01-14 11:35

从赛迪网上转的,原文图片表格较多,我转成pdf文件,大家看起来方便一点。
ant我刚开始用,经验不够,恐怕有负coder兄重托,抱歉

8.Re:Java的Build工具——Ant应用指南(ZT) [Re: coder] Copy to clipboard
Posted by: floater
Posted on: 2003-01-15 00:41

coder wrote:
建议,floater给出一个重要特性的清单,由cckoan参考对文档进行补充
然后出 Ant应用指南——第二版 Big Smile

Hehe, actually, whether a feature is important is quite relative. If we need it, it's important, right, Smile.

This pdf is good enough for beginners and general reference. It covers most of often-used features.

As for others, we have to get elsewhere. Besides, it's a moving target.
I still have my 1.4 printcopy, but not 1.5 yet.

9.Re:Java的Build工具——Ant应用指南(ZT) [Re: cckoan] Copy to clipboard
Posted by: freeair
Posted on: 2003-01-15 15:39

I've got the ebook 《O'Reilly Ant - The Definitive Guide.pdf》
I'll upload it to the ftp site you prefer.

10.Re:Java的Build工具——Ant应用指南(ZT) [Re: cckoan] Copy to clipboard
Posted by: xuzy
Posted on: 2003-01-15 22:06

really good.

11.Re:Java的Build工具——Ant应用指南(ZT) [Re: freeair] Copy to clipboard
Posted by: floater
Posted on: 2003-01-15 23:00

freeair wrote:
I've got the ebook 《O'Reilly Ant - The Definitive Guide.pdf》
I'll upload it to the ftp site you prefer.

It's already there. (although I haven't read it yet, Sad).

12.Re:Java的Build工具——Ant应用指南(ZT) [Re: cckoan] Copy to clipboard
Posted by: wning
Posted on: 2003-01-16 03:01

A new feature in Ant 1.5.1 is that it has BuildNumber control task which I found out to be very useful.

13.Re:Java的Build工具——Ant应用指南(ZT) [Re: cckoan] Copy to clipboard
Posted by: hitdemo2002
Posted on: 2003-01-28 13:59

好啊

14.Re:Java的Build工具——Ant应用指南(ZT) [Re: cckoan] Copy to clipboard
Posted by: liufancjsdn
Posted on: 2003-02-26 10:44

我总认为有了JBuilder之类的工具后,Ant就没什么大的用处了
建目录、编译什么的,它都跟你搞好了嘛
请各位指教

15.Re:Java的Build工具——Ant应用指南(ZT) [Re: cckoan] Copy to clipboard
Posted by: harvshen
Posted on: 2003-02-28 16:03

不是所有的人都有钱买正版的jbuilder
Ant 作为免费又有力的工具,是不可或缺的。

16.Re:Java的Build工具——Ant应用指南(ZT) [Re: cckoan] Copy to clipboard
Posted by: magician
Posted on: 2003-03-06 17:31

速度呢?

编译EJB,ANT快?还是JBUILDER快?

你在开发J2EE项目时,特别是调试阶段,那叫一个痛苦啊

虽然我也用JB,但还是咬牙切齿啊

17.Re:Java的Build工具——Ant应用指南(ZT) [Re: magician] Copy to clipboard
Posted by: floater
Posted on: 2003-03-07 00:11

magician wrote:
速度呢?

编译EJB,ANT快?还是JBUILDER快?

你在开发J2EE项目时,特别是调试阶段,那叫一个痛苦啊

虽然我也用JB,但还是咬牙切齿啊

I think jb and ant serve different purposes. jb is for development and ant is for integration/automation. As for compiling time, really not that different.

18.Re:Java的Build工具——Ant应用指南(ZT) [Re: cckoan] Copy to clipboard
Posted by: MrTong
Posted on: 2003-03-15 09:50

《O'Reilly Ant - The Definitive Guide.pdf》你放在那个ftp上啦,我怎么才可以看?

19.Re:Java的Build工具——Ant应用指南(ZT) [Re: cckoan] Copy to clipboard
Posted by: squall
Posted on: 2003-03-15 21:30

3q3q

20.Re:Java的Build工具——Ant应用指南(ZT) [Re: cckoan] Copy to clipboard
Posted by: samye
Posted on: 2003-03-18 00:10

Actualy JB use ant to package the applications too. JB is an integration development environment and it include the ant.

Ant is free and you can use ant without JB

Ant compile files very quick and actualy if you have 100 files and just update one file, when you re-package the application you just have to compile one file only. So it's speed is high so it is not true that it is not suit for development.

In our company we use ant when we develop our j2ee application or our tomcat application.

21.Re:Java的Build工具——Ant应用指南(ZT) [Re: cckoan] Copy to clipboard
Posted by: wangyi
Posted on: 2003-03-18 15:15

我用过Ant,非常好用,速度也快,非常便于和配置管理工具集成。

22.Re:Java的Build工具——Ant应用指南(ZT) [Re: cckoan] Copy to clipboard
Posted by: 江湖飘
Posted on: 2003-04-02 11:51

谢谢,好东东

23.Re:Java的Build工具——Ant应用指南(ZT) [Re: cckoan] Copy to clipboard
Posted by: Jove
Posted on: 2003-04-12 21:41

我认为即使是用JBuilder,推荐也建一个Ant build.xml
把编译,打包,运行,混淆等工作交给它
这样,换了一个IDE,或是OS都没问题

24.Re:Java的Build工具——Ant应用指南(ZT) [Re: magician] Copy to clipboard
Posted by: chaor
Posted on: 2003-04-19 10:22

magician wrote:
速度呢?

编译EJB,ANT快?还是JBUILDER快?

你在开发J2EE项目时,特别是调试阶段,那叫一个痛苦啊

虽然我也用JB,但还是咬牙切齿啊

那你该用vaj或wsad,真的,在调试阶段你会爽翻的


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923