You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by ro...@elastica.com on 2004/08/27 17:25:35 UTC

Operating on a fileset?

Are there any prexisting ant task that let you iterate over a fileset?

Or will I have to write my own task to nest within a fileset.

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


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


Re: Operating on a fileset?

Posted by Olivier Croisier <Ol...@thales-is.com>.
Hi

Just extend "MatchingTask".

 From ant MatchingTask's javadoc :
This is an abstract task that should be used by all those tasks that require to include or exclude files based on pattern matching.

Hope it'll help

Olivier

-- 
CROISIER Olivier
Software Engineer
Thales IS - ANS
olivier.croisier@thales-is.com

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


Re: Operating on a fileset?

Posted by ro...@elastica.com.
If they expose the current element to ant and can be nested within a fileset
then I'd say this will get the job done.

Quoting Matt Benson <gu...@yahoo.com>:

> Are you needing the functionality provided by the
> <for> and <foreach> tasks at
> ant-contrib.sourceforge.net?
> 
> -Matt
> 
> 
> --- robert@elastica.com wrote:
> 
> > Are there any prexisting ant task that let you
> > iterate over a fileset?
> > 
> > Or will I have to write my own task to nest within a
> > fileset.
> > 
> >
> ----------------------------------------------------------------
> > This message was sent using IMP, the Internet
> > Messaging Program.
> > 
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > user-unsubscribe@ant.apache.org
> > For additional commands, e-mail:
> > user-help@ant.apache.org
> > 
> > 
> 
> 
> 
> 		
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


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


Re: Operating on a fileset?

Posted by Matt Benson <gu...@yahoo.com>.
Are you needing the functionality provided by the
<for> and <foreach> tasks at
ant-contrib.sourceforge.net?

-Matt


--- robert@elastica.com wrote:

> Are there any prexisting ant task that let you
> iterate over a fileset?
> 
> Or will I have to write my own task to nest within a
> fileset.
> 
>
----------------------------------------------------------------
> This message was sent using IMP, the Internet
> Messaging Program.
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 



		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

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