Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 32530 invoked by uid 500); 24 Jul 2003 07:53:52 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 32510 invoked from network); 24 Jul 2003 07:53:50 -0000 Received: from unknown (HELO elitecore.com) (203.88.135.194) by daedalus.apache.org with SMTP; 24 Jul 2003 07:53:50 -0000 Received: (qmail 27205 invoked from network); 24 Jul 2003 07:53:37 -0000 Received: from unknown (HELO mailhost.elitecore.com) ([127.0.0.1]) (envelope-sender ) by 127.0.0.1 (qmail-ldap-1.03) with SMTP for ; 24 Jul 2003 07:53:37 -0000 Received: (qmail 27162 invoked from network); 24 Jul 2003 07:53:37 -0000 Received: from firewall.elitecore.com (HELO ELITECORE86) ([203.88.135.195]) (envelope-sender ) by elitecore.com (qmail-ldap-1.03) with SMTP for ; 24 Jul 2003 07:53:37 -0000 Message-ID: <001d01c351b8$ca272060$88cb09c0@ELITECORE86> From: "Dhaval Chokshi" To: "Ant Users List" Subject: Loop support in ant ? Date: Thu, 24 Jul 2003 13:24:20 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001A_01C351E6.E3D10480" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_001A_01C351E6.E3D10480 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable can we include any type of loop in the ant build.xml file? I have to generate one build.xml file that performs the same tasks for = various modules. Each time i have to add one module or delete one module = I have to remove targets from the build.xml file or add targets in the = build file. Targets have all the functionalities same but only the = module name changed. If I can add one loop in the build.xml file that = will repeat the same targets for all the modules then it will greatly = help me. Please look at the targets below: both are same but only the name = "staff" is replaced with "provisioning" in the second target. Can I = directly generate these types of modules? Thanks in advance. Dhaval ------=_NextPart_000_001A_01C351E6.E3D10480--