ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack J. Woehr" <jwo...@absolute-performance.com>
Subject Re: converting from DOS/Visual Studio to Ant for build
Date Thu, 17 Jan 2008 20:00:50 GMT

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


Mime
View raw message