Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 51417 invoked from network); 24 Sep 2008 09:37:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Sep 2008 09:37:03 -0000 Received: (qmail 51803 invoked by uid 500); 24 Sep 2008 09:36:55 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 51773 invoked by uid 500); 24 Sep 2008 09:36:55 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 51762 invoked by uid 99); 24 Sep 2008 09:36:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Sep 2008 02:36:55 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of PATLUE@de.ibm.com designates 195.212.29.157 as permitted sender) Received: from [195.212.29.157] (HELO mtagate8.de.ibm.com) (195.212.29.157) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Sep 2008 09:35:54 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate8.de.ibm.com (8.13.8/8.13.8) with ESMTP id m8O9WZEg029908 for ; Wed, 24 Sep 2008 09:35:00 GMT Received: from d12av04.megacenter.de.ibm.com (d12av04.megacenter.de.ibm.com [9.149.165.229]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id m8O9UQ0F4141142 for ; Wed, 24 Sep 2008 11:31:23 +0200 Received: from d12av04.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av04.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m8O9UNHI024388 for ; Wed, 24 Sep 2008 11:30:23 +0200 Received: from d12ml070.megacenter.de.ibm.com (d12ml070.megacenter.de.ibm.com [9.149.166.93]) by d12av04.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id m8O9UN4f024382 for ; Wed, 24 Sep 2008 11:30:23 +0200 Subject: Iterating through the build script To: user@ant.apache.org X-Mailer: Lotus Notes Release 7.0 HF400 February 20, 2008 Message-ID: From: Patrick Luebbecke Date: Wed, 24 Sep 2008 11:30:22 +0200 X-MIMETrack: Serialize by Router on D12ML070/12/M/IBM(Release 8.0.1|February 07, 2008) at 24/09/2008 11:30:23 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Hi Folks, i'm currently writing a build script which will to the following tasks: 1. unpack file a 2. unpack file b (both files have the same directory and filestructure) 3. Replace several strings within different files 4. zip file a 5. zip file b since file a and b have different filenames is there any way to make ant to a) unpack file a b) replace the strings c) zip file a d) unpack file b e) replace the strings f) zip file b by invoking the "replace string"-target twice without changing my basic code structure (1-5) ? Regards --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org