Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 42869 invoked by uid 500); 15 Aug 2001 18:43:43 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 42860 invoked from network); 15 Aug 2001 18:43:43 -0000 Message-ID: <08c101c125ba$d6551710$8b00000a@TariqM> From: "T Master" To: References: <1171E12B84A02B4584B3BD41F8D7E29E225501@NTEXCH.graviton.com> Subject: Re: multiple builds Date: Wed, 15 Aug 2001 12:48:12 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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: h31.sny.collab.net 1.6.2 0/1000/N I decided to group all my ant .xml files in one directory. I have a properties file, containing properties to reference each directory, the names of the jar files to produce. Each sub-project has its own build file, which can act independent of the parent (properties are thus not inherited). However, the parent buildfile, build.xml, may call the subproject files and their respective targets. I have worked with other projects where makefiles were scattered into the directory they were concerned with. That lead to confusion, headaches in locating and resolving problems. Keep it simple, and have your xml files group together! Make a template xml file. Then each project can just modify this for their own needs. Simple, then add a call from the parent build.xml file to this one for say, compiling, jaring and anything else required. Depending on the XML parser used by Ant, it is better in my opinion to split projects up due to the memory contraints of creating the model in memory, hence each sub-project is allowed it's own build file. Hope that helps. T Master. ----- Original Message ----- From: "Steve Wells" To: Sent: Wednesday, August 15, 2001 12:33 PM Subject: multiple builds > Is anybody out there using Ant for multiple builds, including > sub-projects, etc? If so what are your recommendations & other > considerations involved? > > Thanks, > > Steve