ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varadarajan, Srivathsan" <SVaradara...@tiaa-cref.org>
Subject RE: Re: Iterate over "filelist" with java task?
Date Fri, 12 May 2006 21:04:34 GMT
You can place the <macrodef> and resulting task in a <target>. For
example,

<target name="macro">
	<macrodef name="post.process">
		...
	</macrodef>
	<post.process .../>
</target>

-- Srivathsan

> -----Original Message-----
> From: cknell@onebox.com [mailto:cknell@onebox.com]
> Sent: Friday, May 12, 2006 4:43 PM
> To: user@ant.apache.org
> Subject: RE: Re: Iterate over "filelist" with java task?
> 
> Thanks, I am using 1.6.5. I'v checked the docs but there's something
> missing. What is/are the parent element/s of the <macrodef> and the
> resulting task?
> --
> Charles Knell
> cknell@onebox.com - email
> 
> 
> 
> -----Original Message-----
> From:     Grant Lewis <ukchucktown@yahoo.com>
> Sent:     Fri, 12 May 2006 15:35:37 -0400
> To:       Ant Users List <user@ant.apache.org>
> Subject:  Re: Iterate over "filelist" with java task?
> 
> If you are using 1.6.x, define a macro using macrodef and call the
macro
>  with each file. I used a similar approach to automate xdoclet tasks
for
> different groups of files.
> 
> Grant
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org



**************************************************************
This message, including any attachments, contains confidential information intended for a
specific individual and purpose, and is protected by law.  If you are not the intended recipient,
please contact sender immediately by reply e-mail and destroy all copies.  You are hereby
notified that any disclosure, copying, or distribution of this message, or the taking of any
action based on it, is strictly prohibited.
TIAA-CREF
**************************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message