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 14914 invoked from network); 14 May 2000 12:36:59 -0000 Received: from gw-nl1.origin-it.com (@193.79.128.34) by locus.apache.org with SMTP; 14 May 2000 12:36:59 -0000 Received: from mail.nl.origin-it.com (localhost.origin-it.com [127.0.0.1]) by gw-nl1.origin-it.com with ESMTP id OAA14872 for ; Sun, 14 May 2000 14:36:57 +0200 (MEST) (envelope-from Arnout.Kuiper@nl.origin-it.com) Received: from mail.nl.origin-it.com(172.16.127.67) by gw-nl1.origin-it.com via mwrap (4.0a) id xma014870; Sun, 14 May 00 14:36:57 +0200 Received: from nlehx900.ehvovh.nl.origin-it.com (nlehx900.ehvovh.nl.origin-it.com [172.16.92.111]) by mail.nl.origin-it.com (8.9.3/8.8.5-1.2.2m-19990317) with ESMTP id OAA28719 for ; Sun, 14 May 2000 14:36:57 +0200 (MET DST) Received: by nlehx900.ehvovh.nl.origin-it.com with Internet Mail Service (5.5.2448.0) id ; Sun, 14 May 2000 14:36:57 +0200 Message-ID: From: "Kuiper, Arnout" To: "'ant-dev@jakarta.apache.org'" Subject: RE: Task functionality next version Ant Date: Sun, 14 May 2000 14:36:55 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Oops, trigger fingers. > > -----Original Message----- > > From: Stefan Bodewig [mailto:bodewig@bost.de] > > KA> Now we are talking about task functionality here, how about > > KA> defining some for the next version Ant. > > > > I agree with all of what you've written and just want to > add that move > > would probably need a "forceoverwrite" attribute, too. Agreed. > > The optional RenameExtensions tasks lokks a little bit as if it > > belonged into the move category. I'm not sure. Could be, but it is a bit tricky. What "RenameExtensions" does, fits in the category of renaming a file with "Move". If we want to include the "RenameExtensions" functionality in "Move", than I propose to make it more general, and allow to change filenames (pathnames?) with the use of some regexp. Such that you can rename for instance all ".java" files to ".java.orig". This is a nice add-on, but I think we should stick to the simple "Move" version first, before adding the more complex regexp stuff. > > IIRC Thomas Haas has written a task that consolidates text > > manipulation taks (FixCRLF, KeySubst, Replace). Agreed. > > Expand and Zip could be put together into a single task. Personally I would keep these separated (and rename expand to unzip). The same holds for jar and unjar and gzip and gunzip. -Arnout