ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gavin M. Bell" <...@6thcolumn.org>
Subject Re: Looping in ANT
Date Mon, 21 Apr 2003 11:39:14 GMT
When it comes to looping and such things, 
I usually use the <script> tag and then do some BeanShell scripting inside
and manipulate variables etc from there.

BeanShell and Ant = two great tastes that taste great together.

From: Antoine Levy-Lambert <levylambert@tiscali-dsl.de>
|In ANT itself there is no looping. There is a <foreach> task in ant-contrib
|http://sourceforge.net/projects/ant-contrib/
|What can be interesting for you in ant itself are the following tasks :
|    - ant ===> execute another build file
|    - antcall ===> execute a target in the same build file, passing
|parameters
|    - subant (new in ant 1.6alpha) =====> execute n build files found in a
|fileset or dirset such as
|    <fileset dir="." includes="*/build.xml"/>
|----- Original Message -----
|From: "Srinivasa Ragavan" <allusergroup@yahoo.com>
|To: <user@ant.apache.org>
|Sent: Sunday, April 20, 2003 7:04 PM
|Subject: Looping in ANT
|
|
|> Is there anyway I can use loop in ANT. Basically I want to create target
|statements in loop to avoid multiple statements . If so, please provide me
|an example...Thanks in advance,Ragavan.
|>
|>
|> ---------------------------------
|> Do you Yahoo!?
|> The New Yahoo! Search - Faster. Easier. Bingo.
|
|
|---------------------------------------------------------------------
|To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
|For additional commands, e-mail: user-help@ant.apache.org
|


----
Cue
----

"I'm trying real hard to be the shepherd."
				-Samuel Jackson (Pulp Fiction)

PGP KEY: http://www.6thcolumn.org/~cue/cuekey.asc


Mime
View raw message