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 22398 invoked from network); 13 Dec 2000 14:14:15 -0000 Received: from mail.alphalink.com.au (203.24.205.7) by locus.apache.org with SMTP; 13 Dec 2000 14:14:15 -0000 Received: from donalgar (d374-ps1-mel.alphalink.com.au [202.161.106.248]) by mail.alphalink.com.au (8.9.3/8.9.3) with SMTP id BAA19187; Thu, 14 Dec 2000 01:14:14 +1100 Message-Id: <3.0.6.32.20001214011125.008bee80@latcs2.cs.latrobe.edu.au> X-Sender: pjdonald@latcs2.cs.latrobe.edu.au X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Thu, 14 Dec 2000 01:11:25 +1100 To: ant-dev@jakarta.apache.org From: Peter Donald Subject: Re: Expanding ${} constructs for all attributes Cc: ant-dev@jakarta.apache.org In-Reply-To: <14903.33291.516000.329853@gargle.gargle.HOWL> References: <3.0.6.32.20001213203119.008ed330@latcs2.cs.latrobe.edu.au> <3.0.6.32.20001213210656.008ec770@latcs2.cs.latrobe.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N At 09:04 13/12/00 -0500, Rousseau, John wrote: >We have a bunch of stand-alone commands we create around our main >product. Not all of these commands are built/supported on all >platforms (it's native code). What I want to do is have a >targets.xml file with build rules for all targets. I then want a >master build.xml file for each platform that sets ${build.targets} >appropriately for that platform, and calls on the targets >file. The targets file main then depends on >${build.targets}. This is a serious lack of functionality when >compared to make. nope you can do that fine in vanilla ant now. ie add this into file then call that file either setting or not setting the respective properties do-target1, do-target2, do-target3. Much easier to comprehend IMHO and easier to read/maintain. Cheers, Pete *-----------------------------------------------------* | "Faced with the choice between changing one's mind, | | and proving that there is no need to do so - almost | | everyone gets busy on the proof." | | - John Kenneth Galbraith | *-----------------------------------------------------*