Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2002 17:59:53 +0100
From:      Cedric Berger <cedric@wireless-networks.com>
To:        Jeff Dalton <jeff@aiai.ed.ac.uk>
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: What is ant good for?
Message-ID:  <3C7BBF09.4010709@wireless-networks.com>
References:  <23033.200202261608@todday>

next in thread | previous in thread | raw e-mail | index | archive | help
Jeff Dalton wrote:

>I've been reading the "tools" discussion, and all I use is emacs,
>jdk, and Netscape for reading the on-line documentation.  The only
>change I'm tempted to make is to start using ant.
>
Great idea.

>But every time I've looked at anyone's ant script (is script
>the right word?), it's seemed alarmingly complex.
>
Well, ant scripts are like makefile. there is small ones, and there is 
big ones.
You can put anything in an ant script: compiling, but also regressions 
tests,
deployment, packaging. But an ant script doesn't need to be big.

>So I'm wondering whether ant does anything that would make it
>worth the effort of learning to use it.
>
Yes.
1) it's portable (really)
2) it has an easy syntax (yes)

There is only few things you can do with an Ant file that you cannot
do with a makefile or a shell script, but all common task of building,
packaging, testing and deploying java apps are very easy and
straightforward to do.

>Does it, for instance, work out the dependencies between files
>to determine what needs to be recompiled and what doesn't?
>
I'm not sure.
Cedric



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C7BBF09.4010709>