ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karen Schaper" <karen.scha...@danzas.com>
Subject RE: Wildcard in Target
Date Fri, 13 Sep 2002 14:51:27 GMT
I don't see the task <foreach> in the ant1.4.1 manual?  Is this some
sort of extension or special task that someone has created?  If so how
do I get it?

Thanks

**************************************
Karen Schaper
Marketlink Java Developer
Danzas AEI
(845) 268-6300
**************************************

-----Original Message-----
From: Matt Benson [mailto:gudnabrsam@yahoo.com] 
Sent: Friday, September 13, 2002 10:42 AM
To: Ant Users List; karen.schaper@danzas.com
Subject: Re: Wildcard in Target

Dare I say it?  If the build process of each bean is
fairly generic I would think you could use good old
<foreach> in some way.  Not being familiar with beans
I can't say much more than that but it has served me
well for dynamic stuff.

-Matt


--- Karen Schaper <karen.schaper@danzas.com> wrote:
> Hi All,
> 
>  
> 
> Our build script is getting quite large to maintain.
>  Is there a way to
> simplify the following portion of a build script so
> that each new
> 
> "build.beanD, build.beanE.etc" does not have to be
> added to the depends
> of build.all.beans?
> 
>  
> 
> I tried using a wild card in the depends such as
> "build.bean*" but this
> does not work.
> 
>  
> 
> Any suggestions?
> 
>  
> 
>  
> 
> Sample Code:
> 
>  
> 
> <target name="build.beanA"/>
> 
> <target name="build.beanB"/>
> 
> <target name="build.beanC"/>
> 
> <target
> depends="build.beanA,build.beanB,build.beanC"
> name="build.all.beans"/>
> 
>  
> 
>  
> 
>  
> 
> **************************************
> 
> Karen Schaper
> 
> Marketlink Java Developer
> 
> Danzas AEI
> 
> (845) 268-6300
> 
> **************************************
> 
>  
> 
> > --
> To unsubscribe, e-mail:  
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:ant-user-help@jakarta.apache.org>


__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com

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


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


Mime
View raw message