Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 9404 invoked from network); 28 Aug 2002 14:26:26 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 28 Aug 2002 14:26:26 -0000 Received: (qmail 2951 invoked by uid 97); 28 Aug 2002 14:26:46 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 2933 invoked by uid 97); 28 Aug 2002 14:26:46 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 2920 invoked by uid 98); 28 Aug 2002 14:26:45 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <029f01c24e9e$925812c0$a001000a@scmlabs.com> From: "Michael Baker" To: Subject: Building Multiple Projects with one build.xml Date: Wed, 28 Aug 2002 08:24:08 -0600 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_029C_01C24E6C.4792C230" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_029C_01C24E6C.4792C230 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi everybody. I have many Java projects with many separated build.xmls. I would like = to create a template build.xml that uses a property file for necessary = properties. My question. Is it possible to call the jar task many times based on a = set of properties? I would like to be able to build all of my Java = projects with one build.xml and one property file. I am familiar with = setting up the property file, but not sure what to do in build.xml (I = only want to have one javac task, jar task, etc). In a scripting language I would: for each property (in jar section of file) create jar=20 next Is this possible in Ant? Thanks for any help. Mike ------=_NextPart_000_029C_01C24E6C.4792C230--