Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 22189 invoked from network); 11 Oct 2000 02:26:02 -0000 Received: from proxy.dmz.ansett.com.au (firewall-user@203.103.148.129) by locus.apache.org with SMTP; 11 Oct 2000 02:26:02 -0000 Received: by proxy.dmz.ansett.com.au; id NAA28343; Wed, 11 Oct 2000 13:25:53 +1100 (EST) From: Received: from mime.vic.ansett.com.au(167.162.83.117) by proxy.dmz.ansett.com.au via smap (V4.2) id xma027179; Wed, 11 Oct 00 13:25:11 +1100 Received: from melmta.vic.ansett.com.au (unverified) by sfm02217.vic.ansett.com.au (Content Technologies SMTPRS 2.0.15) with SMTP id ; Wed, 11 Oct 2000 13:25:01 +1100 Received: by melmta.vic.ansett.com.au(Lotus SMTP MTA v4.6.6 (890.1 7-16-1999)) id 4A256975.0012C332 ; Wed, 11 Oct 2000 13:24:56 +1000 X-Lotus-FromDomain: ANSETT To: ant-dev@jakarta.apache.org Cc: "'ant-dev@jakarta.apache.org'" Message-Id: <4A256975.00124094.00@melmta.vic.ansett.com.au> Date: Wed, 11 Oct 2000 13:13:29 +1000 Subject: RE: [PATCH] New task MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Just curious as to whether there is a specific problem that you are trying to overcome with the addition of this task. It usually helps me if I can associate a given solution with the problem it's trying to overcome. Regards, Glen Stampoultzis Jose Alberto Fernandez on 11/10/2000 11:01:14 AM Please respond to ant-dev@jakarta.apache.org To: "'ant-dev@jakarta.apache.org'" cc: (bcc: Glen Stampoultzis/ITD/MEL/Ansett/AU) Subject: RE: [PATCH] New task If we were to follow this line of thought to their last consequences, We should remove because we should be doing that with scripts. I see no difference what so ever between setting a property based on the existance of a file or setting a property based on a value. To me scripting is using a cannon ball to kill a fly. Why do I need to have BSF installed and learn javascript, or netrexx or some other language AND download the interpreter for such language just to be able to make decision based on a value. With respect to whether we are going procedural here, I was very careful on the construct to stay declarative. The case statement is one of the constructs allowed in every single declarative language I know, from PROLOG (where you do it with unification) to all the functional languages and the parallel declarative languages as well. This is not more procedural than . Actually, is more procedural, given that it can check external resources that can be change depending on the execution order. I am offering this task because I think it is a functionality that should be in ANTs core, and not be in some optional part of ANT that requires you to download extra stuff and learn extra languajes. I hope you agree with my point of view. Jose Alberto > -----Original Message----- > From: Sean Brandt [mailto:sean@fuzzymagic.com] > Sent: Tuesday, October 10, 2000 5:48 PM > To: ant-dev@jakarta.apache.org > Subject: Re: [PATCH] New task > > > Hmm, with the advent of dynamic properties, scripting > really should be the > answer for this type of problem, IMHO. Perhaps there should > be a contrib package > of useful utility scripts? > > - Sean Brandt > > _____________________________________________________________________ CAUTION - This message may contain privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error please notify Ansett Australia immediately. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of Ansett Australia. ABN Ansett Australia Ltd 37 004 209 410 ABN Ansett International Ltd 72 060 622 460 _____________________________________________________________________