commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amnon Khen <amnon.k...@cash-u.com>
Subject RE: core:forEach collections
Date Wed, 17 Dec 2003 07:47:23 GMT
Thanks, Paul,
You're a life saver!
That's exactly what I was looking for.
Thanks again,
	Amnon

-----Original Message-----
From: Paul Libbrecht [mailto:paul@activemath.org] 
Sent: Wednesday, December 17, 2003 2:01
To: Jakarta Commons Users List
Subject: Re: core:forEach collections

Ahmon,


Have you tried the ant:fileScanner tag ?
I see this at work in some maven.xml currently...
  <fileScanner var="xx"><fileset>....</fileset></fileScanner>
  <j:forEach items="${xx}" var="x">...

I fear paths don't fall into this... you would need to try and/or to 
look into the code of the tag and its related...

Hope that helps.

Paul



On 16-Dec-03, at 11:54 Uhr, Amnon Khen wrote:

> Hi,
> Thanks for replying, however, I think my question wasn't understood as 
> I
> meant it (or maybe it as I who failed to explain it clearly).
> I'm already familiar with <u:tokenize> and <j:forEach>. The collections
> through which I need to iterate are not delimited lists, but Ant data 
> structures, such as FileSets or Paths.
> Can it be done in a simple way?
> Thanks,
> 	Amnon


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

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


Mime
View raw message