From owner-freebsd-java Tue Feb 26 8:49: 0 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.net2000.ch (mail.net2000.ch [62.2.252.229]) by hub.freebsd.org (Postfix) with ESMTP id 0688337B417 for ; Tue, 26 Feb 2002 08:48:58 -0800 (PST) Received: from wireless-networks.com ([62.2.196.33]) by mail.net2000.ch (Netscape Messaging Server 3.5) with ESMTP id AAA1E3D; Tue, 26 Feb 2002 17:46:12 +0100 Message-ID: <3C7BBF09.4010709@wireless-networks.com> Date: Tue, 26 Feb 2002 17:59:53 +0100 From: Cedric Berger User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.7+) Gecko/20020123 X-Accept-Language: en-us MIME-Version: 1.0 To: Jeff Dalton Cc: freebsd-java@FreeBSD.ORG Subject: Re: What is ant good for? References: <23033.200202261608@todday> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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