Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 36228 invoked from network); 17 Jan 2008 20:03:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Jan 2008 20:03:29 -0000 Received: (qmail 52433 invoked by uid 500); 17 Jan 2008 20:03:15 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 52139 invoked by uid 500); 17 Jan 2008 20:03:14 -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 52128 invoked by uid 99); 17 Jan 2008 20:03:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jan 2008 12:03:14 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [216.87.69.82] (HELO vw-den-ap03-p.den.api.local) (216.87.69.82) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jan 2008 20:03:01 +0000 Received: from [192.168.1.126] (boulder.absolute-performance.com [69.15.81.122] (may be forged)) by vw-den-ap03-p.den.api.local (8.13.1/8.13.1) with ESMTP id m0HK2ptq025290 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Thu, 17 Jan 2008 13:02:52 -0700 Mime-Version: 1.0 (Apple Message framework v753) In-Reply-To: <14930444.post@talk.nabble.com> References: <14930444.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: "Jack J. Woehr" Subject: Re: converting from DOS/Visual Studio to Ant for build Date: Thu, 17 Jan 2008 13:00:50 -0700 To: "Ant Users List" X-Mailer: Apple Mail (2.753) X-Virus-Checked: Checked by ClamAV on apache.org On Jan 17, 2008, at 12:34 PM, weiji wrote: > The first issue is to figure out how to pass this > list of solutions into Ant. Many ways to do this. One naive algorithm: 1. Pass in list of solutions as an ant Property * i.e., string with some internal delimiter repeated between solutions 2. Use AntContrib's 'foreach' logic task to iterate over solutions For 'foreach' see http://ant-contrib.sourceforge.net/ant-contrib/ manual/tasks/foreach.html The confusing thing about pure Ant is that it is more declarative than procedural. AntContrib optional Logic tasks make certain activities easier for those more oriented towards procedural coding. -- Jack J. Woehr Director of Development Absolute Performance, Inc. jwoehr@absolute-performance.com 303-443-7000 ext. 527 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org